Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Director { # define myself
- Name = edward-dir
- QueryFile = "/etc/bacula/scripts/query.sql"
- WorkingDirectory = "/var/lib/bacula"
- PidDirectory = "/var/run/bacula"
- Maximum Concurrent Jobs = 3
- Heartbeat Interval = 15
- Password = "" # Console password
- Messages = Daemon
- DirAddresses = {
- ip = { addr = 192.168.0.1; port = 9101; }
- ip = { addr = 127.0.0.1; port = 9101; }
- ip = { addr = dyn.kanojo.de; port = 9101; }
- }
- }
- #########################################################
- # JOB DEFINITION #
- #########################################################
- Job {
- Name = "edward"
- Type = Backup
- Level = Differential
- Client = edward-fd
- FileSet = "Edward Set"
- Schedule = "EdwardWeeklyCycle"
- Storage = File-Edward
- Messages = Standard
- Pool = EdwardPool
- Full Backup Pool = EdwardFullPool
- Priority = 10
- }
- Job {
- Name = "ghostdubnew"
- Type = Backup
- Level = Differential
- Client = ghostdubnew-fd
- FileSet = "GhostdubNew Set"
- Schedule = "GhostdubNewWeeklyCycle"
- Storage = File-GhostdubNew
- Messages = Standard
- Pool = GhostdubNewPool
- Full Backup Pool = GhostdubNewFullPool
- Priority = 10
- }
- #Job {
- # Name = "RestoreFiles"
- # Type = Restore
- # Client="ghostdubnew-fd"
- # FileSet="GhostdubNew Set"
- # Storage = File-GhostdubNew
- # Pool = GhostdubNewPool
- # Messages = Standard
- # Where = /tmp/bacula-restores
- #}
- #Job {
- # Name = "ghostdubnew-full"
- # Type = Backup
- # Level = Full
- # Client = ghostdubnew-fd
- # FileSet = "GhostdubNew Set"
- # #Schedule = "GhostdubNewWeeklyCycle"
- # Storage = File-GhostdubNew
- # Messages = Standard
- # Pool = GhostdubNewPool
- # Full Backup Pool = GhostdubNewFullPool
- # Priority = 10
- }
- Job {
- Name = "cheza"
- Type = Backup
- Level = Differential
- Client = cheza-fd
- FileSet = "Cheza Set"
- Schedule = "ChezaWeeklyCycle"
- Storage = File-Cheza
- Messages = Standard
- Pool = ChezaPool
- Full Backup Pool = ChezaFullPool
- Priority = 10
- RunBeforeJob = /etc/bacula/scripts/cheza_wakeup
- RunAfterJob = /etc/bacula/scripts/cheza_suspend
- }
- #########################################################
- # FILE SET DEFINITION #
- #########################################################
- FileSet {
- Name = "Edward Set"
- Include {
- Options {
- signature = MD5
- }
- File = /
- }
- Exclude {
- File = /proc
- File = /tmp
- File = /.journal
- File = /.fsck
- File = /mnt
- File = /media
- File = /store
- File = /store
- }
- }
- FileSet {
- Name = "Catalog"
- Include {
- Options {
- signature = MD5
- }
- File = /var/lib/bacula/bacula.sql
- }
- }
- FileSet {
- Name = "GhostdubNew Set"
- Include {
- Options {
- signature = MD5
- }
- File = /
- File = /boot
- }
- Exclude {
- File = /proc
- File = /tmp
- File = /.journal
- File = /.fsck
- File = /mnt
- File = /media
- }
- }
- FileSet {
- Name = "Cheza Set"
- Include {
- Options {
- signature = MD5
- }
- File = /
- }
- Exclude {
- File = /proc
- File = /tmp
- File = /.journal
- File = /.fsck
- File = /mnt
- File = /media
- File = /store
- File = /dta
- File = /edward
- File = /ext
- File = /store2
- File = /store3
- File = /data
- }
- }
- #########################################################
- # SCHEDULE DEFINITION #
- #########################################################
- Schedule {
- Name = "EdwardWeeklyCycle"
- Run = Full 2nd sun at 03:05
- Run = Differential tue at 03:05
- Run = Differential thu at 03:05
- Run = Differential sat at 03:05
- }
- Schedule {
- Name = "GhostdubNewWeeklyCycle"
- Run = Full 2nd sun at 03:05
- Run = Differential tue at 04:05
- Run = Differential thu at 04:05
- Run = Differential sat at 04:05
- }
- Schedule {
- Name = "ChezaWeeklyCycle"
- Run = Full 2nd sun at 05:05
- Run = Differential tue at 05:05
- Run = Differential thu at 05:05
- Run = Differential sat at 05:05
- }
- #########################################################
- # CLIENT DEFINITION #
- #########################################################
- Client {
- Name = edward-fd
- Address = edward
- FDPort = 9102
- Catalog = MyCatalog
- Password = "" # password for FileDaemon
- File Retention = 30 days # 30 days
- Job Retention = 30 days # six months
- AutoPrune = yes # Prune expired Jobs/Files
- }
- Client {
- Name = ghostdubnew-fd
- Address = ghostdub.de
- FDPort = 9105
- Catalog = MyCatalog
- Password = "" # password for FileDaemon
- File Retention = 30 days # 30 days
- Job Retention = 30 days # six months
- AutoPrune = yes # Prune expired Jobs/Files
- }
- Client {
- Name = cheza-fd
- Address = cheza
- FDPort = 9102
- Catalog = MyCatalog
- Password = "" # password for FileDaemon
- File Retention = 30 days # 30 days
- Job Retention = 30 days # six months
- AutoPrune = yes # Prune expired Jobs/Files
- }
- #########################################################
- # STORAGE DEFINITION #
- #########################################################
- Storage {
- Name = File-Edward
- Address = edward # N.B. Use a fully qualified name here
- SDPort = 9103
- Password = ""
- Device = FileStorage-Edward
- Media Type = File
- Heartbeat Interval = 15
- }
- Storage {
- Name = File-GhostdubNew
- Address = dyn.kanojo.de # N.B. Use a fully qualified name here
- SDPort = 9103
- Password = ""
- Device = FileStorage-GhostdubNew
- Media Type = File
- Heartbeat Interval = 15
- }
- Storage {
- Name = File-Cheza
- Address = edward # N.B. Use a fully qualified name here
- SDPort = 9103
- Password = ""
- Device = FileStorage-Cheza
- Media Type = File
- Heartbeat Interval = 15
- }
- #########################################################
- # CATALOG DEFINITION #
- #########################################################
- Catalog {
- Name = MyCatalog
- dbname = bacula; password = "@db_pswd@"
- }
- #########################################################
- # POOL DEFINITION #
- #########################################################
- Pool {
- Name = EdwardPool
- Pool Type = Backup
- Recycle = yes # Bacula can automatically recycle Volumes
- AutoPrune = yes # Prune expired volumes
- Volume Retention = 14 days
- Recycle = yes
- Recycle Oldest Volume = yes
- #Accept Any Volume = yes # write on any volume in the pool
- Maximum Volume Jobs = 1
- LabelFormat = "Edward"
- }
- Pool {
- Name = EdwardFullPool
- Pool Type = Backup
- Recycle = yes # Bacula can automatically recycle Volumes
- AutoPrune = yes # Prune expired volumes
- Volume Retention = 30 days # one year
- Recycle = yes
- Recycle Oldest Volume = yes
- #Accept Any Volume = yes # write on any volume in the pool
- Maximum Volume Jobs = 1
- LabelFormat = "EdwardFull"
- }
- Pool {
- Name = GhostdubNewPool
- Pool Type = Backup
- Recycle = yes # Bacula can automatically recycle Volumes
- AutoPrune = yes # Prune expired volumes
- Volume Retention = 14 days # one year
- Recycle = yes
- Recycle Oldest Volume = yes
- #Accept Any Volume = yes # write on any volume in the pool
- Maximum Volume Jobs = 1
- LabelFormat = "GhostdubNew"
- }
- Pool {
- Name = GhostdubNewFullPool
- Pool Type = Backup
- Recycle = yes # Bacula can automatically recycle Volumes
- AutoPrune = yes # Prune expired volumes
- Volume Retention = 30 days # one year
- Recycle = yes
- Recycle Oldest Volume = yes
- #Accept Any Volume = yes # write on any volume in the pool
- Maximum Volume Jobs = 1
- LabelFormat = "GhostdubNewFull"
- }
- Pool {
- Name = ChezaPool
- Pool Type = Backup
- Recycle = yes # Bacula can automatically recycle Volumes
- AutoPrune = yes
- Volume Retention = 14 days # one year
- Recycle = yes
- Recycle Oldest Volume = yes
- #Accept Any Volume = yes # write on any volume in the pool
- Maximum Volume Jobs = 1
- LabelFormat = "Cheza"
- }
- Pool {
- Name = ChezaFullPool
- Pool Type = Backup
- Recycle = yes # Bacula can automatically recycle Volumes
- AutoPrune = yes
- Volume Retention = 30 days # one year
- Recycle = yes
- Recycle Oldest Volume = yes
- #Accept Any Volume = yes # write on any volume in the pool
- Maximum Volume Jobs = 1
- LabelFormat = "ChezaFull"
- }
- #########################################################
- # MISC DEFINITION #
- #########################################################
- Messages {
- Name = Standard
- mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
- operatorcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
- mail = bacula@nebuk.de = all, !skipped
- operator = bacula@nebuk.de = 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 = bacula@nebuk.de = all, !skipped
- console = all, !skipped, !saved
- append = "/var/lib/bacula/log" = all, !skipped
- }
- Console {
- Name = edward-mon
- Password = ""Director { # define myself
- Name = edward-dir
- QueryFile = "/etc/bacula/scripts/query.sql"
- WorkingDirectory = "/var/lib/bacula"
- PidDirectory = "/var/run/bacula"
- Maximum Concurrent Jobs = 3
- Heartbeat Interval = 15
- Password = "" # Console password
- Messages = Daemon
- DirAddresses = {
- ip = { addr = 192.168.0.1; port = 9101; }
- ip = { addr = 127.0.0.1; port = 9101; }
- ip = { addr = dyn.kanojo.de; port = 9101; }
- }
- }
- #########################################################
- # JOB DEFINITION #
- #########################################################
- Job {
- Name = "edward"
- Type = Backup
- Level = Differential
- Client = edward-fd
- FileSet = "Edward Set"
- Schedule = "EdwardWeeklyCycle"
- Storage = File-Edward
- Messages = Standard
- Pool = EdwardPool
- Full Backup Pool = EdwardFullPool
- Priority = 10
- }
- Job {
- Name = "ghostdubnew"
- Type = Backup
- Level = Differential
- Client = ghostdubnew-fd
- FileSet = "GhostdubNew Set"
- Schedule = "GhostdubNewWeeklyCycle"
- Storage = File-GhostdubNew
- Messages = Standard
- Pool = GhostdubNewPool
- Full Backup Pool = GhostdubNewFullPool
- Priority = 10
- }
- #Job {
- # Name = "RestoreFiles"
- # Type = Restore
- # Client="ghostdubnew-fd"
- # FileSet="GhostdubNew Set"
- # Storage = File-GhostdubNew
- # Pool = GhostdubNewPool
- # Messages = Standard
- # Where = /tmp/bacula-restores
- #}
- #Job {
- # Name = "ghostdubnew-full"
- # Type = Backup
- # Level = Full
- # Client = ghostdubnew-fd
- # FileSet = "GhostdubNew Set"
- # #Schedule = "GhostdubNewWeeklyCycle"
- # Storage = File-GhostdubNew
- # Messages = Standard
- # Pool = GhostdubNewPool
- # Full Backup Pool = GhostdubNewFullPool
- # Priority = 10
- }
- Job {
- Name = "cheza"
- Type = Backup
- Level = Differential
- Client = cheza-fd
- FileSet = "Cheza Set"
- Schedule = "ChezaWeeklyCycle"
- Storage = File-Cheza
- Messages = Standard
- Pool = ChezaPool
- Full Backup Pool = ChezaFullPool
- Priority = 10
- RunBeforeJob = /etc/bacula/scripts/cheza_wakeup
- RunAfterJob = /etc/bacula/scripts/cheza_suspend
- }
- #########################################################
- # FILE SET DEFINITION #
- #########################################################
- FileSet {
- Name = "Edward Set"
- Include {
- Options {
- signature = MD5
- }
- File = /
- }
- Exclude {
- File = /proc
- File = /tmp
- File = /.journal
- File = /.fsck
- File = /mnt
- File = /media
- File = /store
- File = /store
- }
- }
- FileSet {
- Name = "Catalog"
- Include {
- Options {
- signature = MD5
- }
- File = /var/lib/bacula/bacula.sql
- }
- }
- FileSet {
- Name = "GhostdubNew Set"
- Include {
- Options {
- signature = MD5
- }
- File = /
- File = /boot
- }
- Exclude {
- File = /proc
- File = /tmp
- File = /.journal
- File = /.fsck
- File = /mnt
- File = /media
- }
- }
- FileSet {
- Name = "Cheza Set"
- Include {
- Options {
- signature = MD5
- }
- File = /
- }
- Exclude {
- File = /proc
- File = /tmp
- File = /.journal
- File = /.fsck
- File = /mnt
- File = /media
- File = /store
- File = /dta
- File = /edward
- File = /ext
- File = /store2
- File = /store3
- File = /data
- }
- }
- #########################################################
- # SCHEDULE DEFINITION #
- #########################################################
- Schedule {
- Name = "EdwardWeeklyCycle"
- Run = Full 2nd sun at 03:05
- Run = Differential tue at 03:05
- Run = Differential thu at 03:05
- Run = Differential sat at 03:05
- }
- Schedule {
- Name = "GhostdubNewWeeklyCycle"
- Run = Full 2nd sun at 03:05
- Run = Differential tue at 04:05
- Run = Differential thu at 04:05
- Run = Differential sat at 04:05
- }
- Schedule {
- Name = "ChezaWeeklyCycle"
- Run = Full 2nd sun at 05:05
- Run = Differential tue at 05:05
- Run = Differential thu at 05:05
- Run = Differential sat at 05:05
- }
- #########################################################
- # CLIENT DEFINITION #
- #########################################################
- Client {
- Name = edward-fd
- Address = edward
- FDPort = 9102
- Catalog = MyCatalog
- Password = "" # password for FileDaemon
- File Retention = 30 days # 30 days
- Job Retention = 30 days # six months
- AutoPrune = yes # Prune expired Jobs/Files
- }
- Client {
- Name = ghostdubnew-fd
- Address = ghostdub.de
- FDPort = 9105
- Catalog = MyCatalog
- Password = "" # password for FileDaemon
- File Retention = 30 days # 30 days
- Job Retention = 30 days # six months
- AutoPrune = yes # Prune expired Jobs/Files
- }
- Client {
- Name = cheza-fd
- Address = cheza
- FDPort = 9102
- Catalog = MyCatalog
- Password = "" # password for FileDaemon
- File Retention = 30 days # 30 days
- Job Retention = 30 days # six months
- AutoPrune = yes # Prune expired Jobs/Files
- }
- #########################################################
- # STORAGE DEFINITION #
- #########################################################
- Storage {
- Name = File-Edward
- Address = edward # N.B. Use a fully qualified name here
- SDPort = 9103
- Password = ""
- Device = FileStorage-Edward
- Media Type = File
- Heartbeat Interval = 15
- }
- Storage {
- Name = File-GhostdubNew
- Address = dyn.kanojo.de # N.B. Use a fully qualified name here
- SDPort = 9103
- Password = ""
- Device = FileStorage-GhostdubNew
- Media Type = File
- Heartbeat Interval = 15
- }
- Storage {
- Name = File-Cheza
- Address = edward # N.B. Use a fully qualified name here
- SDPort = 9103
- Password = ""
- Device = FileStorage-Cheza
- Media Type = File
- Heartbeat Interval = 15
- }
- #########################################################
- # CATALOG DEFINITION #
- #########################################################
- Catalog {
- Name = MyCatalog
- dbname = bacula; password = "@db_pswd@"
- }
- #########################################################
- # POOL DEFINITION #
- #########################################################
- Pool {
- Name = EdwardPool
- Pool Type = Backup
- Recycle = yes # Bacula can automatically recycle Volumes
- AutoPrune = yes # Prune expired volumes
- Volume Retention = 14 days
- Recycle = yes
- Recycle Oldest Volume = yes
- #Accept Any Volume = yes # write on any volume in the pool
- Maximum Volume Jobs = 1
- LabelFormat = "Edward"
- }
- Pool {
- Name = EdwardFullPool
- Pool Type = Backup
- Recycle = yes # Bacula can automatically recycle Volumes
- AutoPrune = yes # Prune expired volumes
- Volume Retention = 30 days # one year
- Recycle = yes
- Recycle Oldest Volume = yes
- #Accept Any Volume = yes # write on any volume in the pool
- Maximum Volume Jobs = 1
- LabelFormat = "EdwardFull"
- }
- Pool {
- Name = GhostdubNewPool
- Pool Type = Backup
- Recycle = yes # Bacula can automatically recycle Volumes
- AutoPrune = yes # Prune expired volumes
- Volume Retention = 14 days # one year
- Recycle = yes
- Recycle Oldest Volume = yes
- #Accept Any Volume = yes # write on any volume in the pool
- Maximum Volume Jobs = 1
- LabelFormat = "GhostdubNew"
- }
- Pool {
- Name = GhostdubNewFullPool
- Pool Type = Backup
- Recycle = yes # Bacula can automatically recycle Volumes
- AutoPrune = yes # Prune expired volumes
- Volume Retention = 30 days # one year
- Recycle = yes
- Recycle Oldest Volume = yes
- #Accept Any Volume = yes # write on any volume in the pool
- Maximum Volume Jobs = 1
- LabelFormat = "GhostdubNewFull"
- }
- Pool {
- Name = ChezaPool
- Pool Type = Backup
- Recycle = yes # Bacula can automatically recycle Volumes
- AutoPrune = yes
- Volume Retention = 14 days # one year
- Recycle = yes
- Recycle Oldest Volume = yes
- #Accept Any Volume = yes # write on any volume in the pool
- Maximum Volume Jobs = 1
- LabelFormat = "Cheza"
- }
- Pool {
- Name = ChezaFullPool
- Pool Type = Backup
- Recycle = yes # Bacula can automatically recycle Volumes
- AutoPrune = yes
- Volume Retention = 30 days # one year
- Recycle = yes
- Recycle Oldest Volume = yes
- #Accept Any Volume = yes # write on any volume in the pool
- Maximum Volume Jobs = 1
- LabelFormat = "ChezaFull"
- }
- #########################################################
- # MISC DEFINITION #
- #########################################################
- Messages {
- Name = Standard
- mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
- operatorcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
- mail = bacula@nebuk.de = all, !skipped
- operator = bacula@nebuk.de = 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 = bacula@nebuk.de = all, !skipped
- console = all, !skipped, !saved
- append = "/var/lib/bacula/log" = all, !skipped
- }
- Console {
- Name = edward-mon
- Password = ""
- CommandACL = status, .status
- }
- CommandACL = status, .status
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement