Answer the question
In order to leave comments, you need to log in
How to create dependencies between backups in Bacula?
Good day.
There is a backup server built on Bacula.
The problem is that there are times when Bacula deletes the old full backup ( F ), leaving useless increments ( I ) and decrements ( D ) behind.
Backup schedule:
Schedule {
Name = «WeeklyCycle»
Run = Full 1st sun at 01:05
Run = Differential 2nd-5th sun at 01:05
Run = Incremental mon-sat at 01:05
}
Full Backup Pool = FullPool
Incremental Backup Pool = IncPool
Differential Backup Pool = DiffPool
Pool {
Name = FullPool
Label Format = «${Pool}-${Year}${Month:p/2/0/r}${Day:p/2/0/r}-${Hour:p/2/0/r}${Minute:p/2/0/r}-${JobId}»
Pool Type = Backup
Recycle = no
Action On Purge = Truncate
AutoPrune = yes
Volume Retention = 1 month
Maximum Volume Bytes = 50G
}
Answer the question
In order to leave comments, you need to log in
I do Full Backup in the task, and in the schedule I set Full on weekends, and Incremental on ordinary days. By the way, this is also recommended in the Bacula documentation.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question