Hi Dr. Martin, You can refer to the Administrator Guide > Chapter 30 > Policies for automating file management, or access via the link below. If you downloaded a PDF, it starts with page 487. https://www.ibm.com/docs/en/spectrum-scale/5.1.0?topic=management-policy-rules
There a quite a number of examples in that chapter too which can help you establish a good understanding of how to write one yourself. On Wed, Jun 23, 2021 at 6:10 PM Ulrich Sibiller < [email protected]> wrote: > Hallo, > > mmbackup offers -P to specify an own policy. Unfortunately I cannot seem > to find documentation how > that policy has to look like. > > I mean, if I grab the policy generated automatically by mmbackup it looks > like this: > > --------------------------------------------------------- > /* Auto-generated GPFS policy rules file > * Generated on Sat May 29 15:10:46 2021 > */ > > /* Server rules for backup server 1 > *** back5_2 *** > */ > RULE EXTERNAL LIST 'mmbackup.1.back5_2' EXEC > '/net/gpfso/fs1/.mmbackupCfg/BAexecScript.gpfsofs1' > OPTS '"/net/gpfso/fs1/.mmbackupShadow.1.back5_2.filesys.update" > "-servername=back5_2" > "-auditlogname=/net/gpfso/fs1/mmbackup.audit.gpfsofs1.back5_2" "NONE"' > RULE 'BackupRule' LIST 'mmbackup.1.back5_2' DIRECTORIES_PLUS > SHOW(VARCHAR(MODIFICATION_TIME) || ' ' || VARCHAR(CHANGE_TIME) || ' > ' || > VARCHAR(FILE_SIZE) || ' ' || VARCHAR(FILESET_NAME) || > ' ' || 'resdnt' ) > WHERE > ( > NOT > ( (PATH_NAME LIKE '/%/.mmbackup%') OR > (PATH_NAME LIKE '/%/.mmLockDir' AND MODE LIKE 'd%') OR > (PATH_NAME LIKE '/%/.mmLockDir/%') OR > (MODE LIKE 's%') > ) > ) > AND > (MISC_ATTRIBUTES LIKE '%u%') > AND > ... > --------------------------------------------------------- > > > If I want use an own policy what of all that is required for mmbackup to > find the information it needs? > > Uli > -- > Science + Computing AG > Vorstandsvorsitzender/Chairman of the board of management: > Dr. Martin Matzke > Vorstand/Board of Management: > Matthias Schempp, Sabine Hohenstein > Vorsitzender des Aufsichtsrats/ > Chairman of the Supervisory Board: > Philippe Miltin > Aufsichtsrat/Supervisory Board: > Martin Wibbe, Ursula Morgenstern > Sitz/Registered Office: Tuebingen > Registergericht/Registration Court: Stuttgart > Registernummer/Commercial Register No.: HRB 382196 > _______________________________________________ > gpfsug-discuss mailing list > gpfsug-discuss at spectrumscale.org > http://gpfsug.org/mailman/listinfo/gpfsug-discuss > -- Best regards *T.A. Yeep*
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
