Hi,
I need to setup something like this:
Full Daily backups that last two weeks
Saving of the database on the same tape as the backup
Rollover period of two weeks (monday to friday), so I don't want to be able
to rewrite the volume before 14 days (13 days, in fact)
So I setup ten pools, each pool containing one volume. I set the volume
retention period to 13 days. My problem is that when I want to backup the
database with a second job on the same tape, bacula refuses and waits for me
to label a second volume.
What would be the combination to make this happen? I'm ok with the schedule
(found that using w00 to w53 in the schedules let me to that, even if it's a
little complicated to figure out), but it seems that there's something
missing with my pool / job definition.
Here is the relevant configuration that actually takes place (note that, in
these definitions, that there are a couple of scripts (database backup, and
tape ejection at the end of the second job). The full backup is done first,
and the second job wait for the first one to complete (they are started at 5
minutes interval)):
Pool {
Name = Lundi_B_Pool
Pool Type = Backup
Recycle = yes
AutoPrune = yes
VolumeRetention = 13d
}
Job {
Name = NightlySave
Type = Backup
Client = Megara-File-Daemon
FileSet = FullSet
Storage = Tape
Messages = Standard
Pool = Default
Max Start Delay = 2h
Max Wait Time = 2h
RunBeforeJob = "/usr/local/bin/backup_all.sh"
RunAfterJob = "/usr/lib/bacula/make_catalog_backup bacula"
RunAfterJob = "/etc/bacula/end_of_backup.sh"
Schedule = BiWeeklyCycle
Write Bootstrap = /var/lib/bacula/NightlySave.bsr
}
Job {
Name = BackupCatalog
Type = Backup
Client = Megara-File-Daemon
FileSet = Catalog
Storage = Tape
Messages = Standard
Pool = Default
Max Start Delay = 2h
Max Wait Time = 1h
Schedule = BiWeeklyCycleAfterBackup
RunAfterJob = /etc/bacula/end_of_backup.sh
Write Bootstrap = /var/lib/bacula/BackupCatalog.bsr
}
Regards,
Christian...
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users