Whenever I archive files, I always put them in an ‘Archive’
pool I created. After only about a week or two, I am no longer able to
restore because I get the following message:
You have selected
the following JobId: 686
Building directory
tree for JobId(s) 686 ...
For one or more of
the JobIds selected, no files were found,
so file selection is
not possible.
Most likely your
retention policy pruned the files.
Do you want to
restore all the files? (yes|no):
Can
sombody take a look at my bacula-dir.conf file and see why this is happening?
All
Archive jobs have different filesets, but go into the pool ‘Archive’.
I’ve set a retention period of 30 years, job retention of 30 years,
Recycle = no, Auto Prune = no and Volume retention of 30 years, but the
files seem to be still getting pruned.
---
bacula-dir.conf ---
#####################################################################
#
This is a config for CentOS 5.4 x64 running Bacula 5.0.1 ##########
#####################################################################
#####################################################################
##############
Director Configuration ##############################
#####################################################################
Director
{
Name = bkupsvr-dir
DIRport = 9101
QueryFile = "/usr/lib64/bacula/query.sql"
WorkingDirectory = "/var/lib/bacula"
PidDirectory = "/var/run"
Maximum Concurrent Jobs = 10
Password = "redacted" # Console password
Messages = Daemon
}
#####################################################################
#############
Job Defs ##############################################
#####################################################################
JobDefs
{
Name = "DefaultJob"
Type = Backup
Level = Incremental
Client = bkupsvr-fd
FileSet = "Full Set"
Schedule = "WeeklyCycle"
Storage = File
Messages = Standard
Pool = Default
Priority = 10
}
JobDefs
{
Name = "Isilon"
Type = Backup
Level = Full
Schedule = "Isilon General"
Storage = Arcvault
Messages = Standard
Pool = Default
Write Bootstrap = "/var/lib/bacula/%i-%c_%n.bsr"
}
JobDefs
{
Name = "Servers2k"
Type = Backup
Level = Full
Schedule = "Servers"
Storage = Arcvault
Messages = Standard
Pool = Default
ClientRunBeforeJob = "c:/backup/systemstate.bat"
Write Bootstrap = "/var/lib/bacula/%i-%c_%n.bsr"
}
JobDefs
{
Name = "Servers2k3"
Type = Backup
Level = Full
Schedule = "Servers"
Storage = Arcvault
Messages = Standard
Pool = Default
Write Bootstrap = "/var/lib/bacula/%i-%c_%n.bsr"
}
JobDefs
{
Name = "Servers2k8"
Type = Backup
Level = Full
Schedule = "Servers"
Storage = Arcvault
Messages = Standard
Pool = Default
Write Bootstrap = "/var/lib/bacula/%i-%c_%n.bsr"
}
JobDefs
{
Name = "General"
Type = Backup
Level = Full
Schedule = "Servers"
Storage = Arcvault
Messages = Standard
Pool = Default
Write Bootstrap = "/var/lib/bacula/%i-%c_%n.bsr"
}
#####################################################################
##############
Jobs ###############################################
#####################################################################
#####
Backup the catalog database (after the nightly save)
Job
{
Name = "BackupCatalog"
JobDefs = "DefaultJob"
Level = Full
FileSet="Catalog"
Schedule = "WeeklyCycleAfterBackup"
RunBeforeJob = "/usr/lib64/bacula/make_catalog_backup bacula bacula"
RunAfterJob = "/usr/lib64/bacula/delete_catalog_backup"
#RunAfterJob = "/var/www/cgi-bin/bweb/bresto.pl action="">
Write Bootstrap = "/var/lib/bacula/BackupCatalog.bsr"
Priority = 11
}
#####
Restore Files
Job
{
Name = "RestoreFiles"
Type = Restore
Client = bkupsvr-fd
FileSet = "Full Set"
Storage = File
Pool = Default
Messages = Standard
Where = /isilon/Restores
}
Job
{
Name
= "Isilon General"
JobDefs = "Isilon"
FileSet = "Isilon General"
Schedule = "Isilon General"
Client = "bkupsvr-fd"
}
Job
{
Name = "Isilon Lidar1"
JobDefs = "Isilon"
FileSet = "Isilon Lidar1"
Schedule = "Isilon Lidar1"
Client = "bkupsvr-fd"
}
Job
{
Name = "Isilon Lidar2"
JobDefs = "Isilon"
FileSet = "Isilon Lidar2"
Schedule = "Isilon Lidar2"
Client = "bkupsvr-fd"
}
Job
{
Name = "Acctsvr-SQL"
Client = "acctsvr-fd"
JobDefs = "General"
FileSet = "SQL"
Schedule = "SQL"
Spool Data = "">
}
Job
{
Name = "Bkupsvr"
Client = "bkupsvr-fd"
JobDefs = "General"
FileSet = "Bkupsvr"
Schedule = "Servers"
Spool Data = "">
}
Job
{
Name = "BESSvr-SQL"
Client = "bessvr-fd"
JobDefs = "General"
FileSet = "SQL"
Schedule = "SQL"
Spool Data = "">
}
Job
{
Name = "Acctsvr"
Client = "acctsvr-fd"
JobDefs = "Servers2k3"
FileSet = "Win2k3"
Schedule = "Servers"
Spool Data = "">
}
Job
{
Name = "BESSvr"
Client = "bessvr-fd"
JobDefs = "Servers2k3"
FileSet = "Win2k3"
Schedule = "Servers"
Spool Data = "">
}
Job
{
Name = "DC1"
Client = "dc1-fd"
JobDefs = "Servers2k3"
FileSet = "Win2k3"
Schedule = "Servers"
Spool Data = "">
}
Job
{
Name = "DC2"
Client = "dc2-fd"
JobDefs = "Servers2k3"
FileSet = "Win2k3"
Schedule = "Servers"
Spool Data = "">
}
Job
{
Name = "Exchsvr"
Client = "exchsvr-fd"
JobDefs = "Servers2k8"
FileSet = "Win2k8"
Schedule = "Servers"
Spool Data = "">
}
Job
{
Name = "Exchange"
Client = "exchsvr-fd"
JobDefs = "Servers2k8"
FileSet = "Exchange"
Schedule = "Exchange"
Spool Data = "">
Pool = Exchange_Daily
}
Job
{
Name = "Filesvr"
Client = "filesvr-fd"
JobDefs = "Servers2k3"
FileSet = "Win2k3"
Schedule = "Servers"
Spool Data = "">
}
Job
{
Name = "ITsvr"
Client = "itsvr-fd"
JobDefs = "General"
FileSet = "ITsvr"
Schedule = "Servers"
Spool Data = "">
}
Job
{
Name = "Jobsvr"
Client = "jobsvr-fd"
JobDefs = "Servers2k3"
FileSet = "Win2k3"
Schedule = "Servers"
Spool Data = "">
}
Job
{
Name = "Keysvr"
Client = "keysvr-fd"
JobDefs = "Servers2k"
FileSet = "Win2k"
Schedule = "Servers"
Spool Data = "">
}
Job
{
Name = "Pltsvr"
Client = "pltsvr-fd"
JobDefs = "Servers2k"
FileSet = "Win2k"
Schedule = "Servers"
Spool Data = "">
}
Job
{
Name = "Secsvr"
Client = "secsvr-fd"
JobDefs = "Servers2k3"
FileSet = "Win2k3"
Schedule = "Servers"
Spool Data = "">
}
Job
{
Name = "VAX Archive"
FileSet = "VAX_Archive"
Client = "bkupsvr-fd"
Pool = "Archive"
Type = Backup
Level = Full
#Schedule = "Isilon General"
Storage = Arcvault
Messages = Standard
Write Bootstrap = "/var/lib/bacula/%i-%c_%n.bsr"
}
Job
{
Name = "ARC1 Archive"
FileSet = "ARC1_Archive"
Client = "bkupsvr-fd"
Pool = "Archive"
Type = Backup
Level = Full
Storage = Arcvault
Messages = Standard
Write Bootstrap = "/var/lib/bacula/%i-%c_%n.bsr"
}
Job
{
Name = "ORTHO Archive"
FileSet = "Ortho_Archive"
Client = "bkupsvr-fd"
Pool = "Archive"
Type = Backup
Level = Full
Storage = Arcvault
Messages = Standard
Write Bootstrap = "/var/lib/bacula/%i-%c_%n.bsr"
}
Job
{
Name = "LiDAR1 Archive"
FileSet = "Lidar1_Archive"
Client = "bkupsvr-fd"
Pool = "Archive"
Type = Backup
Level = Full
Storage = Arcvault
Messages = Standard
Write Bootstrap = "/var/lib/bacula/%i-%c_%n.bsr"
}
Job
{
Name = "Test"
FileSet = "Test"
Client = "bkupsvr-fd"
Pool = "Default"
Type = Backup
Level = Full
Storage = Arcvault
Messages = Standard
Write Bootstrap = "/var/lib/bacula/test.bsr"
}
#####################################################################
##############
Filesets #############################################
#####################################################################
#
List of files to be backed up
FileSet
{
Name = "Full Set"
Include {
Options {
signature = MD5
}
File = /etc
File = /var/lib/bacula
}
}
FileSet
{
Name = "Bkupsvr"
Include {
Options {
signature = MD5
}
File = /etc
File
= /var/lib/bacula
}
}
#
This is the backup of the catalog
FileSet
{
Name = "Catalog"
Include {
Options {
signature = MD5
compression = GZIP
}
File = "/var/lib/bacula"
}
}
FileSet
{
Name = "Isilon General"
Include {
Options {
signature = MD5
IgnoreCase = yes
exclude = yes
WildDir = "/isilon/Jobs/INACTIVE_JOBS"
}
File = "/isilon/Admin"
File = "/isilon/Acct"
File = "/isilon/Arc1"
File = "/isilon/DSP_Projects"
File = "/isilon/Edit"
File = "/isilon/GeoPDF"
File = "/isilon/IT"
File = "/isilon/Jobs"
File = "/isilon/Projects"
File = "/isilon/Proposals"
File = "/isilon/Software"
File = "/isilon/Source"
File = "/isilon/Staging"
File = "/isilon/Wiki"
}
}
FileSet
{
Name = "Isilon Lidar1"
Include {
Options {
signature = MD5
IgnoreCase = yes
}
File = "/isilon/Lidar1"
}
}
FileSet
{
Name = "Isilon Lidar2"
Include {
Options {
signature = MD5
IgnoreCase = yes
}
File = "/isilon/Lidar2"
}
}
FileSet
{
Name = "ITsvr"
Include {
Options {
signature = MD5
}
File = /etc
File
= /boot
File
= /usr/share
File
= /var/www
}
}
FileSet
{
Name = "VAX_Archive"
Include {
Options {
signature = MD5
IgnoreCase = yes
}
File = "/isilon/VAX_Archive"
}
}
FileSet
{
Name = "ARC1_Archive"
Include {
Options {
signature = MD5
IgnoreCase = yes
}
File = "/isilon/Restores/arc1/0000_archive"
}
}
FileSet
{
Name = "Ortho_Archive"
Include {
Options {
signature = MD5
IgnoreCase = yes
}
File = "/isilon/Ortho/_JOBS_READY_TO_ARCHIVE/AA"
}
}
FileSet
{
Name = "Lidar1_Archive"
Include {
Options {
signature = MD5
IgnoreCase = yes
}
File = "/isilon/Lidar1/archive"
}
}
FileSet
{
Name
= "Exchange"
#Enable
VSS = yes
Include
{
Options {
Exclude = Yes
signature = MD5
IgnoreCase = yes
}
#File = "C:/"
Plugin = "exchange:/@EXCHANGE/Microsoft Information Store"
}
}
FileSet
{
Name
= "Win2k"
Include
{
Options {
signature = MD5
Exclude = yes
IgnoreCase = yes
WildDir = "[A-Z]:/Documents and Settings/*"
WildFile = "[A-Z]:/WINNT/security/logs/scepol.log"
WildDir = "[A-Z]:/WINNT/system32/config"
WildDir = "[A-Z]:/WINNT/SoftwareDistribution"
WildDir = "[A-Z]:/WINNT/msdownld.tmp"
WildDir = "[A-Z]:/WINNT/Internet Logs"
WildDir = "[A-Z]:/WINNT/$Nt*Uninstall*"
WildDir = "[A-Z]:/WINNT/sysvol"
WildDir = "[A-Z]:/WINNT/assembly"
WildFile = "[A-Z]:/WINNT/NTDS/edb.log"
WildFile = "[A-Z]:/WINNT/NTDS/ntds.dit"
WildFile = "[A-Z]:/WINNT/NTDS/temp.edb"
WildFile = "[A-Z]:/WINNT/ntfrs/jet/log/edb.log"
WildFile = "[A-Z]:/WINNT/ntfrs/jet/ntfrs.jdb"
WildFile = "[A-Z]:/WINNT/ntfrs/jet/temp/tmp.edb"
WildFile = "[A-Z]:/WINNT/system32/CPL.CFG"
WildFile = "[A-Z]:/WINNT/system32/dhcp/dhcp.mdb"
WildFile = "[A-Z]:/WINNT/system32/dhcp/j50.log"
WildFile = "[A-Z]:/WINNT/system32/dhcp/tmp.edb"
WildFile = "[A-Z]:/WINNT/system32/wins/j50.log"
WildFile = "[A-Z]:/WINNT/system32/wins/wins.mdb"
WildFile = "[A-Z]:/WINNT/system32/wins/winstmp.mdb"
WildDir = "[A-Z]:/WINNT/Temp"
WildDir = "[A-Z]:/temp"
WildFile = "*.tmp"
WildDir = "[A-Z]:/tmp"
WildDir = "[A-Z]:/var/tmp"
WildDir = "[A-Z]:/RECYCLER"
WildFile = "[A-Z]:/pagefile.sys"
WildDir = "[A-Z]:/cygwin"
WildDir = "[A-Z]:/Program Files/Java"
WildDir = "[A-Z]:/Program Files/Java Web Start"
WildDir = "[A-Z]:/Program Files/JavaSoft"
WildDir = "[A-Z]:/Program Files/Microsoft Office"
WildDir = "[A-Z]:/Program Files/Symantec"
WildDir = "[A-Z]:/Program Files/CodeMeter"
WildDir = "[A-Z]:/autodesk"
WildDir = "[A-Z]:/bentley"
WildDir = "[A-Z]:/Eaglepoint"
WildDir = "[A-Z]:/software"
WildDir = "[A-Z]:/temp"
}
File = "C:/"
File = "D:/"
}
}
FileSet
{
Name
= "Win2k3"
Enable
VSS = yes
Include
{
Options {
signature = MD5
Exclude = yes
IgnoreCase = yes
WildDir = "[A-Z]:/Documents and Settings/*"
WildFile = "[A-Z]:/Windows/security/logs/scepol.log"
WildDir = "[A-Z]:/Windows/system32/config"
WildDir = "[A-Z]:/Windows/SoftwareDistribution"
WildDir = "[A-Z]:/Windows/msdownld.tmp"
WildDir = "[A-Z]:/Windows/Internet Logs"
WildDir = "[A-Z]:/Windows/$Nt*Uninstall*"
WildDir = "[A-Z]:/Windows/sysvol"
WildDir = "[A-Z]:/Windows/assembly"
WildFile = "[A-Z]:/Windows/NTDS/edb.log"
WildFile = "[A-Z]:/Windows/NTDS/ntds.dit"
WildFile = "[A-Z]:/Windows/NTDS/temp.edb"
WildFile = "[A-Z]:/Windows/ntfrs/jet/log/edb.log"
WildFile = "[A-Z]:/Windows/ntfrs/jet/ntfrs.jdb"
WildFile = "[A-Z]:/Windows/ntfrs/jet/temp/tmp.edb"
WildFile = "[A-Z]:/Windows/system32/CPL.CFG"
WildDir = "[A-Z]:/Windows/system32/dhcp"
WildDir = "[A-Z]:/Windows/system32/wins"
WildDir = "[A-Z]:/Windows/Temp"
WildDir = "[A-Z]:/temp"
WildFile = "*.tmp"
WildDir = "[A-Z]:/tmp"
WildDir = "[A-Z]:/var/tmp"
WildDir = "[A-Z]:/RECYCLER"
WildFile = "[A-Z]:/pagefile.sys"
WildDir = "[A-Z]:/cygwin"
WildDir = "[A-Z]:/WSUS"
WildDir = "D:/data"
WildDir = "[A-Z]:/Program Files/Java"
WildDir = "[A-Z]:/Program Files/Java Web Start"
WildDir = "[A-Z]:/Program Files/JavaSoft"
WildDir = "[A-Z]:/Program Files/Microsoft Office"
WildDir = "[A-Z]:/Program Files/Microsoft SQL Server
WildDir = "[A-Z]:/Program Files/Trend Micro"
WildDir = "[A-Z]:/Program Files/Symantec"
}
File = "C:/"
File = "D:/"
}
}
FileSet
{
Name
= "Win2k8"
Enable
VSS = yes
Include
{
Options {
Exclude = yes
Ignore Case = yes
signature = MD5
WildFile = "*.tmp"
Wild = "[A-Z]:/pagefile.sys"
WildDir = "[A-Z]:/Boot"
WildDir = "[A-Z]:/Temp"
WildDir = "[A-Z]:/Windows/Temp*"
Wilddir = "*Temporary Internet Files*"
WildDir = "[A-Z]:/Users/*/AppData/*/Mozilla/Firefox/Profiles/*/Cache"
WildDir =
"[A-Z]:/Users/*/AppData/*/Mozilla/Firefox/Profiles/*/*/Cache.Trash"
WildDir = "[A-Z]:/$Recycle.Bin"
WildDir = "[A-Z]:/Documents and Settings"
WildDir = "[A-Z]:/drivers"
#WildDir = "[A-Z]:/Windows"
Wild = "[A-Z]:/Users/*/AppData/*/Microsoft/*"
Wild = "[A-Z]:/Users/*/AppData/*"
WildDir = "[A-Z]:/Users/*/Documents/My Music"
WildDir = "[A-Z]:/Users/*/Documents/My Videos"
WildDir = "[A-Z]:/Users/*/Documents/My Pictures"
Wild = "[A-Z]:/Users/*/Documents/My Music/*"
Wild = "[A-Z]:/Users/*/Documents/My Videos/*"
Wild = "[A-Z]:/Users/*/Documents/My Pictures/*"
WildDir = "[A-Z]:/ProgramData/Application Data"
WildDir = "[A-Z]:/ProgramData/Desktop"
WildDir = "[A-Z]:/ProgramData/Documents"
WildDir = "[A-Z]:/ProgramData/Favorites"
WildDir = "[A-Z]:/ProgramData/Start Menu"
WildDir = "[A-Z]:/ProgramData/Templates"
WildDir = "[A-Z]:/Users/*/Application Data"
WildDir = "[A-Z]:/Users/*/Cookies"
WildDir = "[A-Z]:/Users/*/Local Settings"
WildDir = "[A-Z]:/Users/*/My Documents"
WildDir = "[A-Z]:/Users/*/NetHood"
WildDir = "[A-Z]:/Users/*/PrintHood"
WildDir = "[A-Z]:/Users/*/Recent"
WildDir = "[A-Z]:/Users/*/SendTo"
WildDir = "[A-Z]:/Users/*/Start Menu"
WildDir = "[A-Z]:/Users/*/Templates"
WildDir = "[A-Z]:/Users/Default User"
Wild = "[A-Z]:/Users/*/NTUSER.DAT*"
WildDir = "[A-Z]:/Users/All Users"
WildDir = "[A-Z]:/Program Files/Symantec"
}
File = "C:/"
}
}
FileSet
{
Name
= "SQL"
Include
{
Options {
signature = MD5
IgnoreCase = yes
}
File = "C:/SQLBackups"
}
}
FileSet
{
Name = "Test"
Include {
Options {
signature = MD5
IgnoreCase = yes
}
File = "/isilon/IT/30gb.tmp"
}
}
#####################################################################
##############
Schedules ###########################################
#####################################################################
#
When to do the backups, full backup on first sunday of the month,
#
differential (i.e. incremental since full) every other sunday, and
#
incremental backups other days
Schedule
{
Name = "WeeklyCycle"
Run = Level=Full 1st sun at 23:05
Run = Level=Differential 2nd-5th sun at 23:05
Run = Level=Incremental mon-sat at 23:05
}
#
This schedule does the catalog. It starts after the WeeklyCycle
Schedule
{
Name = "WeeklyCycleAfterBackup"
Run = FullPool="Catalog" Level=Full mon-fri at 5:10
}
Schedule
{
Name
= "Isilon General"
Run
= IncrementalPool="Isilon_Incr" Level=Incremental SpoolData=yes
mon-thu at 18:30
Run
= FullPool="General_Weekly" Level=Full 2nd-5th fri at 18:30
Run
= FullPool="General_Monthly" Level=Full 1st fri at 18:30
}
Schedule
{
Name
= "Isilon Lidar1"
Run
= IncrementalPool="Isilon_Incr" Level=Incremental SpoolData=yes
mon-thu at 19:00
Run
= FullPool="Lidar1_Weekly" Level=Full 2nd-5th fri at 19:00
Run
= FullPool="Lidar1_Monthly" Level=Full 1st fri at 19:00
}
Schedule
{
Name
= "Isilon Lidar2"
#Run
= IncrementalPool="Lidar2_Incr" Level=Incremental 1st-5th Fri at
17:00
Run
= FullPool="Lidar2_Monthly" Level=Full 1st fri at 15:10
}
Schedule
{
Name
= "Exchange"
Run
= FullPool="Exchange_Daily" Level=Full 1st mon-thu at 18:00
Run
= FullPool="Exchange_Monthly" Level=Full 1st fri at 18:00
Run
= FullPool="Exchange_Daily" Level=Full 2nd-5th mon-fri at 18:00
}
Schedule
{
Name
= "Servers"
Run
= FullPool="Servers_Weekly" Level=Full SpoolData=yes 2nd-5th fri at
18:20
Run
= FullPool="Servers_Monthly" Level=Full SpoolData=yes 1st fri at
18:20
}
Schedule
{
Name
= "SQL"
Run
= FullPool="Servers_Weekly" Level=Full SpoolData=yes 2nd-5th fri at
18:10
Run
= FullPool="Servers_Monthly" Level=Full SpoolData=yes 1st fri at
18:10
}
#####################################################################
##############
Clients #############################################
#####################################################################
Client
{
Name = bkupsvr-fd
Address = bkupsvr
FDPort = 9102
Catalog = MyCatalog
Password = "redacted"
File Retention = 30 days # 30 days
Job Retention = 1y # 1
years
AutoPrune = yes #
Prune expired Jobs/Files
Maximum Concurrent Jobs = 20
}
Client
{
Name = acctsvr-fd
Address = acctsvr
FDPort = 9102
Catalog = MyCatalog
Password = "redacted"
File Retention = 60 days
Job Retention = 1y
AutoPrune = yes
}
Client
{
Name = bessvr-fd
Address = bessvr
FDPort = 9102
Catalog = MyCatalog
Password = "redacted"
File Retention = 60 days
Job Retention = 1y
AutoPrune = yes
}
Client
{
Name = dc1-fd
Address = dc1
FDPort = 9102
Catalog = MyCatalog
Password = "redacted"
File Retention = 60 days
Job Retention = 1y
AutoPrune = yes
}
Client
{
Name = dc2-fd
Address = dc2
FDPort = 9102
Catalog = MyCatalog
Password = "redacted"
File Retention = 60 days
Job Retention = 1y
AutoPrune = yes
}
Client
{
Name = exchsvr-fd
Address = exchsvr
FDPort = 9102
Catalog = MyCatalog
Password = "redacted"
File Retention = 60 days
Job Retention = 1y
AutoPrune = yes
}
Client
{
Name = filesvr-fd
Address = filesvr
FDPort = 9102
Catalog = MyCatalog
Password = "redacted"
File Retention = 60 days
Job Retention = 1y
AutoPrune = yes
}
Client
{
Name = jobsvr-fd
Address = jobsvr
FDPort = 9102
Catalog = MyCatalog
Password = "redacted"
File Retention = 60 days
Job Retention = 1y
AutoPrune = yes
}
Client
{
Name = keysvr-fd
Address = keysvr
FDPort = 9102
Catalog = MyCatalog
Password = "redacted"
File Retention = 60 days
Job Retention = 1y
AutoPrune = yes
}
Client
{
Name = pltsvr-fd
Address = pltsvr
FDPort = 9102
Catalog = MyCatalog
Password = "redacted"
File Retention = 60 days
Job Retention = 1y
AutoPrune = yes
}
Client
{
Name = secsvr-fd
Address = secsvr
FDPort = 9102
Catalog = MyCatalog
Password = "redacted"
File Retention = 60 days
Job Retention = 1y
AutoPrune = yes
}
Client
{
Name = itadmin-fd
Address = itadmin
FDPort = 9102
Catalog = MyCatalog
Password = "redacted"
File Retention = 60 days
Job Retention = 1y
AutoPrune = yes
}
Client
{
Name = itsvr-fd
Address = itsvr
FDPort = 9102
Catalog = MyCatalog
Password = "redacted"
File Retention = 60 days
Job Retention = 1y
AutoPrune = yes
}
#####################################################################
##############
Storage ##############################################
#####################################################################
Storage
{
Name = File
Address = bkupsvr
SDPort = 9103
Password = "redacted"
Device = FileStorage
Media Type = File
}
Storage
{
Name = Arcvault
Address = bkupsvr
SDPort = 9103
Password = "redacted"
Device = Arcvault48 # must be same as Device in Storage daemon
Media Type = LTO-4 # must be same as MediaType in Storage daemon
Autochanger = yes # enable for autochanger device
Maximum Concurrent Jobs = 2
}
#####################################################################
#############
Catalog ###############################################
#####################################################################
Catalog
{
Name = MyCatalog
dbname = "bacula"; dbuser = "bacula"; dbpassword =
"redacted"
}
#####################################################################
#############
Alerts ################################################
#####################################################################
#
Reasonable message delivery -- send most everything to email address
#
and to the console
Messages
{
Name = Standard
#
#
NOTE! If you send to two email or more email addresses, you will need
#
to replace the %r in the from field (-f part) with a single valid
#
email address in both the mailcommand and the operatorcommand. What
#
this does is, it sets the email address that emails would display in
#
the FROM field, which is by default the same email as they're being
#
sent to. However, if you send email to more than one address, then
#
you'll have to set the FROM address manually, to a single address.
#
for example, a 'no-reply AT mydomain DOT com', is better since that tends to
#
tell (most) people that its coming from an automated source.
#
mailcommand = "/usr/sbin/bsmtp -h exchsvr -f \"\(Bacula\)
\<%r\>\" -s \"Bacula: %t %e of %c %l\" %r"
operatorcommand = "/usr/sbin/bsmtp -h exchsvr -f \"\(Bacula\)
\<%r\>\" -s \"Bacula: Intervention needed for %j\"
%r"
#mail = email AT company DOT com = all, !skipped
mail = email AT company DOT com = warning, error, fatal, mount, !skipped
operator = email AT company DOT com = mount
console = all, !skipped, !saved
#
#
WARNING! the following will create a file that you must cycle from
#
time to time as it will grow indefinitely. However, it will
#
also keep all your messages if they scroll off the console.
#
append = "/var/lib/bacula/log" = all, !skipped
catalog = all, !skipped, !saved
}
#
#
Message delivery for daemon messages (no job).
Messages
{
Name = Daemon
mailcommand = "/usr/sbin/bsmtp -h exchsvr -f \"\(Bacula\)
\<%r\>\" -s \"Bacula daemon message\" %r"
mail = email AT company DOT com = all, !skipped
console = all, !skipped, !saved
append = "/var/lib/bacula/log" = all, !skipped
}
#####################################################################
#############
Pools #################################################
#####################################################################
Pool
{
Name = Default
Pool Type = Backup
Recycle =
yes
# Bacula can automatically recycle Volumes
AutoPrune =
yes #
Prune expired volumes
File Retention = 21d
Job Retention = 21d
Volume Retention = 21d
Cleaning Prefix = CLN
RecyclePool = Scratch
}
#
Scratch pool definition
Pool
{
Name = Scratch
Pool Type = Backup
Cleaning Prefix = CLN
}
Pool
{
Name = "Servers_Weekly"
Pool Type = Backup
Recycle = yes
AutoPrune = yes
File Retention = 21d
Job Retention = 21d
Volume Retention = 21d
Catalog Files = yes
Cleaning Prefix = CLN
RecyclePool = Scratch
}
Pool
{
Name = "Servers_Monthly"
Pool Type = Backup
Recycle = yes
AutoPrune = yes
File Retention = 7y
Job Retention = 7y
Volume Retention = 7y
Catalog Files = yes
Cleaning Prefix = CLN
RecyclePool = Scratch
}
Pool
{
Name = "Exchange_Daily"
Pool
Type = Backup
Recycle = yes
AutoPrune = yes
File Retention = 21d
Job Retention = 21d
Volume Retention = 21d
Catalog Files = yes
Cleaning Prefix = CLN
RecyclePool = Scratch
Maximum Volume Jobs = 5
}
Pool
{
Name = "Exchange_Monthly"
Pool Type = Backup
Recycle = yes
AutoPrune = yes
File Retention = 7y
Job Retention = 7y
Volume Retention = 7y
Catalog Files = yes
Cleaning Prefix = CLN
RecyclePool = Scratch
}
Pool
{
Name = "Isilon_Incr"
Pool Type = Backup
Recycle = yes
AutoPrune = yes
File Retention = 7d
Job Retention = 7d
Volume Retention = 6d
Catalog Files = yes
Cleaning Prefix = CLN
RecyclePool = Scratch
Maximum Volume Jobs = 10
}
Pool
{
Name = "General_Weekly"
Pool Type = Backup
Recycle
= yes
AutoPrune = yes
File Retention = 21d
Job Retention = 21d
Volume Retention = 21d
Catalog Files = yes
Cleaning Prefix = CLN
RecyclePool = Scratch
Maximum Volume Jobs = 1
}
Pool
{
Name = "General_Monthly"
Pool Type = Backup
Recycle = yes
AutoPrune = yes
File Retention = 7y
Job Retention = 7y
Volume Retention = 7y
Catalog Files = yes
Cleaning Prefix = CLN
Maximum Volume Jobs = 1
RecyclePool = Scratch
}
Pool
{
Name = "Lidar1_Weekly"
Pool Type = Backup
Recycle = yes
AutoPrune = yes
File Retention = 21d
Job Retention = 21d
Volume Retention = 21d
Catalog Files = yes
Cleaning Prefix = CLN
RecyclePool = Scratch
Maximum Volume Jobs = 1
}
Pool
{
Name = "Lidar1_Monthly"
Pool Type = Backup
Recycle = yes
AutoPrune = yes
File Retention = 7y
Job Retention = 7y
Volume Retention = 7y
Catalog Files = yes
Cleaning Prefix = CLN
RecyclePool = Scratch
Maximum Volume Jobs = 1
}
Pool
{
Name = "Lidar2_Monthly"
Pool Type = Backup
Recycle = yes
AutoPrune = yes
File Retention = 7y
Job Retention = 7y
Volume Retention = 7y
Catalog Files = yes
Cleaning Prefix = CLN
RecyclePool = Scratch
Maximum Volume Jobs = 1
}
Pool
{
Name = "Archive"
Pool Type = Backup
File Retention = 30y
Job Retention = 30y
Recycle = no
Auto Prune = no
Volume Retention = 30y
#Accept Any Volume = yes
Cleaning Prefix = CLN
Maximum Volume Jobs = 1
}
Pool
{
Name = "Catalog"
Pool Type = Backup
Recycle = yes
Auto Prune = yes
File Retention = 7y
Job Retention = 7y
Volume Retention = 6d
Cleaning Prefix = CLN
RecyclePool = Scratch
Maximum Volume Jobs = 1
}
#Pool
{
#
Name = "Daily"
#
Pool Type = Backup
#
Recycle = yes
#
AutoPrune = yes
#
Volume Retention = 30 days
#
Catalog Files = yes
#
Cleaning Prefix = CLN
#
RecyclePool = Scratch
#
Maximum Volume Jobs = 5
#}
Pool
{
Name = "Lidar2_Incr"
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume
Retention = 90 days
Catalog Files = yes
RecyclePool = Scratch
Cleaning Prefix = CLN
#Maximum Volume Jobs = 5
}
#####################################################################
#############
Console ###############################################
#####################################################################
#
Restricted console used by tray-monitor to get the status of the
#
director
Console
{
Name = bkupsvr-mon
Password = "redacted"
CommandACL = status, .status
}