Last active
September 18, 2018 11:37
-
-
Save m4ce/4d4b296bb2964a9be8ff4ddae210bd00 to your computer and use it in GitHub Desktop.
Bacula configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JobDefs { | |
Name = default | |
Type = Backup | |
Write Bootstrap = "/var/spool/bacula/%n.bsr" | |
Messages = Standard | |
Pool = Default | |
Full Backup Pool = Full | |
Differential Backup Pool = Diff | |
Incremental Backup Pool = Inc | |
Schedule = WeeklyCycle | |
Storage = FileStorage1,FileStorage2,FileStorage3 | |
Prefer Mounted Volumes = no | |
Priority = 10 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pool { | |
Name = Default | |
Pool Type = Backup | |
Maximum Volume Jobs = 1 | |
AutoPrune = yes | |
Volume Retention = 1 month | |
Recycle = yes | |
LabelFormat = "${Client}-${Pool}-${Year}${Month:p/2/0/r}${Day:p/2/0/r}-${Hour:p/2/0/r}${Minute:p/2/0/r}-${JobId}-${NumVols}" | |
} | |
Pool { | |
Name = Diff | |
Pool Type = Backup | |
Maximum Volume Jobs = 1 | |
AutoPrune = yes | |
Volume Retention = 3 months | |
Recycle = yes | |
LabelFormat = "${Client}-${Pool}-${Year}${Month:p/2/0/r}${Day:p/2/0/r}-${Hour:p/2/0/r}${Minute:p/2/0/r}-${JobId}-${NumVols}" | |
} | |
Pool { | |
Name = Full | |
Pool Type = Backup | |
Maximum Volume Jobs = 1 | |
AutoPrune = yes | |
Volume Retention = 6 months | |
Recycle = yes | |
LabelFormat = "${Client}-${Pool}-${Year}${Month:p/2/0/r}${Day:p/2/0/r}-${Hour:p/2/0/r}${Minute:p/2/0/r}-${JobId}-${NumVols}" | |
} | |
Pool { | |
Name = Inc | |
Pool Type = Backup | |
Maximum Volume Jobs = 1 | |
AutoPrune = yes | |
Volume Retention = 1 month | |
Recycle = yes | |
LabelFormat = "${Client}-${Pool}-${Year}${Month:p/2/0/r}${Day:p/2/0/r}-${Hour:p/2/0/r}${Minute:p/2/0/r}-${JobId}-${NumVols}" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Storage { | |
Name = FileStorage1 | |
Address = bacula-sd | |
SD Port = 9103 | |
Password = "secret" | |
Device = FileStorage1 | |
Media Type = File1 | |
Maximum Concurrent Jobs = 10 | |
} | |
Storage { | |
Name = FileStorage2 | |
Address = bacula-sd | |
SD Port = 9103 | |
Password = "secret" | |
Device = FileStorage2 | |
Media Type = File2 | |
Maximum Concurrent Jobs = 10 | |
} | |
Storage { | |
Name = FileStorage3 | |
Address = bacula-sd | |
SD Port = 9103 | |
Password = "secret" | |
Device = FileStorage3 | |
Media Type = File3 | |
Maximum Concurrent Jobs = 10 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Device { | |
Name = FileStorage1 | |
Archive Device = /data/bacula/backup | |
Media Type = File1 | |
Always Open = no | |
LabelMedia = yes | |
AutomaticMount = yes | |
Removable media = no | |
Random access = yes | |
} | |
Device { | |
Name = FileStorage2 | |
Archive Device = /data/bacula/backup | |
Media Type = File2 | |
Always Open = no | |
LabelMedia = yes | |
AutomaticMount = yes | |
Removable media = no | |
Random access = yes | |
} | |
Device { | |
Name = FileStorage3 | |
Archive Device = /data/bacula/backup | |
Media Type = File3 | |
Always Open = no | |
LabelMedia = yes | |
AutomaticMount = yes | |
Removable media = no | |
Random access = yes | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*llist pools | |
poolid: 1 | |
name: Default | |
numvols: 0 | |
maxvols: 0 | |
useonce: 0 | |
usecatalog: 1 | |
acceptanyvolume: 0 | |
volretention: 2,592,000 | |
voluseduration: 0 | |
maxvoljobs: 1 | |
maxvolbytes: 0 | |
autoprune: 1 | |
recycle: 1 | |
pooltype: Backup | |
labelformat: ${Client}-${Pool}-${Year}${Month:p/2/0/r}${Day:p/2/0/r}-${Hour:p/2/0/r}${Minute:p/2/0/r}-${JobId}-${NumVols} | |
enabled: 1 | |
scratchpoolid: 0 | |
recyclepoolid: 0 | |
labeltype: 0 | |
poolid: 2 | |
name: Diff | |
numvols: 0 | |
maxvols: 0 | |
useonce: 0 | |
usecatalog: 1 | |
acceptanyvolume: 0 | |
volretention: 7,776,000 | |
voluseduration: 0 | |
maxvoljobs: 1 | |
maxvolbytes: 0 | |
autoprune: 1 | |
recycle: 1 | |
pooltype: Backup | |
labelformat: ${Client}-${Pool}-${Year}${Month:p/2/0/r}${Day:p/2/0/r}-${Hour:p/2/0/r}${Minute:p/2/0/r}-${JobId}-${NumVols} | |
enabled: 1 | |
scratchpoolid: 0 | |
recyclepoolid: 0 | |
labeltype: 0 | |
poolid: 3 | |
name: Full | |
numvols: 64 | |
maxvols: 0 | |
useonce: 0 | |
usecatalog: 1 | |
acceptanyvolume: 0 | |
volretention: 15,552,000 | |
voluseduration: 0 | |
maxvoljobs: 1 | |
maxvolbytes: 0 | |
autoprune: 1 | |
recycle: 1 | |
pooltype: Backup | |
labelformat: ${Client}-${Pool}-${Year}${Month:p/2/0/r}${Day:p/2/0/r}-${Hour:p/2/0/r}${Minute:p/2/0/r}-${JobId}-${NumVols} | |
enabled: 1 | |
scratchpoolid: 0 | |
recyclepoolid: 0 | |
labeltype: 0 | |
poolid: 4 | |
name: Inc | |
numvols: 90 | |
maxvols: 0 | |
useonce: 0 | |
usecatalog: 1 | |
acceptanyvolume: 0 | |
volretention: 2,592,000 | |
voluseduration: 0 | |
maxvoljobs: 1 | |
maxvolbytes: 0 | |
autoprune: 1 | |
recycle: 1 | |
pooltype: Backup | |
labelformat: ${Client}-${Pool}-${Year}${Month:p/2/0/r}${Day:p/2/0/r}-${Hour:p/2/0/r}${Minute:p/2/0/r}-${JobId}-${NumVols} | |
enabled: 1 | |
scratchpoolid: 0 | |
recyclepoolid: 0 | |
labeltype: 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment