Ich hab mir ein paar Gedanken gemacht zu folgendem Konzept in Bacula mit den Volume Retentions.
Könnt ihr mir bitte Feedback geben, ob das so aufgeht oder ob ich irgendwo einen Überlegungsfehler gemacht habe?
1. Meine Backup HD ist nicht so gross, das ich zwei Fullbackups gleichzeitig speichern kann.
2. Es können die letzten 6 Tage und alle 3 oder 4 Montage des Monats wiederhergestellt werden.
Code: Alles auswählen
Job {
Name = "MeinServer share"
Type = Backup
Level = Incremental
Client = MeinServer-fd
FileSet = "MeinServer share"
Schedule = "short schedule"
Storage = "MeinServer share"
Messages = Standard
Pool = Default
Full Backup Pool = "MeinServer share full"
Differential Backup Pool = "MeinServer share diff"
Incremental Backup Pool = "MeinServer share incr"
Priority = 10
Write Bootstrap = "/var/bacula/%c.bsr"
}
FileSet {
Name = "MeinServer share"
Include {
Options {
signature = MD5
}
File = /media/share
}
}
Schedule {
Name = "short schedule"
Run = Full 1st mon at 00:01
Run = Differential 2nd-5th mon at 00:01
Run = Incremental tue-sun at 00:01
}
Storage {
Name = "MeinServer share"
Address = localhost # N.B. Use a fully qualified name here
SDPort = 9103
Password = ""
Device = "MeinServer share"
Media Type = File
}
Pool {
Name = "MeinServer share full"
Label Format = "full"
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 1 days
Maximum Volume Jobs = 1
Maximum Volumes = 1
}
Pool {
Name = "MeinServer share diff"
Label Format = "diff"
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 1 months
Maximum Volume Jobs = 1
Maximum Volumes = 4
}
Pool {
Name = "MeinServer share incr"
Label Format = "incr"
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 6 days
Maximum Volume Jobs = 1
Maximum Volumes = 6
}
Gruss
Power09