Look for "Max Start Delay" in the manual. In the Director configuration section from memory.
"Max Wait Delay" or "Max Wait Time" might be useful as well. (Cant remember which it is off the top of my head!) The above allow you to configure how long things will wait before auto-cancelling. Manual has more info. Troy Daniels Systems Admin. iTouch Australia Chantal Rosmuller wrote: > Hi everyone, I hope someone can help me with the following problem: > > I installed bacula for a customer, they want to make a full backup every day > of the week, I created different jobs and pools for each day of the week. I > want bacula to autolabel and automount the tapes, each pool has its own > label. > > The following goes wrong: > > - Tuesday backup worked > - Then they forgot to switch the tape > - The wednesday backup refuses to run because the tape is labeled "Tuesday" > - the thursday backup doesnt start at all because the wednesday backup is > still pending > > How can I get bacula to ignore that one backupjob failed, or better: how can > I > get bacula to give up trying after a couple of hours when the wrong tape is > in the drive? So the next day when the right tape is in the drive the next > backup will start normally? I can manually cancel the failing job but it is > important that this happens automatically. > > I hope that my question is clear, here is my bacula-dir.conf : > > > Director { # define myself > Name = "Server-dir" > DIRport = 9101 # where we listen for UA connections > QueryFile = "/etc/bacula/query.sql" > WorkingDirectory = "/var/bacula" > PidDirectory = "/var/run" > Maximum Concurrent Jobs = 1 > Password = "mypassword" > Messages = Daemon > FDConnectTimeout = 5min > SDConnectTimeout = 5min > } > > JobDefs { > Name = "DefaultJob" > Type = Backup > Level = Incremental > Client = "Server-fd" > FileSet = "Home" > Storage = File > Messages = Standard > Pool = "Default" > Priority = 10 > } > > FileSet { > # DO NOT REMOVE - Webconfig NO_DELETE > Name = "Home" > Include { > Options { > signature = MD5 > } > > Storage { > Name = "tape" > Address = "10.0.0.100" > SDport = 9103 > Password = "filepassword" > Device = "tape" > MediaType = "DDS" > } > > FileSet { > Name = "Mail" > Include { > Options { > IgnoreCase = "no" > } > File = "/var/spool/mail" > File = "/var/lib/imap" > } > } > Pool { > Name = "Maandag" > PoolType = "Backup" > Recycle = "yes" > AutoPrune = "yes" > VolumeRetention = 6 months > AcceptAnyVolume = "yes" > LabelFormat = "VolumeMaandag" > MaximumVolumes = "1" > } > > Pool { > Name = "Dinsdag" > PoolType = "Backup" > Recycle = "yes" > AutoPrune = "yes" > VolumeRetention = 6 months > AcceptAnyVolume = "yes" > LabelFormat = "VolumeDinsdag" > MaximumVolumes = "1" > } > > Pool { > Name = "Woensdag" > PoolType = "Backup" > Recycle = "yes" > AutoPrune = "yes" > VolumeRetention = 6 months > AcceptAnyVolume = "yes" > LabelFormat = "VolumeWoensdag" > MaximumVolumes = "1" > } > > Pool { > Name = "Donderdag" > PoolType = "Backup" > Recycle = "yes" > AutoPrune = "yes" > VolumeRetention = 6 months > AcceptAnyVolume = "yes" > LabelFormat = "VolumeDonderdag" > MaximumVolumes = "1" > } > > Pool { > Name = "Weekend" > PoolType = "Backup" > > Recycle = "yes" > AutoPrune = "yes" > VolumeRetention = 6 months > AcceptAnyVolume = "yes" > LabelFormat = "VolumeWeekend" > MaximumVolumes = "1" > } > > > > > > > Job { > Name = "BackupHomeDinsdag" > Type = "Backup" > Level = "Full" > Client = "Server-fd" > FileSet = "Home" > Storage = "tape" > Messages = "Standard" > Pool = "Dinsdag" > Priority = "10" > WriteBootstrap = "/var/bacula/Server-fd.bsr" > Schedule = "DinsdagCycle" > RunAfterJob = " /usr/bacula/pcnl_send_bsr /var/bacula/Server-fd.bsr > \'BackupHomeDinsdag\'" > } > > Job { > Name = "BackupHomeWoensdag" > Type = "Backup" > Level = "Full" > Client = "Server-fd" > FileSet = "Home" > Storage = "tape" > Messages = "Standard" > Pool = "Woensdag" > Priority = "10" > Schedule = "WoensdagCycle" > WriteBootstrap = "/var/bacula/Server-fd.bsr" > RunAfterJob = " /usr/bacula/pcnl_send_bsr /var/bacula/Server-fd.bsr > \'BackupHomeWoensdag\'" > } > > Job { > Name = "BackupHomeDonderdag" > Type = "Backup" > Level = "Full" > Client = "Server-fd" > FileSet = "Home" > Storage = "tape" > Messages = "Standard" > Pool = "Donderdag" > Priority = "10" > Schedule = "DonderdagCycle" > WriteBootstrap = "/var/bacula/Server-fd.bsr" > RunAfterJob = " /usr/bacula/pcnl_send_bsr /var/bacula/Server-fd.bsr > \'BackupHomeDonderdag\'" > } > > Job { > Name = "BackupHomeWeekend" > Type = "Backup" > Level = "Full" > Client = "Server-fd" > FileSet = "Home" > Storage = "tape" > Messages = "Standard" > Pool = "Weekend" > Priority = "10" > Schedule = "FullIncCycle" > WriteBootstrap = "/var/bacula/Server-fd.bsr" > RunAfterJob = " /usr/bacula/pcnl_send_bsr /var/bacula/Server-fd.bsr > \'BackupHomeWeekend\'" > } > > > Job { > Name = "BackupMailDinsdag" > Type = "Backup" > Level = "Full" > Client = "Server-fd" > FileSet = "Mail" > Storage = "tape" > Messages = "Standard" > Pool = "Dinsdag" > Priority = "10" > ClientRunBeforeJob = "/usr/bacula/backup_script-Catalog.sh" > ClientRunAfterJob = "rm -f /var/bacula/Catalog.sql" > Schedule = "DinsdagCycle" > WriteBootstrap = "/var/bacula/Server-fd.bsr" > RunAfterJob = " /usr/bacula/pcnl_send_bsr /var/bacula/Server-fd.bsr > \'BackupMailDinsdag\'" > } > > Job { > Name = "BackupMailWoensdag" > Type = "Backup" > Level = "Full" > Client = "Server-fd" > FileSet = "Mail" > Storage = "tape" > Messages = "Standard" > Pool = "Woensdag" > Priority = "10" > Schedule = "WoensdagCycle" > WriteBootstrap = "/var/bacula/Server-fd.bsr" > RunAfterJob = " /usr/bacula/pcnl_send_bsr /var/bacula/Server-fd.bsr > \'BackupMailWoensdag\'" > } > > Job { > Name = "BackupMailDonderdag" > Type = "Backup" > Level = "Full" > Client = "Server-fd" > FileSet = "Mail" > Storage = "tape" > Messages = "Standard" > Pool = "Donderdag" > Priority = "10" > Schedule = "DonderdagCycle" > WriteBootstrap = "/var/bacula/Server-fd.bsr" > RunAfterJob = " /usr/bacula/pcnl_send_bsr /var/bacula/Server-fd.bsr > \'BackupMailDonderdag\'" > } > Job { > Name Type = "Backup" > Level = "Full" > Client = "Server-fd" > FileSet = "Mail" > Storage = "tape" > Messages = "Standard" > Pool = "Weekend" > Priority = "10" > Schedule = "FullIncCycle" > WriteBootstrap = "/var/bacula/Server-fd.bsr" > RunAfterJob = " /usr/bacula/pcnl_send_bsr /var/bacula/Server-fd.bsr > \'BackupMailWeekend\'" > } > > > > Schedule { > Name = "MaandagCycle" > Run = Full mon at 01:10 > } > > > Schedule { > Name = "DinsdagCycle" > Run = Full tue at 01:10 > } > > > Schedule { > Name = "WoensdagCycle" > Run = Full wed at 01:10 > } > > > Schedule { > Name = "DonderdagCycle" > Run = Full thu at 01:10 > } > > Pool { > Name = "Vrijdag" > PoolType = "Backup" > = "BackupMailWeekend" > Recycle = "yes" > AutoPrune = "yes" > VolumeRetention = 6 months > AcceptAnyVolume = "yes" > LabelFormat = "VolumeVrijdag" > MaximumVolumes = "1" > } > > > Schedule { > Name = "VrijdagCycle" > Run = Full fri at 01:10 > } > > Job { > Name = "BackupHomeVrijdag" > Type = "Backup" > Level = "Full" > Client = "Server-fd" > FileSet = "Home" > Storage = "tape" > Messages = "Standard" > Pool = "Vrijdag" > Priority = "10" > Schedule = "VrijdagCycle" > WriteBootstrap = "/var/bacula/Server-fd.bsr" > RunAfterJob = " /usr/bacula/pcnl_send_bsr /var/bacula/Server-fd.bsr > \'BackupHomeVrijdag\'" > } > > Job { > Name = "BackupMailVrijdag" > Type = "Backup" > Level = "Full" > Client = "Server-fd" > FileSet = "Mail" > Storage = "tape" > Messages = "Standard" > Pool = "Vrijdag" > Priority = "10" > Schedule = "VrijdagCycle" > WriteBootstrap = "/var/bacula/Server-fd.bsr" > > } > > Job { > Name = "BackupHomeVrijdag" > Type = "Backup" > Level = "Full" > Client = "Server-fd" > FileSet = "Home" > Storage = "tape" > Messages = "Standard" > Pool = "Vrijdag" > Priority = "10" > Schedule = "VrijdagCycle" > WriteBootstrap = "/var/bacula/Server-fd.bsr" > RunAfterJob = " /usr/bacula/pcnl_send_bsr /var/bacula/Server-fd.bsr > \'BackupHomeVrijdag\'" > } > > Job { > Name = "BackupMailVrijdag" > Type = "Backup" > Level = "Full" > Client = "Server-fd" > FileSet = "Mail" > Storage = "tape" > Messages = "Standard" > Pool = "Vrijdag" > Priority = "10" > Schedule = "VrijdagCycle" > WriteBootstrap = "/var/bacula/Server-fd.bsr" > RunAfterJob = " /usr/bacula/pcnl_send_bsr /var/bacula/Server-fd.bsr > \'BackupMailVrijdag\'" > } > > Schedule { > Name = "FullIncCycle" > Run = Full sat at 01:00 > Run = Incremental sun at 01:00 > Run = Incremental mon at 01:00 > } > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users