Schedule {
Name = "servername"
Run = Level=Full Pool=servername-full sun at 2:00
Run = Level=Differential Pool=servername-diff mon-sat at 2:00
Run = Level=Incremental Pool=servername-inc hourly at 0:05
Run = Level=Incremental Pool=servername-inc hourly at 0:35
}
Client {
Name = servername-fd
Maximum Concurrent Jobs = 10
Address = servername
FDPort = 9102
Catalog = MyCatalog
Password = "l3tm3in" # password for FileDaemon
File Retention = 7 days # 30 days
Job Retention = 2 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
Pool {
Name = servername
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 6 days # one year
Maximum Volume Bytes = 5G # Limit Volume size to something reasonable
Maximum Volumes = 100 # Limit number of Volumes in Pool
Next Pool = TapeCopy
LabelFormat = "servername-"
Storage = servername
}
Pool {
Name = servername-full
Pool Type = Backup
Recycle = yes # automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Next Pool = TapeCopy
Volume Retention = 6 months
Maximum Volume Bytes = 5G
Storage = servername
Label Format = "servername-full-"
Maximum Volumes = 100
}
Pool {
Name = servername-inc
Pool Type = Backup
Recycle = yes # automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 1 month
Maximum Volume Bytes = 1G
Storage = servername
Label Format = "servername-inc-"
Maximum Volumes = 100
}
Pool {
Name = servername-diff
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 14 days
Maximum Volume Bytes = 5G
Storage = servername
Label Format = "servername-diff-"
Maximum Volumes = 100
}
Job {
Name = "servername-fd" #Change this
Type = Backup
Maximum Concurrent Jobs = 10
Client = servername-fd #Change this
FileSet = "dnsdata_servername" #Change this
Schedule = "servername"
Messages = Standard
Storage = servername
Pool = servername
Full Backup Pool = servername-full
Incremental Backup Pool = servername-inc
Differential Backup Pool = servername-diff
Write Bootstrap = "/var/lib/bacula/%c.bsr"
}
FileSet {
Name = "dnsdata_servername"
Include {
Options {
compression = GZIP
}
File = /home/
File = /etc/
File = /root/
File = /var/named/
}
}
Job {
Name = "servername-copy"
Type = Copy
Level = Full
Client = servername-fd
FileSet = "dnsdata_servername"
Messages = Standard
Pool = servername
Storage = LTO4Tape
Full Backup Pool = servername-full
Maximum Concurrent Jobs = 10
Selection Type = SQLQuery
Selection Pattern = "SELECT MAX(Job.JobId) FROM Job, Pool WHERE Job.Level = 'F' and Job.Type = 'B' and Job.JobStatus = 'T' and Pool.Name = 'servername-full' and Job.PoolId = Pool.PoolId GROUP BY Job.Name ORDER BY Job.JobId;"
}
Storage {
Name = servername
Maximum Concurrent Jobs = 10
Address = mystorage-sd # N.B. Use a fully qualified name here
SDPort = 9103
Password = "password"
Device = servername
Media Type = File
}
I mirrored another setup I saw online that stated this works with the Quantum Superloader 3.