Одинаковые настройки для daily-инкрементального бекапа и для weekly-полного бекапа.
Но daily-бекап запускается и работает, а weekly пишетcedev0-sd JobId 853: Job svn00dev.2009-09-10_14.57.48_03 waiting. Cannot find any appendable volumes.
Please use the "label" command to create a new Volume for:
Storage: "FileStorage-svn00dev" (/backup/svn00dev)
Pool: svn00dev-weekly
Media type: File-svn00dev
И приходится набирать в ручную label, создавать volume, хотя daily-бекап это сам делает.
Вот вырезки из конфигов:
Job {
Name = svn00dev.
Type = Backup
Level = Incremental.
Write Bootstrap = "/var/lib/bacula/svn00dev.bsr"
Client = svn00dev-fd
FileSet = svn00dev.
Messages = svn00dev-Msg.
Pool = svn00dev-daily
Full Backup Pool = svn00dev-weekly
Incremental Backup Pool = svn00dev-daily
Schedule = svn00dev-sched
Storage = File-svn00dev
Rerun Failed Levels = Yes
# ClientRunBeforeJob = "/usr/local/sbin/bacula_dump.sh"
}
Schedule {
Name = svn00dev-sched
Run = Level=Full Pool=svn00dev-weekly sun at 04:30
Run = Level=Incremental Pool=svn00dev-daily mon-sat at 04:30
}
Client {
Name = svn00dev-fd
Address = clientaddress.ru
FDPort = 9102
Catalog = MyCatalog
Password = "Password"
AutoPrune = yes
File Retention = 30 days.
Job Retention = 6 month.
}
Storage {
Name = File-svn00dev
Address = adress.ru.
SDPort = 9103
Password = "Password"
Device = FileStorage-svn00dev
Media Type = File-svn00dev
}
Pool {
Name = svn00dev-weekly
Pool Type = Backup
Maximum Volumes = 4
Use Volume Once = yes
# Maximum Volume Files = 0
# Maximum Volume Bytes = 0
Recycle = yes
AutoPrune = yes
Volume Retention = 6 days
Label Format = "svn00dev-weekly-"
}
Pool {
Name = svn00dev-daily
Pool Type = Backup
Maximum Volumes = 6
Use Volume Once = yes
# Maximum Volume Files = 0
# Maximum Volume Bytes = 0
Recycle = yes
AutoPrune = yes
Volume Retention = 6 days
Label Format = "svn00dev-daily-"
}