From: Edwin H. <ed...@co...> - 2003-10-23 00:47:59
|
[ Scott Coburn wrote: ] > I do my backups to a separate disk on the local computer > (and then copy the images to a second computer) and I would > like to have each of the 'big' users go into their own image > file, and then all of the others go into one other image file. > > I would like to do something like this: > > $set{'home-fred'} = '/home/fred'; > $set{'home-wilma'} = '/home/wilma'; > $set{'home-barney'} = '/home/barney'; > $set{'home-other'} = '/home/"everyone-else"'; > > and then: > > $prune{'/home'} = "fred wilma barney"; > > but I see that this is probably not how the 'prune' stuff works, > so this will not do what I want it to. > > I need a $prune{'home-other'} = "fred wilma barney"; or some such. Actually it will work this way: $set{'home-fred'} = '/home/fred'; $set{'home-wilma'} = '/home/wilma'; $set{'home-barney'} = '/home/barney'; $set{'home-other'} = '/home'; $prune{'/home'} = "fred wilma barney"; Test it with "-type filelist" perhaps if you want to verify its doing the correct thing before burning gigs of disk space. In fact, you don't even need to make multiple sets (unless you specifically want to run the jobs at different times or in parallel). You can do: $set{'allhomes'} = '/home /home/fred /home/wilma /home/barney'; $prune{'/home'} = "fred wilma barney"; And you'll still get 4 separate archives when you do "flexbackup -set allhomes". They will run in one job, serially, and make one log file. But 4 archive files. Should do the exclusion correctly. > Or, I need something like: > > $set{'home-af'} = "/home/[a-f]*"; > $set{'home-gm'} = "/home/[g-m]*"; > $set{'home-ns'} = "/home/[n-s]*"; > $set{'home-tz'} = "/home/[t-z]*"; Hmm.. It doesn't let you do that right now, but its something to ponder. Hope this helps, -Edwin -- Edwin Huffstutler ed...@co... GnuPG Key ID: AE782DC9 |