## STORAGES Storage { Name = Quantumi40 Address = 127.0.0.1 SDPort = 9103 Password = "bighash" Device = Quantumi40 Media Type = LTO5a Autochanger = yes Maximum Concurrent Jobs = 20 # 2 drives... } Storage { Name = Quantumsl3 Address = 127.0.0.1 SDPort = 9103 Password = "bighash" Device = Quantumsl3 Media Type = LTO5b Autochanger = yes Maximum Concurrent Jobs = 10 # 1 drive... } ## DEVICES Autochanger { Name = Quantumi40 Device = Drive0, Drive1 Changer Command = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d" Changer Device = /dev/quantumi40 } Autochanger { Name = Quantumsl3 Device = Drive2 #Changer Command = "/usr/local/sbin/mtx -f /dev/quantumsl3 %o %S" Changer Command = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d" Changer Device = /dev/quantumsl3 } Device { Name = Drive0 Drive Index = 0 Media Type = LTO5a Device Type = tape Archive Device = /dev/tape0 AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes LabelMedia = yes; Maximum Changer Wait = 9000 Maximum Concurrent Jobs = 1 Spool Directory = /spool Maximum Spool Size = 20gb #Minimum block size = 1048576 Maximum block size = 1048576 Hardware End of Medium = yes Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" } Device { Name = Drive1 Drive Index = 1 Media Type = LTO5a Device Type = tape Archive Device = /dev/tape1 AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes LabelMedia = yes; Maximum Changer Wait = 9000 Maximum Concurrent Jobs = 1 Maximum Spool Size = 20gb Spool Directory = /spool #Minimum block size = 1048576 Maximum block size = 1048576 Hardware End of Medium = yes Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" } Device { Name = Drive2 Drive Index = 0 Media Type = LTO5b Device Type = tape Archive Device = /dev/tape2 AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes LabelMedia = yes; Maximum Changer Wait = 9000 Maximum Concurrent Jobs = 1 Spool Directory = /spool Maximum Spool Size = 20gb #Minimum block size = 1048576 Maximum block size = 1048576 Hardware End of Medium = yes Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" } ## POOLS Pool { Name = Week1 Pool Type = Backup Recycle = yes Auto Prune = yes Recycle Oldest Volume = yes ScratchPool = Scratch RecyclePool = Scratch Volume Retention = 6 days } Pool { Name = Week2 Pool Type = Backup Recycle = yes Auto Prune = yes Recycle Oldest Volume = yes ScratchPool = Scratch RecyclePool = Scratch Volume Retention = 6 days } Pool { Name = Monthly Pool Type = Backup Recycle = yes Auto Prune = yes Recycle Oldest Volume = yes ScratchPool = Scratch RecyclePool = Scratch Volume Retention = 1 month } ## SCHEDULES Schedule { Name = "WeeklyCycle" Run = Level=Full Pool=Week1 1st fri at 22:05 Run = Level=Full Pool=Week2 2nd fri at 22:05 Run = Level=Full Pool=Week1 3rd fri at 22:05 Run = Level=Full Pool=Week2 4th fri at 22:05 Run = Level=Full Pool=Week1 5th fri at 22:05 Run = Incremental Pool=Week1 1st sat-thu at 22:05 Run = Incremental Pool=Week2 2nd sat-thu at 22:05 Run = Incremental Pool=Week1 3rd sat-thu at 22:05 Run = Incremental Pool=Week2 4th sat-thu at 22:05 Run = Incremental Pool=Week1 5th sat-thu at 22:05 } Schedule { Name = "MonthlyCycle" Run = Level=Full Pool=Monthly on 1 at 10:00 Run = Level=Incremental Pool=Monthly sun-sat at 20:05 } ## JOBDEFS JobDefs { Name = Weekly Type = Backup Prefer Mounted Volumes = no Write Bootstrap = "/etc/bacula/conf.d/clients/%c-%n.bsr" Schedule = WeeklyCycle Priority = 10 Pool = Scratch SpoolData = yes SpoolAttributes = yes Spool Size = 75gb Storage = Quantumi40, Quantumsl3 Allow Mixed Priority = yes Cancel Lower Level Duplicates = yes Messages = Standard } JobDefs { Name = Monthly Type = Backup Prefer Mounted Volumes = no Write Bootstrap = "/etc/bacula/conf.d/clients/%c-%n.bsr" Schedule = MonthlyCycle Priority = 10 Pool = Monthly SpoolData = yes Spool Size = 75gb Storage = Quantumi40, Quantumsl3 SpoolAttributes = yes Cancel Lower Level Duplicates = yes Allow Mixed Priority = yes Messages = Standard }