From: Del M. <de...@al...> - 2007-02-14 19:03:54
|
I am setting up a Disk to Disk to Tape backup and need some help with a concept or two. Here's what I'm trying to do: 1) Backup of critical files to 'MyVolume' (/mnt/backup/MyVolume) 2) text dump of catalog to /var/bacula/catalog 3) Append /var/log/catalog to 'MyVolume' 4) Migration of complete 'MyVolume' to tape. Notes: It's a simple 2 week tape rotation -- 10 tapes, one per day, with each tape being overwritten every other week... full backup every night.. I'm not concerned with a tape being over written out of sequence, I'd rather have the backup than the history. I've listed the important bits of the bacula-dir.conf (Bacula v2.02) file below and have the following questions: 1) Are the 'Maximum Concurrent Jobs = 1' + 'Priority' directives the correct way to serialize the backup? If not, any suggestions on how to do it better? 2) I set 'Maximum Volume Jobs = 2' on the disk volume (backup + catalog append)... does the tape volume need to match this? In other words, if I set 'MVJ=2' on the tape, will I get two migrated volumes placed on a single tape or just the one? Conversely, if I set 'MVJ=1' on the tape, will I get one fully migrated volume or will the volume (which should have 2 jobs in it) get spanned across two tapes? My apologies if this is covered somewhere else, I've looked but not found it. Please feel free to redirect me. Regards Del Miller bacula-dir.conf =============== Director [ Maximum Concurrent Jobs = 1 } Job { Name=BackupToDisk Type = Backup Level = Full Pool = Disk Priority = 1 } Job { Name = BackupCatalog Type = Backup Level = Full Pool = Disk Priority = 2 } Job { Name = MigrateToTape Type = Migrate Pool = Disk Selection Type = Volume Selection Pattern = ".*" Priority = 3 } Schedule { Name = "WeeklyCycle" Run = Pool=Disk mon-sat at 10:30pm } Pool { Name = Disk Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 12h Maximum Volume Jobs = 2 Storage = Disk Next Pool = Tape } Pool { Name = Tape Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 7d Storage = Tape Maximum Volume Jobs = 2 } |