<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">BODY {
        FONT-FAMILY: arial
}
</style>
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:12.0pt;
        font-family:"Arial",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:274097062;
        mso-list-template-ids:1800972152;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="black" vlink="#646464" style="word-wrap:break-word">
<p></p>
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hallo Ahmend,<br>
<br>
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.<br>
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.
<br>
I think a backup over a snapshot itself doesnt work. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div></div>
</div>
<p></p>
<p><font style="font-family:Arial;">Renar</font> <font style="font-family:Arial;">Grunenberg</font><br>
<font style="font-family:Arial;">Abteilung Informatik - Betrieb</font><br>
<br>
<font style="font-family:Arial;">HUK-COBURG</font><br>
<font style="font-family:Arial;">Bahnhofsplatz</font><br>
<font style="font-family:Arial;">96444</font> <font style="font-family:Arial;">Coburg</font><br>
<table class="943997e9-3acc-4c21-8a97-6167fea72325Table" style="font-family:Arial;">
<tbody>
<tr>
<td><font style="font-family:Arial;"><font style="font-family:Arial;"><font style="font-family:Arial;">Telefon:</font></font></font></td>
<td><font style="font-family:Arial;"><font style="font-family:Arial;"><font style="font-family:Arial;">09561 96-44110</font></font></font></td>
</tr>
<tr>
<td><font style="font-family:Arial;"><font style="font-family:Arial;"><font style="font-family:Arial;">Telefax:</font></font></font></td>
<td><font style="font-family:Arial;"><font style="font-family:Arial;"><font style="font-family:Arial;">09561 96-44104</font></font></font></td>
</tr>
<tr>
<td><font style="font-family:Arial;"><font style="font-family:Arial;"><font style="font-family:Arial;">E-Mail:</font></font></font></td>
<td><font style="font-family:Arial;"><font style="font-family:Arial;">Renar.Grunenberg@huk-coburg.de</font></font></td>
</tr>
<tr>
<td><font style="font-family:Arial;"><font style="font-family:Arial;"><font style="font-family:Arial;">Internet:</font></font></font></td>
<td><font style="font-family:Arial;"><font style="font-family:Arial;"><font style="font-family:Arial;">www.huk.de</font></font></font></td>
</tr>
</tbody>
</table>
</p>
<hr id="HR1">
<font face="Arial"><font size="1">HUK-COBURG Haftpflicht-Unterstützungs-Kasse kraftfahrender Beamter Deutschlands a. G. in Coburg<br>
Reg.-Gericht Coburg HRB 100; St.-Nr. 9212/101/00021<br>
Sitz der Gesellschaft: Bahnhofsplatz, 96444 Coburg<br>
Vorsitzender des Aufsichtsrats: Prof. Dr. Heinrich R. Schradin.<br>
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.<br>
</font>
<hr id="HR1">
</font><font size="1" face="Arial">Diese Nachricht enthält vertrauliche und/oder rechtlich geschützte Informationen.<br>
Wenn Sie nicht der richtige Adressat sind oder diese Nachricht irrtümlich erhalten haben,<br>
informieren Sie bitte sofort den Absender und vernichten Sie diese Nachricht.<br>
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Nachricht ist nicht gestattet.<br>
<br>
This information may contain confidential and/or privileged information.<br>
If you are not the intended recipient (or have received this information in error) please notify the<br>
sender immediately and destroy this information.<br>
Any unauthorized copying, disclosure or distribution of the material in this information is strictly forbidden.<br>
</font>
<hr id="HR1">
<p></p>
<p></p>
<p></p>
<div class="WordSection1">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Von:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> gpfsug-discuss <gpfsug-discuss-bounces@gpfsug.org>
<b>Im Auftrag von </b>Ahmed Nasr<br>
<b>Gesendet:</b> Donnerstag, 25. Januar 2024 09:45<br>
<b>An:</b> gpfsug-discuss@gpfsug.org<br>
<b>Betreff:</b> [gpfsug-discuss] mmbackup against snapshot backup failing<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:#174E86"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">Good Day,</span><span style="font-family:"Calibri",sans-serif;color:#174E86"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:#174E86"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">this is my first time posting. it is great to talk to everyone here.</span><span style="font-family:"Calibri",sans-serif;color:#174E86"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">so i have an issue where mmbackup is not working properly and i don't know why.</span><span style="font-family:"Calibri",sans-serif;color:#174E86"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">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.</span><span style="font-family:"Calibri",sans-serif;color:#174E86"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">here are my steps:</span><span style="font-family:"Calibri",sans-serif;color:#174E86"><o:p></o:p></span></p>
</div>
<ol start="1" type="1">
<li class="MsoNormal" style="color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1">
<span style="font-family:"Calibri",sans-serif">backup to tsm with mmbackup using the full backup option . that took around one month<o:p></o:p></span></li><li class="MsoNormal" style="color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1">
<span style="font-family:"Calibri",sans-serif">tried to do an incremental backup with mmbackup against a snapshot (Failed)<o:p></o:p></span></li><li class="MsoNormal" style="color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1">
<span style="font-family:"Calibri",sans-serif">tried to rebuild shadow database then backup but that failed as well<o:p></o:p></span></li><li class="MsoNormal" style="color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1">
<span style="font-family:"Calibri",sans-serif">tried dsmc incremental which found eligible files and worked<o:p></o:p></span></li></ol>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">i want to use snapshots which seems to be problematic </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">please let me know if you have any recommendations or ideas</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-family:"Calibri",sans-serif;color:black">command used:</span></b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New";color:black;background:white">mmbackup /gpfs/mariana/home/ -S home_snapshot_2024-01-25-09-23 -t incremental -L 2 -d --scope inodespace -v</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:#174E86"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-family:"Calibri",sans-serif;color:black">logs:</span></b><span style="font-family:"Calibri",sans-serif;color:#174E86"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:#174E86"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New";color:black;background:white">DEBUGtsbackup33:oldShadow found, validShadows: 1</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New";color:black">DEBUGtsbackup33:shadow DB /gpfs/mariana/home/.mmbackupShadow.1.gv-backup.fileset format version 1400</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">..</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">..</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">..</span><span style="font-family:"Calibri",sans-serif;color:#174E86"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New";color:black;background:white">DEBUGtsbackup33: policy0:  Rule#            Hit_Cnt          KB_Hit          Chosen       KB_Chosen          KB_Ill     Rule</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New";color:black">DEBUGtsbackup33: policy0:      0           86091506           16736               0               0               0     RULE 'Exclude<br>
Rule' LIST 'mmbackup.1.gv-backup' EXCLUDE DIRECTORIES_PLUS WHERE(.)<br>
DEBUGtsbackup33: policy0:      1                  0               0               0               0               0     RULE 'BackupR<br>
ule' LIST 'mmbackup.1.gv-backup' DIRECTORIES_PLUS SHOW(.) WHERE(.)<br>
DEBUGtsbackup33: policy0:  <br>
DEBUGtsbackup33: policy0: [I] Filesystem objects with no applicable rules: 0.<br>
DEBUGtsbackup33: policy0:  <br>
DEBUGtsbackup33: policy0: Predicted Data Pool Utilization in KB and %:<br>
DEBUGtsbackup33: policy0: Pool_Name                 KB_Occupied        KB_Total  Percent_Occupied<br>
DEBUGtsbackup33: policy0: system                   623453700096   1595564097536     39.074187058%<br>
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<br>
ty.  <br>
Do the TSM include/exclude rules exclude all contents of /gpfs/mariana/home for TSM server gv-backup ?<br>
Thu Jan 25 10:01:09 2024 mmbackup:No changed or deleted files for mariana.home since mmbackup was last invoked.<br>
DEBUGtsbackup33: Changed:0 Backed:0 Excl:0 DSMC:0 anyFail:1 Audit:0 Severe:0 FailuresFound:0<br>
Thu Jan 25 10:01:09 2024 mmbackup:Incremental backup completely failed.  <br>
       TSM had 0 severe errors and returned 0. See the TSM log file for more information.<br>
       0 files had errors,  <br>
TSM exit status:  exit 12<br>
<br>
----------------------------------------------------------<br>
mmbackup: Backup of /gpfs/mariana/home completed with errors at Thu Jan 25 10:01:09 EET 2024.<br>
----------------------------------------------------------<br>
mmbackup: Command failed. Examine previous error messages to determine cause.<br>
-----------------------------------------------------------------------------------------------</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-family:"Calibri",sans-serif;color:black">i will also add the policy file</span></b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New";color:black;background:white">RULE 'ExcludeRule' LIST 'mmbackup.1.gv-backup' EXCLUDE DIRECTORIES_PLUS  </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Courier New";color:black">  WHERE  <br>
    ((PATH_NAME LIKE '%/.TsmCacheDir' AND MODE LIKE 'd%') OR (PATH_NAME LIKE '%/.TsmCacheDir/%'))  <br>
    OR ((PATH_NAME LIKE '%/.pip%%%' AND MODE LIKE 'd%') OR (PATH_NAME LIKE '%/.pip%%%/%'))  <br>
    OR ((PATH_NAME LIKE '%/site-packages%%%' AND MODE LIKE 'd%') OR (PATH_NAME LIKE '%/site-packages%%%/%'))  <br>
    OR ((PATH_NAME LIKE '%/pip%%%' AND MODE LIKE 'd%') OR (PATH_NAME LIKE '%/pip%%%/%'))  <br>
    OR ((PATH_NAME LIKE '%/.local%%%' AND MODE LIKE 'd%') OR (PATH_NAME LIKE '%/.local%%%/%'))  <br>
    OR ((PATH_NAME LIKE '%/.cache%%%' AND MODE LIKE 'd%') OR (PATH_NAME LIKE '%/.cache%%%/%'))  <br>
    OR ((PATH_NAME LIKE '%/cache%%%' AND MODE LIKE 'd%') OR (PATH_NAME LIKE '%/cache%%%/%'))  <br>
    OR ((PATH_NAME LIKE '%/.tmp%%%' AND MODE LIKE 'd%') OR (PATH_NAME LIKE '%/.tmp%%%/%'))  <br>
    OR ((PATH_NAME LIKE '%/tmp%%%' AND MODE LIKE 'd%') OR (PATH_NAME LIKE '%/tmp%%%/%'))  <br>
    OR ((PATH_NAME LIKE '%/.miniconda%%%' AND MODE LIKE 'd%') OR (PATH_NAME LIKE '%/.miniconda%%%/%'))  <br>
    OR ((PATH_NAME LIKE '%/miniconda%%%' AND MODE LIKE 'd%') OR (PATH_NAME LIKE '%/miniconda%%%/%'))  <br>
    OR ((PATH_NAME LIKE '%/.snapshots' AND MODE LIKE 'd%') OR (PATH_NAME LIKE '%/.snapshots/%'))  <br>
    OR ((PATH_NAME LIKE '%/.conda%%%' AND MODE LIKE 'd%') OR (PATH_NAME LIKE '%/.conda%%%/%'))  <br>
    OR ((PATH_NAME LIKE '%/conda%%%' AND MODE LIKE 'd%') OR (PATH_NAME LIKE '%/conda%%%/%'))  <br>
    OR ((PATH_NAME LIKE '/gpfs/mariana/home/.snapshots/home_snapshot_2024-01-25-09-23/nagyim/%%%' AND MODE LIKE 'd%') OR (PATH_NAME<br>
LIKE '/gpfs/mariana/home/.snapshots/home_snapshot_2024-01-25-09-23/nagyim/%%%/%'))  <br>
    OR (PATH_NAME LIKE '/%/.mmbackup%') OR<br>
         (PATH_NAME LIKE '/%/.mmLockDir' AND MODE LIKE 'd%') OR<br>
         (PATH_NAME LIKE '/%/.mmLockDir/%') OR<br>
         (MODE LIKE 's%')  <br>
    OR (PATH_NAME LIKE '/gpfs/mariana/.mmSharedTmpDir' AND MODE LIKE 'd%') OR<br>
       (PATH_NAME LIKE '/gpfs/mariana/.mmSharedTmpDir/%')<br>
    OR (PATH_NAME LIKE '/%/.SpaceMan' AND MODE LIKE 'd%') OR (PATH_NAME LIKE '/%/.SpaceMan/%')  <br>
     <br>
RULE 'BackupRule' LIST 'mmbackup.1.gv-backup' DIRECTORIES_PLUS  <br>
    SHOW(VARCHAR(MODIFICATION_TIME) || ' ' || VARCHAR(CHANGE_TIME) || ' ' ||<br>
         VARCHAR(FILE_SIZE)         || ' ' || VARCHAR(FILESET_NAME) ||<br>
         ' ' || 'resdnt' )<br>
    WHERE   <br>
     (MISC_ATTRIBUTES LIKE '%u%')<br>
    AND (NOT (PATH_NAME LIKE '/%.swp' AND NOT MODE LIKE 'd%'  ))<br>
    AND (NOT (PATH_NAME LIKE '/%.tmp' AND NOT MODE LIKE 'd%'  ))<br>
    OR (((PATH_NAME LIKE '/gpfs/mariana/home/.snapshots/home_snapshot_2024-01-25-09-23/%') AND (MISC_ATTRIBUTES LIKE '%u%')   )  AND<br>
      ((NOT (PATH_NAME LIKE '/%.swp' AND NOT MODE LIKE 'd%'  ))) AND<br>
      ((NOT (PATH_NAME LIKE '/%.tmp' AND NOT MODE LIKE 'd%'  ))) )<br>
 <br>
<br>
</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:#174E86"><o:p> </o:p></span></p>
</div>
<div id="x_x_Signature">
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black">Kind Regards,</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p></o:p></span></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif;color:black"><br>
Ahmed Nasr</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p></o:p></span></p>
<p style="margin-bottom:12.0pt;background:white"><span style="font-family:"Calibri",sans-serif;color:black;background:white">Administrator of cloud service</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p></o:p></span></p>
</div>
</div>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
</body>
</html>