Приветствую уважаемых юниксоидов.
Вопрос по бациле, вернее процесса восстановления бекапа.
Имеется некий конфиг сервера на директоре
Job {
Name = node1
Enabled = no
Type = Backup
Client = node1-fd
Level = Differential
Messages = node1-msg
Pool = node1-diff
Full Backup Pool = node1-full
Differential Backup Pool = node1-diff
Schedule = node1-sched
FileSet = node1-fs
#JobDefs = JobSettings
}
Messages {
Name = node1-msg
Append = /var/log/bacula/node1.log = all
}
Schedule {
Name = node1-sched
#Run = Level=Full hourly at 0:30
Run = level=Full Sun at 15:30
Run = level=Differential hourly at 0:15
}
Client {
Name = node1-fd
Address = node1.local
FDPort = 38426
Password = "parampampam"
Catalog = LocalCatalog
#Maximum Concurrent Jobs = 20
}
Storage {
Name = node1-full
Address = bak.local
SDPort = 38427
Password = "parampampam"
Device = node1-full
Media Type = File
Maximum Concurrent Jobs = 1
}
Storage {
Name = node1-diff
Address = bak.local
SDPort = 38427
Password = "parampampam"
Device = node1-diff
Media Type = File
Maximum Concurrent Jobs = 1
}
Pool {
Name = node1-full
Storage = node1-full
Pool Type = Backup
Catalog Files = yes
Volume Use Duration = 2 month
Volume Retention = 3 month
File Retention = 3 month
Job Retention = 3 month
Action On Purge = Truncate
AutoPrune = yes
Recycle = yes
Maximum Volume Jobs = 1
#UseVolumeOnce = yes
LabelFormat = "node1-full-"
}
Pool {
Name = node1-diff
Storage = node1-diff
Pool Type = Backup
Catalog Files = yes
Volume Use Duration = 2 month
Volume Retention = 3 month
File Retention = 3 month
Job Retention = 3 month
Action On Purge = Truncate
AutoPrune = yes
Recycle = yes
Maximum Volume Jobs = 1
#UseVolumeOnce = yes
LabelFormat = "node1-diff-"
}
Job {
Name = restore-job-app2
Enabled = no
Type = Restore
Client = node1-fd
Level = Differential
Messages = Standard
Pool = node1-diff
Full Backup Pool = node1-full
Differential Backup Pool = node1-diff
FileSet = node1-fs
}
FileSet {
Name = node1-fs
Ignore FileSet Changes = yes
Include {
File = /backup-folder
Options {
Signature = MD5
Compression = GZIP9
Noatime = yes
Aclsupport= yes
}
}
}
Как видно из конфига, есть два типа пула full и diff. Соответственно на выходе получаются два типа бекапов. Они все нормально создаются без ошибок в нужное время. Бекапы full и diff хранятся в разных папках, имена соответствующие.
Запускаю восстановление, пишет, что самый крайний бекап содержится на двух пулах full и diff, процесс начинается, в итоге full восстанавливается нормально, а вот бекап diff он почему то ищет в папке full, хотя находится в папке diff. Почему так?