S
S
StirolXXX2014-07-09 18:42:27
linux
StirolXXX, 2014-07-09 18:42:27

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
}

Job setup:
Full Backup Pool = FullPool
Incremental Backup Pool = IncPool
Differential Backup Pool = DiffPool

Pool setup
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
}

Simply increasing the storage time is not an option, as it will simply increase the depth of the time.
On the example for June:
F was made on 01.06, the next F was made on 06.07.
As a result, on 01.07 I can no longer restore anything, because the full backup was deleted, while its D and I remained in the directory and are useless.
I need something like this:
i0B3ogw.png
(screenshot from Acronis Backup & Recovery)
Any thoughts on how to implement this?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Axian Ltd., 2015-04-21
@AxianLTD

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 question

Ask a Question

731 491 924 answers to any question