Question on Mirror backups
-
My main backups are delta backups (with full backups after x backups) to one NAS and after that I'm doing a Mirror incremental backup to another NAS.
Do I also need to do a Mirror full backup (in addition)? Or does the Mirror incremental one have all backups of the original NAS (or even more depending on the backup retention defined? -
@manilx Hi - I can answer this quickly as was just helping someone else with mirror backups. Always check the official doc
But yes, you will need to create a mirror job for replicating full backups, and another mirror job for replicating incremental backups.
Official tip (straight from the doc) is:
If you have full and incremental backups on a remote, you must configure 2 mirror backup jobs, one full and one incremental.Hope that helps!
-
@TS79 Thx! I had that but I must confess that it didn't seem logical to me....
So I do a sequence, full mirror and then incremental mirror.What should I put in the backup retentions if I want to keep 3 months worth. And the original delta backup is daily.
84 full and 84 incremental?
-
@manilx
Did the following:
The schedule runs at 6. The 2 mirrors are disabled (if they were enabled the backup schedule would run or wouldn't it?).This is really not clear at all in the docs.
-
@manilx Sorry, I haven’t played around with sequences and retention yet, so I can’t help… Still learning
But I’ll try play with it on the weekend and if I find an answer I’ll post here.
-
@TS79 This part of backups is bloody confusing!!!!!
-
There is a lot of room to improve UX in the backup form, and we'll do better when rewriting them for XO6. Mainly, there is a confusion between Full backup ( a xva file exported by xcp-ng) and the base backups during an incremental backup
Mirror incremental will retransfer the base + deltas . You can check it by looking into the backup job. A mirror job will always transfer all new data , and will then prune the backups on the targets depending on the retention set
For the schedule : the backup must be disabled, since you don't want them to run alone. ONly the schedule must be scheduled and run
-
@florent Thank you!
So just to confirm if I understand it correctly I don't need the full (haven't been using it, only the incremental mirror and it seems to have worked).
And therefore I don't need the schedule also. Just an incremental mirror. -
@florent So the "Official tip (straight from the doc) is:
If you have full and incremental backups on a remote, you must configure 2 mirror backup jobs, one full and one incremental." from the docs is wrong....
If positive you should change that. -
@manilx yes, that's it
we should change the "full backup interval" to "base/complete backup interval", to clarify what is a full . And we will do it.