Hello, Some points:
1. You can combine your Full and Differential run directives on two directives, which will in my opinion be easier to read with: Run = Level=Full Pool=File on 1st sun jan,mar,may,jul,sep,nov at 00:00 Run = Level=Differential Pool=File on 1st sun feb,apr,jun,aug,oct,dec at 00:00 2. Separating jobs into Pools separates them for pruning (i.e. expiration) but does not separate them for restoration. This is because when doing backups and restores, Bacula considers all the jobs of the same name as a group or in its entirety. To completely disassociate the Incrementals, you need to use a different Job name. The first will upgrade to a Full, then your incrementals will be separate and more or less duplicate what you backup in the other job. 3. You can probably do something closer to what you really want, but it is a bit more complicated, by having everything running under the same job, but periodically you do a Virtual Full, which would essentially combine your Full, Differential, and all your Incrementals into one big full. To make it reliable, I recommend that you run the Accurate option on your Incremental jobs. That ensures that you will never miss backing up an important file. 4. If you do not do a Virtual Full, you will need to keep all of your incrementals at lease as long as the period between your last Full or Differential (i.e. one month). This is quite possible, but you may end up requiring a very large number of incremental jobs to do a Full restore. Best regards, Kern On 08/01/2014 09:16 PM, Ross Williamson wrote: > Hi All, > > Pretty new to bacula so apologies if this is dumb..I would like to > simulate a "Mac Time Machine" feature. My setup is to have a full > backup every 2 months, a differential every other month (out of sync > with the full) and an incremental every day. I think I have this > setup as expected and it all writes to a pool. > > What I'm now trying to do is setup a short term hourly pool which will > allow me to roll back upto say a day or twos work on hourly > increments. For this I've setup a second pool that writes to a > different disk. The question I have is when the incremental is done > on the daily basis does it look at the other pools data (which gets > refreshed after 23 hours) or the last incremental on the main backup > pool? Sorry if this is confusing - I've posted relevant sections from > the bacula-dir.conf below: > > Many thanks > > > JobDefs { > Name = "DefaultJob" > Type = Backup > Level = Incremental > Client = seacat-fd > FileSet = "Home Directory" > Schedule = "TwoMonth" > Storage = File > Messages = Standard > Pool = File > Priority = 10 > Write Bootstrap = "/var/lib/bacula/%c.bsr" > } > > Job { > Name = "BackupHome" > JobDefs = "DefaultJob" > } > > Schedule { > Name = "TwoMonth" > Run = Level=Full Pool=File on 1st sun jan at 00:00 > Run = Level=Differential Pool=File on 1st sun feb at 00:00 > Run = Level=Full Pool=File on 1st sun mar at 00:00 > Run = Level=Differential Pool=File on 1st sun apr at 00:00 > Run = Level=Full Pool=File on 1st sun may at 00:00 > Run = Level=Differential Pool=File on 1st sun jun at 00:00 > Run = Level=Full Pool=File on 1st sun jul at 00:00 > Run = Level=Differential Pool=File on 1st sun aug at 00:00 > Run = Level=Full Pool=File on 1st sun sep at 00:00 > Run = Level=Differential Pool=File on 1st sun oct at 00:00 > Run = Level=Full Pool=File on 1st sun nov at 00:00 > Run = Level=Differential Pool=File on 1st sun dec at 00:00 > > Run = Level=Incremental Pool=File mon-sat at 23:05 > > Run = Level=Incremental Pool=HourlyPool mon-sun at 00:00 01:00 02:00 > 03:00 04:00 05:00 06:00 07:00 08:00 09:00 10:00 11:00 12:00 13:00 > 14:00 15:00 16:00 17:00 18:00 19:00 20:00 21:00 22:00 > } > > > # File Pool definition > Pool { > Name = File > Pool Type = Backup > Recycle = yes # Bacula can automatically recycle > Volumes > AutoPrune = yes # Prune expired volumes > Volume Retention = 180 days # half a year > Maximum Volume Bytes = 50G # Limit Volume size to something > reasonable > Maximum Volumes = 30 # Limit number of Volumes in Pool > LabelFormat = "Vol" > } > > Pool { > Name = HourlyPool > Pool Type = Backup > Volume Retention = 23 hours > Recycle = yes > AutoPrune = yes > Maximum Volume Bytes = 10G > Maximum Volumes = 50 > LabelFormat = "Hourly" > } > ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users