Hi Steven: Yes that is more or less what we want to do. We have tivoli here for backup so I'm somewhat familiar with inclexcl files. The filesystem I want to backup is a shared home. Right now I do have a policy...mmlspolicy home -L does return a policy. So if I did not want to backup core and cache files I could create a backup policy using /var/mmfs/mmbackup/.mmbackupRules.home and place in it?: EXCLUDE "/gpfs/home/.../core" EXCLUDE "/igpfs/home/.../.opera/cache4" EXCLUDE "/gpfs/home/.../.netscape/cache/.../*" EXCLUDE "/gpfs/home/.../.mozilla/default/.../Cache" EXCLUDE "/gpfs/home/.../.mozilla/.../Cache/*" EXCLUDE "/gpfs/home/.../.mozilla/.../Cache" EXCLUDE "/gpfs/home/.../.cache/mozilla/*" EXCLUDE.DIR "/gpfs/home/.../.mozilla/firefox/.../Cache" I did a test run of mmbackup and I noticed I got a template put in that location: [root@cl002 ~]# ll -al /var/mmfs/mmbackup/ total 12 drwxr-xr-x 2 root root 4096 Feb 15 07:43 . drwxr-xr-x 10 root root 4096 Jan 4 10:42 .. -r-------- 1 root root 1177 Feb 15 07:43 .mmbackupRules.home So I can copy this off into /var/mmfs/etc for example and to use next time with my edits. What is normally used to schedule the mmbackup? Cronjob? dsmcad? Thanks much. On Tue, Feb 14, 2017 at 11:21 AM, Steven Berman <sberman@us.ibm.com> wrote:
Eric, What specifically do you wish to accomplish? It sounds to me like you want to use mmbackup to do incremental backup of parts or all of your file system. But your question did not specify what specifically other than "whole file system incremental" you want to accomplish. Mmbackup by default, with "-t incremental" will back up the whole file system, including all filesets of either variety, and without regard to storage pools. If you wish to back up only a sub-tree of the file system, it must be in an independent fileset (--inode-space=new) and the current product supports doing the backup of just that fileset. If you want to backup parts of the file system but exclude things in certain storage pools, from anywhere in the tree, you can either use "include exclude rules" in your Spectrum Protect (formerly TSM) configuration file, or you can hand-edit the policy rules for mmbackup which can be copied from /var/mmfs/mmbackup/.mmbackupRules.<file system name> (only persistent during mmbackup execution). Copy that file to a new location, hand-edit and run mmbackup next time with -P <your policy rules file>. Is there something else you want to accomplish?
https://www.ibm.com/support/knowledgecenter/STXKQY_4.2.2/ com.ibm.spectrum.scale.v4r22.doc/bl1adv_semaprul.htm https://www.ibm.com/support/knowledgecenter/STXKQY_4.2.2/ com.ibm.spectrum.scale.v4r22.doc/bl1adm_backupusingmmbackup.htm
Steven Berman Spectrum Scale / HPC General Parallel File System Dev. Pittsburgh, PA (412) 667-6993 Tie-Line 989-6993 sberman@us.ibm.com ----Every once in a while, it is a good idea to call out, "Computer, end program!" just to check. --David Noelle ----All Your Base Are Belong To Us. --CATS
From: "J. Eric Wonderley" <eric.wonderley@vt.edu> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org>
Date: 02/13/2017 10:28 AM Subject: [gpfsug-discuss] mmbackup examples using policy Sent by: gpfsug-discuss-bounces@spectrumscale.org ------------------------------
Anyone have any examples of this? I have a filesystem that has 2 pools and several filesets and would like daily progressive incremental backups of its contents.
I found some stuff here(nothing real close to what I wanted however): /usr/lpp/mmfs/samples/ilm
I have the tsm client installed on the server nsds.
Thanks much_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
