[gpfsug-discuss] mmbackup against snapshot backup failing

scale scale at us.ibm.com
Thu Jan 25 10:38:35 GMT 2024


Please contact Scale support team and open a case.

From: gpfsug-discuss <gpfsug-discuss-bounces at gpfsug.org> on behalf of Ahmed Nasr <ahnasr at taltech.ee>
Date: Thursday, January 25, 2024 at 3:47 AM
To: gpfsug-discuss at gpfsug.org <gpfsug-discuss at gpfsug.org>
Subject: [EXTERNAL] [gpfsug-discuss] mmbackup against snapshot backup failing
Good Day, this is my first time posting. it is great to talk to everyone here. so i have an issue where mmbackup is not working properly and i don't know why. Problem: mmbackup doesn't find any files that are eligible for backup. i used to
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
<https://us-phishalarm-ewt.proofpoint.com/EWT/v1/PjiDSg!1M-v7R6zRvmamiX0dsElzl3VwvfAJpsnMEMXVwG799OS61fmkuhFTN6CEp8grxRKEf7TcdKz0I32uCqZRGqzEuC_Tp4NRmoi506S19czssr3eqxzZrgPThONK6l3yRQjyD8CsVHC3GtoLhP9YukQ$>
Report Suspicious <https://us-phishalarm-ewt.proofpoint.com/EWT/v1/PjiDSg!1M-v7R6zRvmamiX0dsElzl3VwvfAJpsnMEMXVwG799OS61fmkuhFTN6CEp8grxRKEf7TcdKz0I32uCqZRGqzEuC_Tp4NRmoi506S19czssr3eqxzZrgPThONK6l3yRQjyD8CsVHC3GtoLhP9YukQ$>


ZjQcmQRYFpfptBannerEnd

Good Day,

this is my first time posting. it is great to talk to everyone here.
so i have an issue where mmbackup is not working properly and i don't know why.
Problem: mmbackup doesn't find any files that are eligible for backup. i used to work with dsmc and it is working fine but i want to employ the snapshot option within mmbackup.
here are my steps:

  1.  backup to tsm with mmbackup using the full backup option . that took around one month
  2.  tried to do an incremental backup with mmbackup against a snapshot (Failed)
  3.  tried to rebuild shadow database then backup but that failed as well
  4.  tried dsmc incremental which found eligible files and worked

i want to use snapshots which seems to be problematic

please let me know if you have any recommendations or ideas

command used:

mmbackup /gpfs/mariana/home/ -S home_snapshot_2024-01-25-09-23 -t incremental -L 2 -d --scope inodespace -v


logs:

DEBUGtsbackup33:oldShadow found, validShadows: 1
DEBUGtsbackup33:shadow DB /gpfs/mariana/home/.mmbackupShadow.1.gv-backup.fileset format version 1400
..
..
..
DEBUGtsbackup33: policy0:  Rule#            Hit_Cnt          KB_Hit          Chosen       KB_Chosen          KB_Ill     Rule
DEBUGtsbackup33: policy0:      0           86091506           16736               0               0               0     RULE 'Exclude
Rule' LIST 'mmbackup.1.gv-backup' EXCLUDE DIRECTORIES_PLUS WHERE(.)
DEBUGtsbackup33: policy0:      1                  0               0               0               0               0     RULE 'BackupR
ule' LIST 'mmbackup.1.gv-backup' DIRECTORIES_PLUS SHOW(.) WHERE(.)
DEBUGtsbackup33: policy0:
DEBUGtsbackup33: policy0: [I] Filesystem objects with no applicable rules: 0.
DEBUGtsbackup33: policy0:
DEBUGtsbackup33: policy0: Predicted Data Pool Utilization in KB and %:
DEBUGtsbackup33: policy0: Pool_Name                 KB_Occupied        KB_Total  Percent_Occupied
DEBUGtsbackup33: policy0: system                   623453700096   1595564097536     39.074187058%
Thu Jan 25 10:01:09 2024 mmbackup:New list file /gpfs/mariana/home/.mmbackupCfg/prepFiles/list.mmbackup.1.gv-backup is missing or emp
ty.
Do the TSM include/exclude rules exclude all contents of /gpfs/mariana/home for TSM server gv-backup ?
Thu Jan 25 10:01:09 2024 mmbackup:No changed or deleted files for mariana.home since mmbackup was last invoked.
DEBUGtsbackup33: Changed:0 Backed:0 Excl:0 DSMC:0 anyFail:1 Audit:0 Severe:0 FailuresFound:0
Thu Jan 25 10:01:09 2024 mmbackup:Incremental backup completely failed.
       TSM had 0 severe errors and returned 0. See the TSM log file for more information.
       0 files had errors,
TSM exit status:  exit 12

----------------------------------------------------------
mmbackup: Backup of /gpfs/mariana/home completed with errors at Thu Jan 25 10:01:09 EET 2024.
----------------------------------------------------------
mmbackup: Command failed. Examine previous error messages to determine cause.
-----------------------------------------------------------------------------------------------
i will also add the policy file

RULE 'ExcludeRule' LIST 'mmbackup.1.gv-backup' EXCLUDE DIRECTORIES_PLUS
  WHERE
    ((PATH_NAME LIKE '%/.TsmCacheDir' AND MODE LIKE 'd%') OR (PATH_NAME LIKE '%/.TsmCacheDir/%'))
    OR ((PATH_NAME LIKE '%/.pip%%%' AND MODE LIKE 'd%') OR (PATH_NAME LIKE '%/.pip%%%/%'))
    OR ((PATH_NAME LIKE '%/site-packages%%%' AND MODE LIKE 'd%') OR (PATH_NAME LIKE '%/site-packages%%%/%'))
    OR ((PATH_NAME LIKE '%/pip%%%' AND MODE LIKE 'd%') OR (PATH_NAME LIKE '%/pip%%%/%'))
    OR ((PATH_NAME LIKE '%/.local%%%' AND MODE LIKE 'd%') OR (PATH_NAME LIKE '%/.local%%%/%'))
    OR ((PATH_NAME LIKE '%/.cache%%%' AND MODE LIKE 'd%') OR (PATH_NAME LIKE '%/.cache%%%/%'))
    OR ((PATH_NAME LIKE '%/cache%%%' AND MODE LIKE 'd%') OR (PATH_NAME LIKE '%/cache%%%/%'))
    OR ((PATH_NAME LIKE '%/.tmp%%%' AND MODE LIKE 'd%') OR (PATH_NAME LIKE '%/.tmp%%%/%'))
    OR ((PATH_NAME LIKE '%/tmp%%%' AND MODE LIKE 'd%') OR (PATH_NAME LIKE '%/tmp%%%/%'))
    OR ((PATH_NAME LIKE '%/.miniconda%%%' AND MODE LIKE 'd%') OR (PATH_NAME LIKE '%/.miniconda%%%/%'))
    OR ((PATH_NAME LIKE '%/miniconda%%%' AND MODE LIKE 'd%') OR (PATH_NAME LIKE '%/miniconda%%%/%'))
    OR ((PATH_NAME LIKE '%/.snapshots' AND MODE LIKE 'd%') OR (PATH_NAME LIKE '%/.snapshots/%'))
    OR ((PATH_NAME LIKE '%/.conda%%%' AND MODE LIKE 'd%') OR (PATH_NAME LIKE '%/.conda%%%/%'))
    OR ((PATH_NAME LIKE '%/conda%%%' AND MODE LIKE 'd%') OR (PATH_NAME LIKE '%/conda%%%/%'))
    OR ((PATH_NAME LIKE '/gpfs/mariana/home/.snapshots/home_snapshot_2024-01-25-09-23/nagyim/%%%' AND MODE LIKE 'd%') OR (PATH_NAME
LIKE '/gpfs/mariana/home/.snapshots/home_snapshot_2024-01-25-09-23/nagyim/%%%/%'))
    OR (PATH_NAME LIKE '/%/.mmbackup%') OR
         (PATH_NAME LIKE '/%/.mmLockDir' AND MODE LIKE 'd%') OR
         (PATH_NAME LIKE '/%/.mmLockDir/%') OR
         (MODE LIKE 's%')
    OR (PATH_NAME LIKE '/gpfs/mariana/.mmSharedTmpDir' AND MODE LIKE 'd%') OR
       (PATH_NAME LIKE '/gpfs/mariana/.mmSharedTmpDir/%')
    OR (PATH_NAME LIKE '/%/.SpaceMan' AND MODE LIKE 'd%') OR (PATH_NAME LIKE '/%/.SpaceMan/%')

RULE 'BackupRule' LIST 'mmbackup.1.gv-backup' DIRECTORIES_PLUS
    SHOW(VARCHAR(MODIFICATION_TIME) || ' ' || VARCHAR(CHANGE_TIME) || ' ' ||
         VARCHAR(FILE_SIZE)         || ' ' || VARCHAR(FILESET_NAME) ||
         ' ' || 'resdnt' )
    WHERE
     (MISC_ATTRIBUTES LIKE '%u%')
    AND (NOT (PATH_NAME LIKE '/%.swp' AND NOT MODE LIKE 'd%'  ))
    AND (NOT (PATH_NAME LIKE '/%.tmp' AND NOT MODE LIKE 'd%'  ))
    OR (((PATH_NAME LIKE '/gpfs/mariana/home/.snapshots/home_snapshot_2024-01-25-09-23/%') AND (MISC_ATTRIBUTES LIKE '%u%')   )  AND
      ((NOT (PATH_NAME LIKE '/%.swp' AND NOT MODE LIKE 'd%'  ))) AND
      ((NOT (PATH_NAME LIKE '/%.tmp' AND NOT MODE LIKE 'd%'  ))) )





Kind Regards,

Ahmed Nasr

Administrator of cloud service
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20240125/2ff1f603/attachment-0001.htm>


More information about the gpfsug-discuss mailing list