This is to set environment for mmbackup.
If mmbackup is invoked within a script, you can set "export DEBUGmmbackup=2" right above mmbackup command.
e.g)  in your script
            ....
export DEBUGmmbackup=2
              mmbackup ....

Or, you can set it in the same command line like
DEBUGmmbackup=2 mmbackup ....

Regards, The Spectrum Scale (GPFS) team

------------------------------------------------------------------------------------------------------------------
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.

Inactive hide details for "Paul Ward" ---01/19/2022 06:04:03 AM---Thank you. We run a script on all our nodes that checks to se"Paul Ward" ---01/19/2022 06:04:03 AM---Thank you. We run a script on all our nodes that checks to see if they are the cluster manager.

From: "Paul Ward" <p.ward@nhm.ac.uk>
To: "gpfsug main discussion list" <gpfsug-discuss@spectrumscale.org>
Cc: "gpfsug-discuss-bounces@spectrumscale.org" <gpfsug-discuss-bounces@spectrumscale.org>
Date: 01/19/2022 06:04 AM
Subject: [EXTERNAL] Re: [gpfsug-discuss] mmbackup file selections
Sent by: gpfsug-discuss-bounces@spectrumscale.org





Thank you. We run a script on all our nodes that checks to see if they are the cluster manager. If they are, then they take responsibility to start the backup script. The script then randomly selects one of the available backup nodes and uses ZjQcmQRYFpfptBannerStart 
This Message Is From an External Sender
This message came from outside your organization.
ZjQcmQRYFpfptBannerEnd
Thank you.
 
We run a script on all our nodes that checks to see if they are the cluster manager.
If they are, then they take responsibility to start the backup script.
The script then randomly selects one of the available backup nodes and uses dsmsh mmbackup on it.

Where does this command belong?

I have seen it listed as a export command, again where should that be run – on all backup nodes, or all nodes?
 
 
Kindest regards,
Paul
 
Paul Ward
TS Infrastructure Architect
Natural History Museum
T: 02079426450
E: p.ward@nhm.ac.uk
A picture containing drawing

Description automatically generated
 
From: gpfsug-discuss-bounces@spectrumscale.org <gpfsug-discuss-bounces@spectrumscale.org> On Behalf Of IBM Spectrum Scale
Sent:
 18 January 2022 22:54
To:
 gpfsug main discussion list <gpfsug-discuss@spectrumscale.org>
Cc:
 gpfsug-discuss-bounces@spectrumscale.org
Subject:
 Re: [gpfsug-discuss] mmbackup file selections
 

Hi Paul,

If you run mmbackup with "DEBUGmmbackup=2", it keeps all working files even after successful backup. They are available at
MMBACKUP_RECORD_ROOT (default is FSroot or FilesetRoot directory).
In .mmbackupCfg directory, there are 3 directories:

updatedFiles  : contains a file that lists all candidates for backup
statechFiles  : cantains a file that lists all candidates for meta info update
expiredFiles  : cantains a file that lists all candidates for expiration



Regards, The Spectrum Scale (GPFS) team

------------------------------------------------------------------------------------------------------------------
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.


Inactive hide details for "Paul Ward" ---01/18/2022 11:56:40 AM---Hi, I am trying to work out what files have been sent to back"Paul Ward" ---01/18/2022 11:56:40 AM---Hi, I am trying to work out what files have been sent to backup using mmbackup.

From:
"Paul Ward" <p.ward@nhm.ac.uk>
To:
"gpfsug-discuss@spectrumscale.org" <gpfsug-discuss@spectrumscale.org>
Date:
01/18/2022 11:56 AM
Subject:
[EXTERNAL] [gpfsug-discuss] mmbackup file selections
Sent by:
gpfsug-discuss-bounces@spectrumscale.org






Hi, I am trying to work out what files have been sent to backup using mmbackup. I have increased the -L value from 3 up to 6 but only seem to see the files that are in scope, not the ones that are selected. I can see the three file lists generated ZjQcmQRYFpfptBannerStart
 
This Message Is From an External Sender

This message came from outside your organization.

ZjQcmQRYFpfptBannerEnd

Hi,

I am trying to work out what files have been sent to backup using mmbackup.
I have increased the -L value from 3 up to 6 but only seem to see the files that are in scope, not the ones that are selected.

I can see the three file lists generated during a backup, but can’t seem to find a list of what files were backed up.

It should be the diff of the shadow and shadow-old, but the wc -l of the diff doesn’t match the number of files in the backup summary.
Wrong assumption?

Where should I be looking – surely it shouldn’t be this hard to see what files are selected?


Kindest regards,
Paul

Paul Ward
TS Infrastructure Architect
Natural History Museum
T: 02079426450
E:
p.ward@nhm.ac.uk
A picture containing drawing

Description automatically generated
_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org

http://gpfsug.org/mailman/listinfo/gpfsug-discuss 


_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss