XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Question on Mirror backups

    Scheduled Pinned Locked Moved Backup
    10 Posts 3 Posters 1.3k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      manilx
      last edited by

      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?

      TS79T 1 Reply Last reply Reply Quote 0
      • TS79T Offline
        TS79 @manilx
        last edited by TS79

        @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!

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          manilx @TS79
          last edited by manilx

          @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?

          M TS79T 2 Replies Last reply Reply Quote 0
          • M Offline
            manilx @manilx
            last edited by

            @manilx
            Did the following:

            ScreenShot 2025-02-26 at 22.42.25.png
            ScreenShot 2025-02-26 at 22.42.40.png
            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.

            1 Reply Last reply Reply Quote 0
            • TS79T Offline
              TS79 @manilx
              last edited by

              @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.

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                manilx @TS79
                last edited by

                @TS79 This part of backups is bloody confusing!!!!!

                1 Reply Last reply Reply Quote 1
                • florentF Offline
                  florent Vates 🪐 XO Team
                  last edited by

                  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

                  M 2 Replies Last reply Reply Quote 1
                  • M Offline
                    manilx @florent
                    last edited by manilx

                    @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.

                    florentF 1 Reply Last reply Reply Quote 0
                    • M Offline
                      manilx @florent
                      last edited by

                      @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.

                      1 Reply Last reply Reply Quote 0
                      • florentF Offline
                        florent Vates 🪐 XO Team @manilx
                        last edited by

                        @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.

                        1 Reply Last reply Reply Quote 3

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • First post
                          Last post