Storage {
Name = arc-sd
Name = arc-full-sd
Media Type = File
Archive Device = /bareos/full
LabelMedia = yes;
Random Access = yes;
AutomaticMount = yes;
RemovableMedia = no;
AlwaysOpen = no;
Description = "Server arc B/U Full device"
}
Device {
Name = arc-diff-sd
Media Type = File
Archive Device = /bareos/diff
LabelMedia = yes;
Random Access = yes;
AutomaticMount = yes;
RemovableMedia = no;
AlwaysOpen = no;
Description = "Server arc B/U Differential device"
}
Device {
Name = arc-incr-sd
Media Type = File
Archive Device = /bareos/incr
LabelMedia = yes;
Random Access = yes;
AutomaticMount = yes;
RemovableMedia = no;
AlwaysOpen = no;
Description = "Server arc B/U incremental device"
}
On the director
Storage {
Name = arc-diff-sd
Address = arc
Password =
Device = arc-diff-sd
Media Type = File
Maximum Concurrent Jobs = 2
}
Storage {
Name = arc-full-sd
Address = arc
Password =
Device = arc-full-sd
Media Type = File
Maximum Concurrent Jobs = 2
}
Storage {
Name = arc-incr-sd
Address = arc
Password =
Device = arc-incr-sd
Media Type = File
Maximum Concurrent Jobs = 2
}
Pool {
Name = Full
Pool Type = Backup
Recycle = yes # Bareos can automatically recycle Volumes
Recycle Oldest Volume = yes # RWD
Action On Purge = Truncate # RWD
AutoPrune = yes # Prune expired volumes
Volume Retention = 1 years # How long should the Full Backups be kept? (#06)
Maximum Volume Bytes = 100G # Limit Volume size to something reasonable
# Maximum Volumes = 20 # Limit number of Volumes in Pool
Label Format = "Full-" # Volumes will be labeled "Full-<volume-id>"
}
Pool {
Name = Differential
Pool Type = Backup
Recycle = yes # Bareos can automatically recycle Volumes
Recycle Oldest Volume = yes # RWD
Action On Purge = Truncate # RWD
AutoPrune = yes # Prune expired volumes
Volume Retention = 90 days # How long should the Differential Backups be kept? (#09)
Maximum Volume Bytes = 50G # Limit Volume size to something reasonable
# Maximum Volumes = 40 # Limit number of Volumes in Pool
Label Format = "Differential-" # Volumes will be labeled "Differential-<volume-id>"
}
Pool {
Name = Incremental
Pool Type = Backup
Recycle = yes # Bareos can automatically recycle Volumes
Recycle Oldest Volume = yes # RWD
Action On Purge = Truncate # RWD
AutoPrune = yes # Prune expired volumes
Volume Retention = 30 days # How long should the Incremental Backups be kept? (#12)
Maximum Volume Bytes = 25G # Limit Volume size to something reasonable
# Maximum Volumes = 20 # Limit number of Volumes in Pool
Label Format = "Incremental-" # Volumes will be labeled "Incremental-<volume-id>"
}
JobDefs {
Name = "DefaultJob-bareos"
Type = Backup
Level = Incremental
FileSet = "LinuxAll"
Schedule = "WeeklyCycle"
Max Full Interval = 90d # Create a Full B/U every 90 days
Storage = arc-sd
Messages = Standard
Pool = Incremental
Priority = 10
Write Bootstrap = "/bareos/bu/%c.bsr"
Full Backup Pool = Full # write Full Backups into "Full" Pool (#05)
Differential Backup Pool = Differential # write Diff Backups into "Differential" Pool (#08)
Incremental Backup Pool = Incremental # write Incr Backups into "Incremental" Pool (#11)
}
Schedule {
Name = "WeeklyCycle"
Run = Differential sat at 21:35 # (#07)
Run = Incremental mon-fri at 21:35 # (#10)
}
Job {
Name = "backup-samba-fd"
JobDefs = "DefaultJob-bareos"
Client = "samba-fd"
Storage = arc-sd
}