<div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:12pt" ><div dir="ltr" >The only requirement for your own backup policy is that it finds the files you want to back up and skips those that you do not want to back up.&nbsp; It is no different than any policy that you would use with the GPFS policy engine.</div>
<div dir="ltr" ><div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:10pt" ><div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:10.5pt" ><div dir="ltr" ><br><font size="2" face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" ><span style="font-size:1.143em;" >Fred<br>_______________________________________________________<br>Fred Stock | Spectrum Scale Development Advocacy | 720-430-8821<br>stockf@us.ibm.com</span></font></div></div></div></div>
<div dir="ltr" >&nbsp;</div>
<div dir="ltr" >&nbsp;</div>
<blockquote data-history-content-modified="1" dir="ltr" style="border-left:solid #aaaaaa 2px; margin-left:5px; padding-left:5px; direction:ltr; margin-right:0px" >----- Original message -----<br>From: "T.A. Yeep" &lt;yeep@robust.my&gt;<br>Sent by: gpfsug-discuss-bounces@spectrumscale.org<br>To: gpfsug main discussion list &lt;gpfsug-discuss@spectrumscale.org&gt;<br>Cc:<br>Subject: [EXTERNAL] Re: [gpfsug-discuss] mmbackup with own policy<br>Date: Wed, Jun 23, 2021 7:08 AM<br>&nbsp;
<div dir="ltr" ><div dir="ltr" >Hi Dr. Martin,
<div>&nbsp;</div>
<div>You can refer to the Administrator Guide &gt; Chapter 30 &gt; Policies for automating file management, or access via the link below. If you downloaded a&nbsp;PDF, it starts with page&nbsp;487.</div>
<div><a href="https://www.ibm.com/docs/en/spectrum-scale/5.1.0?topic=management-policy-rules" target="_blank">https://www.ibm.com/docs/en/spectrum-scale/5.1.0?topic=management-policy-rules</a></div>
<div>&nbsp;</div>
<div>There a quite a number of examples in that chapter too which can help you establish a good understanding of how to write&nbsp;one yourself.</div></div>&nbsp;

<div><div dir="ltr" >On Wed, Jun 23, 2021 at 6:10 PM Ulrich Sibiller &lt;<a href="mailto:u.sibiller@science-computing.de" target="_blank">u.sibiller@science-computing.de</a>&gt; wrote:</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" >Hallo,<br><br>mmbackup offers -P to specify an own policy. Unfortunately I cannot seem to find documentation how<br>that policy has to look like.<br><br>I mean, if I grab the policy generated automatically by mmbackup it looks like this:<br><br>---------------------------------------------------------<br>/* Auto-generated GPFS policy rules file<br>&nbsp; * Generated on Sat May 29 15:10:46 2021<br>&nbsp; */<br><br>/*&nbsp; &nbsp;Server rules for backup server 1<br>&nbsp; ***&nbsp; &nbsp;back5_2&nbsp; &nbsp;***<br>&nbsp; */<br>RULE EXTERNAL LIST 'mmbackup.1.back5_2' EXEC '/net/gpfso/fs1/.mmbackupCfg/BAexecScript.gpfsofs1'<br>OPTS '"/net/gpfso/fs1/.mmbackupShadow.1.back5_2.filesys.update" "-servername=back5_2"<br>"-auditlogname=/net/gpfso/fs1/mmbackup.audit.gpfsofs1.back5_2" "NONE"'<br>RULE 'BackupRule' LIST 'mmbackup.1.back5_2' DIRECTORIES_PLUS<br>&nbsp; &nbsp; &nbsp; SHOW(VARCHAR(MODIFICATION_TIME) || ' ' || VARCHAR(CHANGE_TIME) || ' ' ||<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;VARCHAR(FILE_SIZE)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|| ' ' || VARCHAR(FILESET_NAME) ||<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;' ' || 'resdnt' )<br>&nbsp; &nbsp; &nbsp; WHERE<br>&nbsp; &nbsp; &nbsp; &nbsp;(<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;NOT<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;( (PATH_NAME LIKE '/%/.mmbackup%') OR<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(PATH_NAME LIKE '/%/.mmLockDir' AND MODE LIKE 'd%') OR<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(PATH_NAME LIKE '/%/.mmLockDir/%') OR<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(MODE LIKE 's%')<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;)<br>&nbsp; &nbsp; &nbsp; &nbsp;)<br>&nbsp; &nbsp; &nbsp; &nbsp;AND<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(MISC_ATTRIBUTES LIKE '%u%')<br>&nbsp; &nbsp; &nbsp; &nbsp;AND<br>...<br>---------------------------------------------------------<br><br><br>If I want use an own policy what of all that is required for mmbackup to find the information it needs?<br><br>Uli<br>--<br>Science + Computing AG<br>Vorstandsvorsitzender/Chairman of the board of management:<br>Dr. Martin Matzke<br>Vorstand/Board of Management:<br>Matthias Schempp, Sabine Hohenstein<br>Vorsitzender des Aufsichtsrats/<br>Chairman of the Supervisory Board:<br>Philippe Miltin<br>Aufsichtsrat/Supervisory Board:<br>Martin Wibbe, Ursula Morgenstern<br>Sitz/Registered Office: Tuebingen<br>Registergericht/Registration Court: Stuttgart<br>Registernummer/Commercial Register No.: HRB 382196<br>_______________________________________________<br>gpfsug-discuss mailing list<br>gpfsug-discuss at <a href="http://spectrumscale.org" rel="noreferrer" target="_blank">spectrumscale.org</a><br><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss" rel="noreferrer" target="_blank">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a></blockquote></div>&nbsp;

<div>&nbsp;</div>--

<div dir="ltr" ><div dir="ltr" ><div dir="ltr" ><div dir="ltr" ><div dir="ltr" ><div dir="ltr" ><div dir="ltr" ><div dir="ltr" ><div dir="ltr" ><div dir="ltr" ><div dir="ltr" ><div dir="ltr" ><div dir="ltr" ><div dir="ltr" ><div dir="ltr" ><div dir="ltr" ><div dir="ltr" ><div dir="ltr" ><div dir="ltr" ><div><font face="arial, helvetica, sans-serif" >Best regards </font>
<div><font face="arial, helvetica, sans-serif" ><b><font size="2" >T.A. Yeep</font></b></font></div></div>
<div>&nbsp;</div>
<div><br>&nbsp;</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<div><font size="2" face="Default Monospace,Courier New,Courier,monospace" >_______________________________________________<br>gpfsug-discuss mailing list<br>gpfsug-discuss at spectrumscale.org<br><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss" target="_blank">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a>&nbsp;</font></div></blockquote>
<div dir="ltr" >&nbsp;</div></div><BR>
<BR>