Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Director {
- Name = NONAME-Backups-dir
- QueryFile = "/etc/bacula/scripts/query.sql"
- WorkingDirectory = "/var/lib/bacula"
- PidDirectory = "/var/run/bacula"
- Maximum Concurrent Jobs = 1
- Pass = "NULL"
- Messages = Daemon
- DirAddresses = {
- ip = { addr = 127.0.0.1 }
- ip = { addr = 192.168.1.54 }
- }
- }
- Job {
- Name = "Restore-Basic"
- Type = Restore
- Client=NONAME-Backups-fd
- FileSet="FILESET-FullSet"
- Storage = STORAGE-Default
- Pool = POOL-Default
- Messages = Standard
- Where = /restore
- }
- Job {
- Name = "Restore-BareMetal"
- Type = Restore
- Client=NONAME-Backups-fd
- FileSet="FILESET-FullSet"
- Storage = STORAGE-Default
- Pool = POOL-Default
- Messages = Standard
- Where = /
- }
- Job {
- Name = "JOB-x0.NONAME.com"
- JobDefs = "JOBDEFS-x0.NONAME.com"
- Accurate = yes
- }
- Job {
- Name = "JOB-x1.NONAME.com"
- JobDefs = "JOBDEFS-x1.NONAME.com"
- Accurate = yes
- Client Run Before Job = "/scripts/runbackup"
- Client Run After Job = "/scripts/postcpbackup"
- }
- JobDefs {
- Name = "JOBDEFS-x0.NONAME.com"
- Type = Backup
- Level = Incremental
- Client = x0.NONAME.com-fd
- FileSet = "FILESET-x0.NONAME.com"
- Schedule = "SCHEDULE-x0.NONAME.com"
- Messages = Standard
- Pool = POOL-x0.NONAME.com-Daily
- Priority = 10
- }
- JobDefs {
- Name = "JOBDEFS-x1.NONAME.com"
- Type = Backup
- Level = Incremental
- Client = x1.NONAME.com-fd
- FileSet = "FILESET-x1.NONAME.com"
- Schedule = "SCHEDULE-x1.NONAME.com"
- Messages = Standard
- Pool = POOL-x1.NONAME.com-Daily
- Priority = 10
- }
- FileSet {
- Name = "FILESET-FullSet"
- Include {
- Options {
- signature = MD5
- }
- File = /
- }
- }
- FileSet {
- Name = "FILESET-x0.NONAME.com"
- Include {
- Options {
- signature = MD5
- onefs = no
- }
- File = /
- }
- Exclude {
- File = /proc
- File = /tmp
- File = /.journal
- File = /.fsck
- File = /dev
- File = /selinux
- File = /sys
- File = /lost+found
- }
- }
- FileSet {
- Name = "FILESET-x1.NONAME.com"
- Include {
- Options {
- signature = MD5
- onefs = no
- }
- File = /
- }
- Exclude {
- File = /proc
- File = /tmp
- File = /.journal
- File = /.fsck
- File = /dev
- File = /selinux
- File = /sys
- File = /lost+found
- File = /home/virtfs
- }
- }
- Schedule {
- Name = "SCHEDULE-x0.NONAME.com"
- Run = Level=VirtualFull IncrementalPool=POOL-x0.NONAME.com-Daily FullPool=POOL-x0.NONAME.com-Weekly sun at 12:00
- Run = Level=Incremental IncrementalPool=POOL-x0.NONAME.com-Daily FullPool=POOL-x0.NONAME.com-Weekly sun-sat at 00:00
- }
- Schedule {
- Name = "SCHEDULE-x1.NONAME.com"
- Run = Level=VirtualFull IncrementalPool=POOL-x1.NONAME.com-Daily FullPool=POOL-x1.NONAME.com-Weekly sun at 12:00
- Run = Level=Incremental IncrementalPool=POOL-x1.NONAME.com-Daily FullPool=POOL-x1.NONAME.com-Weekly sun-sat at 01:00
- }
- Client {
- Name = NONAME-Backups-fd
- Address = localhost
- FDPort = 9102
- Heartbeat Interval = 5 minutes
- Catalog = MyCatalog
- Pass = "NULL" # Pass for FileDaemon
- File Retention = 30 days # 30 days
- Job Retention = 6 months # six months
- AutoPrune = yes # Prune expired Jobs/Files
- }
- Client {
- Name = x0.NONAME.com-fd
- Address = x0.NONAME.com
- FDPort = 9102
- Heartbeat Interval = 5 minutes
- Catalog = MyCatalog
- Pass = "NULL" # Pass for FileDaemon
- File Retention = 30 days # 30 days
- Job Retention = 6 months # six months
- AutoPrune = yes # Prune expired Jobs/Files
- }
- Client {
- Name = x1.NONAME.com-fd
- Address = x1.NONAME.com
- FDPort = 9102
- Heartbeat Interval = 30 sec
- Catalog = MyCatalog
- Pass = "NULL"
- File Retention = 30 days # 30 days
- Job Retention = 6 months # six months
- AutoPrune = yes # Prune expired Jobs/Files
- }
- Storage {
- Name = STORAGE-Default
- Address = home.NONAME.com # N.B. Use a fully qualified name here
- SDPort = 9103
- Pass = "NULL"
- Device = DEVICE-Default
- Media Type = File
- }
- Storage {
- Name = STORAGE-x0.NONAME.com-1
- Address = home.NONAME.com # N.B. Use a fully qualified name here
- SDPort = 9103
- Pass = "NULL"
- Device = DEVICE-x0.NONAME.com-1
- Media Type = File
- }
- Storage {
- Name = STORAGE-x0.NONAME.com-2
- Address = home.NONAME.com # N.B. Use a fully qualified name here
- SDPort = 9103
- Pass = "NULL"
- Device = DEVICE-x0.NONAME.com-2
- Media Type = File
- }
- Storage {
- Name = STORAGE-x1.NONAME.com-1
- Address = home.NONAME.com # N.B. Use a fully qualified name here
- SDPort = 9103
- Pass = "NULL"
- Device = DEVICE-x1.NONAME.com-1
- Media Type = File
- }
- Storage {
- Name = STORAGE-x1.NONAME.com-2
- Address = home.NONAME.com # N.B. Use a fully qualified name here
- SDPort = 9103
- Pass = "NULL"
- Device = DEVICE-x1.NONAME.com-2
- Media Type = File
- }
- Catalog {
- Name = MyCatalog
- dbname = "bacula"; dbuser = "bacula"; dbPass = "ety245p"
- }
- Messages {
- Name = Standard
- mailcommand = "/usr/local/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula: %t %e of %c %l\" %r"
- operatorcommand = "/usr/local/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula: Intervention needed for %j\" %r"
- mail = NOONE@NONAME.com = all, !skipped
- operator = root@localhost = mount
- console = all, !skipped, saved
- append = "/var/lib/bacula/log" = all, !skipped
- }
- Messages {
- Name = Daemon
- mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula daemon message\" %r"
- mail = root@localhost = all, !skipped
- console = all, !skipped, saved
- append = "/var/lib/bacula/log" = all, !skipped
- }
- Pool {
- Name = POOL-Default
- Storage = STORAGE-Default
- Pool Type = Backup
- Recycle = yes
- AutoPrune = yes
- Volume Retention = 1 days
- }
- Pool {
- Name = POOL-x0.NONAME.com-Daily
- Storage = STORAGE-x0.NONAME.com-1
- Pool Type = Backup
- Recycle = yes
- AutoPrune = yes
- Maximum Volumes = 14
- Use Volume Once = yes
- Purge Oldest Volume = yes
- Volume Retention = 1 days
- Next Pool = POOL-x0.NONAME.com-Weekly
- }
- Pool {
- Name = POOL-x0.NONAME.com-Weekly
- Storage = STORAGE-x0.NONAME.com-2
- Pool Type = Backup
- Recycle = yes
- AutoPrune = yes
- Maximum Volumes = 2
- Use Volume Once = yes
- Purge Oldest Volume = yes
- Volume Retention = 1 days
- }
- Pool {
- Name = POOL-x1.NONAME.com-Daily
- Storage = STORAGE-x1.NONAME.com-1
- Pool Type = Backup
- Recycle = yes
- AutoPrune = yes
- Maximum Volumes = 14
- Use Volume Once = yes
- Purge Oldest Volume = yes
- Next Pool = POOL-x1.NONAME.com-Weekly
- Volume Retention = 1 days
- }
- Pool {
- Name = POOL-x1.NONAME.com-Weekly
- Storage = STORAGE-x1.NONAME.com-2
- Pool Type = Backup
- Recycle = yes
- AutoPrune = yes
- Maximum Volumes = 2
- Use Volume Once = yes
- Purge Oldest Volume = yes
- Volume Retention = 1 days
- }
- Console {
- Name = NONAME-Backups-mon
- Pass = "NULL"
- CommandACL = status, .status
- }
Add Comment
Please, Sign In to add comment