[Bacula-users] Using two pools for backup
2014-08-01 15:45:06
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"
}
--
Ross Williamson
Research Scientist - Sub-mm Group
California Institute of Technology
626-395-2647 (office)
312-504-3051 (Cell)
------------------------------------------------------------------------------
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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Bacula-users] Using two pools for backup,
Ross Williamson <=
|
|
|