fabianolima
(usa Ubuntu)
Enviado em 19/02/2014 - 14:35h
Seguindo os exemplos de GFS do site do bacula brasil criei os schedule e o pool da seguinte forma:
Schedule {
Name = "dif_pools"
Run = Level=Full Pool=mensal 1st fri at 18:05
Run = Level=Differential Pool=semanal 2nd-5th fri at 18:00
Run = Level=Incremental Pool=diario sun-sat at 18:05
}
criei cada pool como descrito no schedule com caracteristicas própias:
Pool {
Name = mensal
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 30 days
Volume Use Duration = 23 hours
Maximum Volume Bytes = 650G
Maximum Volumes = 1
LabelFormat = "pool_Full"
}
Pool {
Name = semanal
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 15 days
Volume Use Duration = 23 hours
Maximum Volume Bytes = 40G
Maximum Volumes = 5
LabelFormat = "pool_Diff"
}
Pool {
Name = diario
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 7 days
Volume Use Duration = 23 hours
Maximum Volume Bytes = 40G
Maximum Volumes = 7
LabelFormat = "pool_Inc"
}
Problema:
Ao executar o primeiro backup do servidor ele criou o backup no pool diario ao invés do pool mensal visto que o primeiro backup deve ser full como declarado no schedule "dif_pools".
segue exemplo do job
JobDefs {
Name = "Jobdef"
Type = Backup
Level = Incremental
Client = srvXX
FileSet = "Directory Linux"
Schedule = "dif_pools"
Storage = FileStorage
Messages = Standard
Pool = diario
Priority = 10
Write Bootstrap = "/var/spool/bacula/%c.bsr"
}
Job {
Name = "Backup-srv1"
JobDefs = "Jobdef"
Client = "srv1-fd"
FileSet = "Directory Win"
Schedule = "dif_pools"
Priority = 1
}
Alguma idéia?