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

    delta backups with offline snapshot: VMs do not start after snapshot, they start after transfer is done.

    Scheduled Pinned Locked Moved Backup
    16 Posts 4 Posters 172 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.
    • P Offline
      Pilow @Bastien Nollet
      last edited by Pilow

      @Bastien-Nollet where is this "offline backups" check option ?

      I'm aware of snapshot mode/offline, but not offline backups ?

      EDIT : my bad, I found it, it's only available for FULL BACKUPS, not DELTA BACKUPS
      c6b870b0-18d3-4c5d-a2df-06384e22dc06-{5CB5749D-2069-4E91-BAD6-3AAF5EAFBDA7}.png

      1 Reply Last reply Reply Quote 1
      • Bastien NolletB Online
        Bastien Nollet Vates 🪐 XO Team @k11maris
        last edited by

        Hi @k11maris,

        I just noticed I originally misread your message, you were already talking of the 'Snapshot mode' option I mentioned.

        Could you send us a screenshot of the backup job configuration?

        1 Reply Last reply Reply Quote 0
        • K Online
          k11maris @Bastien Nollet
          last edited by

          @Bastien-Nollet
          I am using delta backups, not full backups. So there is no option called "offline backup".

          However, I was in fact using "backup" before and had "offline backup" enabled. Maybe this option is still checked, but invisible... I did not create a new backup job, I simply de-selected "full backup" and activated "delta backup".

          This is my configuration:

          d49d07e8-036f-4e32-9154-8fe85c29cafc-grafik.png

          33c6e50f-93e0-4df1-b1e1-34872dcab4bd-grafik.png

          Bastien NolletB K 2 Replies Last reply Reply Quote 0
          • Bastien NolletB Online
            Bastien Nollet Vates 🪐 XO Team @k11maris
            last edited by

            Ok, thanks for the information.

            I think I saw somewhere a bit of code that saves the value of 'Offline backup' so users don't have to re-check it if they go back to full backups, but it shouldn't interfere with delta backups.

            I'll investigate this and keep you informed.

            1 Reply Last reply Reply Quote 0
            • K Online
              k11maris @k11maris
              last edited by

              Thanks. I also used "disaster recovery" with the "offline backup" option before.
              I also just noticed: Every time I open the backup settings, the email address field is empty.

              Btw: It is really confusing that it still says "disaster recovery" while the documentation uses other names....

              1 Reply Last reply Reply Quote 0
              • Bastien NolletB Online
                Bastien Nollet Vates 🪐 XO Team
                last edited by

                I made a fix for this: https://github.com/vatesfr/xen-orchestra/pull/9228

                I'm not that familiar with disaster recovery, I'll discuss your point with the team.

                b-Nollet opened this pull request in vatesfr/xen-orchestra

                open fix(backups): fix offlineBackup value #9228

                K 1 Reply Last reply Reply Quote 1
                • K Online
                  k11maris @Bastien Nollet
                  last edited by

                  @Bastien-Nollet Hi, there is another issue: When I switch back from "delta backup" to "disaster recovery" or "Backup", the checkbox for "offline backup" and the drop down menu "offline" is greyed out so that it cannot be changed.

                  974bcc8b-45f0-4ff5-89e4-918915fa9142-grafik.png

                  Bastien NolletB 1 Reply Last reply Reply Quote 0
                  • Bastien NolletB Online
                    Bastien Nollet Vates 🪐 XO Team @k11maris
                    last edited by

                    Hi @k11maris,

                    You can either specify the snapshot mode or check the "Offline backup" option.

                    It's a bit counter-intuitive, but to uncheck it, you can set "Snapshot mode" to "Normal", and you should be able to modify it. (then you can put back the snapshot mode to offline)

                    K 1 Reply Last reply Reply Quote 0
                    • K Online
                      k11maris @Bastien Nollet
                      last edited by

                      @Bastien-Nollet I can't change those options, both are greyed out (locked / disabled).
                      acc3dc45-ce2e-45b3-a5fc-43b15185f6fb-grafik.png

                      K 1 Reply Last reply Reply Quote 0
                      • K Online
                        k11maris @k11maris
                        last edited by

                        With new created backup jobs, everything works. Clearly there are some hickups in the GUI when switching between backup modes. Not sure if it is worth fixing with XO6 coming up, though.

                        P 1 Reply Last reply Reply Quote 0
                        • P Offline
                          Pilow @k11maris
                          last edited by

                          @k11maris yeah but with new jobs, you enter a new Backup Chain ?

                          would be nice to keep those existing (imagine if you have LTR to re-backup)

                          I don't know a veeam way to "map backup" to get the chain continuity in XO Backup.

                          K 1 Reply Last reply Reply Quote 0
                          • K Online
                            k11maris @Pilow
                            last edited by

                            @Pilow Yes of course. But I don't really care about keeping the backup chain. I am just getting started with my backups 🙂

                            In fact, the snapshots for deltas take too much space on my storage, so I divided the VMs into 2 groups. One with daily delta backups and one with weekly offline full backups which don't need snapshots.

                            I think there is a way with changed block tracking to use delta backups without snapshots, right? I'll have to look into that.

                            I'd also like to mirror the VMs to the local storage of a server outside of the pool. This goes to another building, for emergencies. This would also be a combination of weekly full offline backups and daily delta backups. The latter would again require snapshots and it seems it would create 2 snapshots per VM, then. One for the backup job and one for the mirror job.

                            P 1 Reply Last reply Reply Quote 0
                            • P Offline
                              Pilow @k11maris
                              last edited by

                              @k11maris said in delta backups with offline snapshot: VMs do not start after snapshot, they start after transfer is done.:

                              I think there is a way with changed block tracking to use delta backups without snapshots, right? I'll have to look into that.

                              ypu need to check those
                              c0b0933b-c566-4807-bcc9-227a9fa663d7-image.png

                              and yes a VM that is BACKUPed and REPLICAted have 2 snaps.
                              didn't see a snapshot for Disaster Recovery job though (seems to be snaped, but deleted afterward as there is no need to delta on the next snap), you could use these, but full only and one temporary snapshot during the DR export.

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post