[gpfsug-discuss] mmbackup against snapshot backup failing

Grunenberg, Renar Renar.Grunenberg at huk-coburg.de
Wed Jan 31 09:29:10 GMT 2024


Hallo Ahmend,

at first to understand mmbackup: you should know that mmbackup use a fs or independend fileset snapshots (--scope) to compare the content of shadow db with the generated snapshot. This compare generated filelist that are then used to make a selective backup over dsmc.
To generate these mentioned snapshot you must paramized mmbackup with  -S. If you had trouble you should run at first a rebuild oft he shadowdb with --rebuild.
I think a backup over a snapshot itself doesnt work.


Renar Grunenberg
Abteilung Informatik - Betrieb

HUK-COBURG
Bahnhofsplatz
96444 Coburg
Telefon:        09561 96-44110
Telefax:        09561 96-44104
E-Mail: Renar.Grunenberg at huk-coburg.de
Internet:       www.huk.de
________________________________
HUK-COBURG Haftpflicht-Unterstützungs-Kasse kraftfahrender Beamter Deutschlands a. G. in Coburg
Reg.-Gericht Coburg HRB 100; St.-Nr. 9212/101/00021
Sitz der Gesellschaft: Bahnhofsplatz, 96444 Coburg
Vorsitzender des Aufsichtsrats: Prof. Dr. Heinrich R. Schradin.
Vorstand: Klaus-Jürgen Heitmann (Sprecher), Stefan Gronbach, Dr. Hans Olav Herøy, Dr. Helen Reck, Dr. Jörg Rheinländer, Thomas Sehn, Daniel Thomas.
________________________________
Diese Nachricht enthält vertrauliche und/oder rechtlich geschützte Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese Nachricht irrtümlich erhalten haben,
informieren Sie bitte sofort den Absender und vernichten Sie diese Nachricht.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Nachricht ist nicht gestattet.

This information may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this information in error) please notify the
sender immediately and destroy this information.
Any unauthorized copying, disclosure or distribution of the material in this information is strictly forbidden.
________________________________
Von: gpfsug-discuss <gpfsug-discuss-bounces at gpfsug.org> Im Auftrag von Ahmed Nasr
Gesendet: Donnerstag, 25. Januar 2024 09:45
An: gpfsug-discuss at gpfsug.org
Betreff: [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 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/20240131/a3643e76/attachment-0001.htm>


More information about the gpfsug-discuss mailing list