Mmbackup -- list files backed up by incremental run
Hi, I’m trying to find out which files have been selected to be backed up by a run of (incremental) mmbackup. Logging as high as “-L 5” listed all the scanned files but gave no info about which ones have been sent to the backup server. Is there a way (anyway) to list the files selected by an incremental mmbackup run? Even using info from the SpecProtect server, if that’s feasible. Thanks, Razvan N. Popescu Research Computing Director Office: (212) 851-9298 razvan.popescu@columbia.edu<mailto:razvan.popescu@columbia.edu> Columbia Business School At the Very Center of Business
Hello, Its possible. From the server schedule do you get the log configuration: # dsmc query options For example: SCHEDLOGNAME: /var/log/tsm/dsmsched.log # mmbackup /FS -t incremental -N Server --backup-threads 12 -v -L 6 --tsm-servers server --scope filesystem After that, do you check your log file /var/log/tsm/dsmsched.log: 01/09/20 00:51:45 Retry # 2 Normal File--> 1,356,789 /File/agent.log [Sent] 01/09/20 00:51:45 Retry # 1 Normal File--> 5,120,062 /File/agent.log.1 [Sent] 01/09/20 00:51:46 Successful incremental backup of '/File' Regards, Rafael From: "Popescu, Razvan" <rp2927@gsb.columbia.edu> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 09/01/2020 16:27 Subject: [EXTERNAL] [gpfsug-discuss] Mmbackup -- list files backed up by incremental run Sent by: gpfsug-discuss-bounces@spectrumscale.org Hi, I’m trying to find out which files have been selected to be backed up by a run of (incremental) mmbackup. Logging as high as “-L 5” listed all the scanned files but gave no info about which ones have been sent to the backup server. Is there a way (anyway) to list the files selected by an incremental mmbackup run? Even using info from the SpecProtect server, if that’s feasible. Thanks, Razvan N. Popescu Research Computing Director Office: (212) 851-9298 razvan.popescu@columbia.edu Columbia Business School At the Very Center of Business _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listi...
Hi Rafael, This looks awesomely promising, but I can’t find the info your refer here. My SCHEDLOGNAME points to /root/dsmsched.log but there is no file by that name in /root. I have the error and instrumentation logs (dsmerror.log and dsminstr.log) per their options, but not the scheduler. Could it be because I don’t run mmbackup via the TSM scheduler ?! (I run it as a cronjob, inside a little wrapper that takes care of preparing/deleting a snapshot for it). Must I run the scheduler to log the activity of the client? Thanks, Razvan -- From: <gpfsug-discuss-bounces@spectrumscale.org> on behalf of Rafael Cezario <Rafael.Cezario@ibm.com> Reply-To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: Thursday, January 9, 2020 at 2:48 PM To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] Mmbackup -- list files backed up by incremental run Hello, Its possible. From the server schedule do you get the log configuration: # dsmc query options For example: SCHEDLOGNAME: /var/log/tsm/dsmsched.log # mmbackup /FS -t incremental -N Server --backup-threads 12 -v -L 6 --tsm-servers server --scope filesystem After that, do you check your log file /var/log/tsm/dsmsched.log: 01/09/20 00:51:45 Retry # 2 Normal File--> 1,356,789 /File/agent.log [Sent] 01/09/20 00:51:45 Retry # 1 Normal File--> 5,120,062 /File/agent.log.1 [Sent] 01/09/20 00:51:46 Successful incremental backup of '/File' Regards, Rafael From: "Popescu, Razvan" <rp2927@gsb.columbia.edu> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 09/01/2020 16:27 Subject: [EXTERNAL] [gpfsug-discuss] Mmbackup -- list files backed up by incremental run Sent by: gpfsug-discuss-bounces@spectrumscale.org ________________________________ Hi, I’m trying to find out which files have been selected to be backed up by a run of (incremental) mmbackup. Logging as high as “-L 5” listed all the scanned files but gave no info about which ones have been sent to the backup server. Is there a way (anyway) to list the files selected by an incremental mmbackup run? Even using info from the SpecProtect server, if that’s feasible. Thanks, Razvan N. Popescu Research Computing Director Office: (212) 851-9298 razvan.popescu@columbia.edu<mailto:razvan.popescu@columbia.edu> Columbia Business School At the Very Center of Business _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
On Thu, 2020-01-09 at 21:38 +0000, Popescu, Razvan wrote:
Hi Rafael,
This looks awesomely promising, but I can’t find the info your refer here. My SCHEDLOGNAME points to /root/dsmsched.log but there is no file by that name in /root. I have the error and instrumentation logs (dsmerror.log and dsminstr.log) per their options, but not the scheduler.
Could it be because I don’t run mmbackup via the TSM scheduler ?! (I run it as a cronjob, inside a little wrapper that takes care of preparing/deleting a snapshot for it). Must I run the scheduler to log the activity of the client?
That is not a "recommended" way to do a TSM backup. You should use a schedule where the action is command. See https://www.ibm.com/support/knowledgecenter/SSEQVQ_8.1.0/srv.reference/r_cmd... and then set the command to be your script. JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG
__. Yes, I've seen the recommendation in the docs, but failed to see an obvious advantage for my case. I have 4 separate backup jobs (on the same client), for as many filesets, for which I can set separate schedules. I guess (?) I could do the same with the TSM scheduler, but it was simpler this way in the beginning when I setup the system, and nothing pushed me to change it since... __ Razvan -- On 1/10/20, 5:17 AM, "gpfsug-discuss-bounces@spectrumscale.org on behalf of Jonathan Buzzard" <gpfsug-discuss-bounces@spectrumscale.org on behalf of jonathan.buzzard@strath.ac.uk> wrote: On Thu, 2020-01-09 at 21:38 +0000, Popescu, Razvan wrote: > Hi Rafael, > > This looks awesomely promising, but I can’t find the info your refer > here. > My SCHEDLOGNAME points to /root/dsmsched.log but there is no > file by that name in /root. I have the error and instrumentation > logs (dsmerror.log and dsminstr.log) per their options, but not the > scheduler. > > Could it be because I don’t run mmbackup via the TSM scheduler ?! > (I run it as a cronjob, inside a little wrapper that takes care of > preparing/deleting a snapshot for it). Must I run the scheduler to > log the activity of the client? > That is not a "recommended" way to do a TSM backup. You should use a schedule where the action is command. See https://www.ibm.com/support/knowledgecenter/SSEQVQ_8.1.0/srv.reference/r_cmd... and then set the command to be your script. JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Under FS mount dir or $MMBACKUP_RECORD_ROOT dir if you set, mmbackup creates the following file that contains all backup candidate files. .mmbackupCfg/updatedFiles/.list* As a default, mmbackup deletes the file upon successful backup completion but keeps all temporary files until next mmbackup invocation if DEBUGmmb ackup=2 is set. Regards, The Spectrum Scale (GPFS) team ------------------------------------------------------------------------------------------------------------------ If you feel that your question can benefit other users of Spectrum Scale (GPFS), then please post it to the public IBM developerWroks Forum at https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0.... If your query concerns a potential software error in Spectrum Scale (GPFS) and you have an IBM software maintenance contract please contact 1-800-237-5511 in the United States or your local IBM Service Center in other countries. The forum is informally monitored as time permits and should not be used for priority messages to the Spectrum Scale (GPFS) team. From: "Popescu, Razvan" <rp2927@gsb.columbia.edu> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 01/09/2020 02:29 PM Subject: [EXTERNAL] [gpfsug-discuss] Mmbackup -- list files backed up by incremental run Sent by: gpfsug-discuss-bounces@spectrumscale.org Hi, I’m trying to find out which files have been selected to be backed up by a run of (incremental) mmbackup. Logging as high as “-L 5” listed all the scanned files but gave no info about which ones have been sent to the backup server. Is there a way (anyway) to list the files selected by an incremental mmbackup run? Even using info from the SpecProtect server, if that’s feasible. Thanks, Razvan N. Popescu Research Computing Director Office: (212) 851-9298 razvan.popescu@columbia.edu Columbia Business School At the Very Center of Business _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listi...
Thanks, I’ll set tonight’s run with that debug flag. Best, Razvan -- From: <gpfsug-discuss-bounces@spectrumscale.org> on behalf of IBM Spectrum Scale <scale@us.ibm.com> Reply-To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: Thursday, January 9, 2020 at 3:24 PM To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] Mmbackup -- list files backed up by incremental run Under FS mount dir or $MMBACKUP_RECORD_ROOT dir if you set, mmbackup creates the following file that contains all backup candidate files. .mmbackupCfg/updatedFiles/.list* As a default, mmbackup deletes the file upon successful backup completion but keeps all temporary files until next mmbackup invocation if DEBUGmmbackup=2 is set. Regards, The Spectrum Scale (GPFS) team ------------------------------------------------------------------------------------------------------------------ If you feel that your question can benefit other users of Spectrum Scale (GPFS), then please post it to the public IBM developerWroks Forum at https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0.... If your query concerns a potential software error in Spectrum Scale (GPFS) and you have an IBM software maintenance contract please contact 1-800-237-5511 in the United States or your local IBM Service Center in other countries. The forum is informally monitored as time permits and should not be used for priority messages to the Spectrum Scale (GPFS) team. [Inactive hide details for "Popescu, Razvan" ---01/09/2020 02:29:25 PM---Hi, I’m trying to find out which files have been selec]"Popescu, Razvan" ---01/09/2020 02:29:25 PM---Hi, I’m trying to find out which files have been selected to be backed up by a run of (incremental) From: "Popescu, Razvan" <rp2927@gsb.columbia.edu> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 01/09/2020 02:29 PM Subject: [EXTERNAL] [gpfsug-discuss] Mmbackup -- list files backed up by incremental run Sent by: gpfsug-discuss-bounces@spectrumscale.org ________________________________ Hi, I’m trying to find out which files have been selected to be backed up by a run of (incremental) mmbackup. Logging as high as “-L 5” listed all the scanned files but gave no info about which ones have been sent to the backup server. Is there a way (anyway) to list the files selected by an incremental mmbackup run? Even using info from the SpecProtect server, if that’s feasible. Thanks, Razvan N. Popescu Research Computing Director Office: (212) 851-9298 razvan.popescu@columbia.edu<mailto:razvan.popescu@columbia.edu> Columbia Business School At the Very Center of Business _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
On 09.01.20 22:19, Popescu, Razvan wrote:
Thanks,
I’ll set tonight’s run with that debug flag.
I have not tested this myself but if you enable auditlogging this should create according logs. Uli -- Science + Computing AG Vorstandsvorsitzender/Chairman of the board of management: Dr. Martin Matzke Vorstand/Board of Management: Matthias Schempp, Sabine Hohenstein Vorsitzender des Aufsichtsrats/ Chairman of the Supervisory Board: Philippe Miltin Aufsichtsrat/Supervisory Board: Martin Wibbe, Ursula Morgenstern Sitz/Registered Office: Tuebingen Registergericht/Registration Court: Stuttgart Registernummer/Commercial Register No.: HRB 382196
Thanks Uli, I ran the backup with the flag mentioned by {the GPFS team} (thanks again, guys!!) and found the internal list files -- all super fine. I plan to keep that flag in place for a while, to have that info when I might need it (the large files that kept being backed up, and I wanted to trace, just disappeared... __ ) Razvan -- On 1/13/20, 4:11 AM, "Ulrich Sibiller" <u.sibiller@science-computing.de> wrote: On 09.01.20 22:19, Popescu, Razvan wrote: > Thanks, > > I’ll set tonight’s run with that debug flag. I have not tested this myself but if you enable auditlogging this should create according logs. Uli -- Science + Computing AG Vorstandsvorsitzender/Chairman of the board of management: Dr. Martin Matzke Vorstand/Board of Management: Matthias Schempp, Sabine Hohenstein Vorsitzender des Aufsichtsrats/ Chairman of the Supervisory Board: Philippe Miltin Aufsichtsrat/Supervisory Board: Martin Wibbe, Ursula Morgenstern Sitz/Registered Office: Tuebingen Registergericht/Registration Court: Stuttgart Registernummer/Commercial Register No.: HRB 382196
participants (5)
-
IBM Spectrum Scale -
Jonathan Buzzard -
Popescu, Razvan -
Rafael Cezario -
Ulrich Sibiller
