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

    Restore Delta Backup with RAM

    Scheduled Pinned Locked Moved Xen Orchestra
    bugsplanned
    9 Posts 4 Posters 824 Views 3 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.
    • H Offline
      hannes
      last edited by marcungeschikts

      Hi everyone,

      I have a recent install of xcp-ng 8.2 and a Xen Orchestra version of 5.78.0 running. I am doing the following backup scheme:
      Method: Delta Backup
      Snapshot Mode: With Memory
      VM: Debian Buster with management agent installed / Win10 Pro with MA.

      When I am restoring the VM the VM is restored in an halted but not suspended state which "leaves the ram behind". Since we plan to backup a SQL server it would be great to have the ram as well for consistency.

      Interesting is that during the restore process the main VDI and the "VDI Suspend Image" get imported. At the end the machine is halted though and when I start the machine it does a regular boot.

      Investigating this issue I found an old Github (see https://github.com/vatesfr/xen-orchestra/issues/5061) issue from 2020 which still seems to be open.

      Does anyone have any info on this? I would like to pitch XOA at work for production systems as well but we need this feature 😉

      toni-1 created this issue in vatesfr/xen-orchestra

      closed Restored VM from RAM enabled backup is not in suspend mode #5061

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        Hi!

        1. Someone will take a look here, trying to reproduce the issue. Can you confirm you have it with XOA on latest release channel? (ping @marcungeschikts so we can assign someone internally)
        2. In the meantime : in theory, the PV drivers inside your VMs are aware about the snapshot. Have you ever tested and see if it corrupted anything?
        H 1 Reply Last reply Reply Quote 0
        • H Offline
          hannes @olivierlambert
          last edited by hannes

          @olivierlambert Thanks a lot for your quick reply!

          Someone will take a look here, trying to reproduce the issue. Can you confirm you have it with XOA on latest release channel? (ping @marcungeschikts so we can assign someone internally)

          XOA is on the latest release channel.

          In the meantime : in theory, the PV drivers inside your VMs are aware about the snapshot. Have you ever tested and see if it corrupted anything?

          I have tested it and never ended up with a corrupt db. On the other side we are talking about MS SQL and Oracle DB servers running in production so it really needs to be safe.

          marcungeschiktsM 1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            We never heard neither (since XO backups exists, something like 8y approx) any corruption on backup restore. However, our memory restore should work, so, someone will take a look.

            Ideally, we could raise the priority if it will be related to a potential future revenue 🙂

            H 1 Reply Last reply Reply Quote 0
            • H Offline
              hannes @olivierlambert
              last edited by

              @olivierlambert said in Restore Delta Backup with RAM:

              Ideally, we could raise the priority if it will be related to a potential future revenue

              I am hoping the same but cannot promise anything, yet 😉 On the other side there might some people using the memory-enabled feature not knowing that it's not working as expected which is a win, too 😉

              florentF 1 Reply Last reply Reply Quote 0
              • olivierlambertO Offline
                olivierlambert Vates 🪐 Co-Founder CEO
                last edited by

                Obviously, we do not ignore bugs on purpose, we mostly prioritize on the "popularity" of an issue 🙂 (we have a lot on our plate 😄 )

                1 Reply Last reply Reply Quote 0
                • marcungeschiktsM Offline
                  marcungeschikts Vates 🪐 Project mgmt @hannes
                  last edited by

                  @olivierlambert : @florent will take a look on it

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

                    @hannes hi

                    after some testing, we reproduced it, and got some clues to fix it.

                    The fix should be available in a few days on master,

                    regards

                    Florent

                    H 1 Reply Last reply Reply Quote 1
                    • H Offline
                      hannes @florent
                      last edited by

                      @florent @olivierlambert
                      Thank you both for your quick reaction! I know that you guys have a lot on your hands with this great piece of software!

                      Just let me know as soon as we can test-drive something.

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