Storage {
Name = bacula-sd
SDPort = 9103 # Director's port
WorkingDirectory = "/var/spool/bacula"
Pid Directory = "/var/run"
Maximum Concurrent Jobs = 20
}
### Jobs start ###
JobDefs {
Name = "DefaultJob"
Type = Backup
Level = Incremental
Client = bacula-local
FileSet = "Full Set"
Schedule = "WeeklyCycle"
Storage = File
Messages = Standard
Pool = DefaultFile
Priority = 10
Write Bootstrap = "/var/spool/bacula/%c.bsr"
}
Job {
Name = "Backup_client1"
JobDefs = "DefaultJob"
Client = client1
Pool = FilePool1
Storage = FileStg1
FileSet = "Windows test"
Schedule = "WeeklyCycle2200"
Accurate = yes
}
Job {
Name = "Backup_client2"
JobDefs = "DefaultJob"
Client = client2
Pool = FilePool2
Storage = FileStg2
FileSet = "Windows test"
Schedule = "WeeklyCycle2200"
Accurate = yes
}
### Jobs end ###
### Clients start ###
Client {
Name = client1
Address =
client1.domain.com FDPort = 9102
Catalog = MyCatalog
Password = "ABCD"
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
Client {
Name = client2
Address =
client2.domain.com FDPort = 9102
Catalog = MyCatalog
Password = "DCBA"
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
### Clients end ###
### Pools start ###
Pool {
Name = FilePool1
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 180 days
Maximum Volume Bytes = 5G
#LabelFormat = "${Pool}_${NumVols}"
LabelFormat = "FilePool1_${NumVols}"
}
Pool {
Name = FilePool2
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 180 days
Maximum Volume Bytes = 5G
#LabelFormat = "${Pool}_${NumVols}"
LabelFormat = "FilePool2_${NumVols}"
}
### Pools end ###
### Storage start ###
Storage {
Name = FileStg1
Address = 10.17.1.105
SDPort = 9103
Password = "XXXXXX"
Device = Dev1
Media Type = Type1
Maximum Concurrent Jobs = 5
}
Storage {
Name = FileStg2
Address = 10.17.1.105
SDPort = 9103
Password = "XXXXXX"
Device = Dev2
Media Type = Type2
Maximum Concurrent Jobs = 5
}
### Storage end ###
### Devices start ###
Device {
Name = Dev1
Media Type = Type1
Archive Device = /backups/dev1
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}
Device {
Name = Dev2
Media Type = Type2
Archive Device = /backups/dev2
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}
### Devices end ###