Aller au contenu principal

Settings for complete differential backups

Thread needs solution

Hi,
i'm using B&R 10 and i need to have a full backup on sunday and differential backups from monday to saturday.
I would like to delete all differential backups when a new full backup is complete, having this one replacing the last complete backup.

For example:
on Sunday (first run) : tha archive would contains only FileServer_Full.tib
on Monday : FileServer_Diff1 and FileServer_Full.tib
on Tuesday: FileServer_Diff2 and previous ones
...
on Saturday : FileServer_Diff6 and previous ones
on Sunday: a new FileServer_Full full backup should replace the last full backup and delete all the differential ones

Is it possible to schedule something like this?
How?

thank you

0 Users found this helpful

Do you need exactly this scheme? Differential backups do not depends on previous differentials, only on the full. So you can delete them one by one, setting the retention rule to have 7 days (or no more than 7 backups). If you use incrementals insead, with the 'keep no more than 1 backup' , and 'wait until last dependent backup' instead of 'consolidate' option , you will get all your backups dependent on previous full deleted after completion of the next full.

Thanks for the reply.
Just one question (i apologize for my english): does the retention rule to 7 days means that i will have 7 differential backups and one full ?
So the monday differential backup should overwrite the prevoius monday ?
Should i have one backup plan or two separate plans?
Thank you.

For the first question the answer is 'no' In case of differential backups, older differential backups will be cleared, but the full will be retained until the last differential is deleted. So on day 10 there will be Full, Diff3, Diff4, Diff5 and Diff6. (Diffs 1-3 deleted). There also will be new full created on day 7 with three diffs depending on it created on days 8-10. This happens because differential backups depend only on the previous full backup, while incrementals depend on the previous backup of any type, be it incremental, differential, or full . Newly created backups never overwrite existing ones - they are created and anly then (or before backup) retention rules are applied. Setting two different plans for one archive is possible, but will not help in this case.