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

    Restoring from backup failing

    Scheduled Pinned Locked Moved Backup
    13 Posts 4 Posters 715 Views 2 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.
    • E Offline
      emiltmx
      last edited by

      Hello,

      So we have a VM which we are not able to restore.

      We have delta backup, metadata backup, and weekly snapshots. From XOA, we are unable to restore. It says "error while scanning disk".

      We have no abandoned vhds, our storage is connected and accessible. Running XCP-NG 8.2.0, XO-server 5.74.0, and XO-web 5.77.0.

      Adding .txt file that shows status of VM, and parameters of disks associated.

      Hoping to get this issue resolved as it will strengthen my case when bringing up getting a support contract with XCP-NG/XOA 🙂

      netbox error.txt

      1 Reply Last reply Reply Quote 0
      • DanpD Offline
        Danp Pro Support Team
        last edited by

        @emiltmx said in Restoring from backup failing:

        XO-server 5.74.0, and XO-web 5.77.0

        Those are really old! It appears that you haven't updated your XO VM in about three years. I suggest that you address that first, and then try again to restore your backup.

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

          Also, having a production install without support, and only then asking community (or Vates) to assist when you had a problem isn't a great way to support an open source project 😞

          If everyone would do this, we would have no incentive to make a good product, because nobody would have any issue, and therefore we wouldn't be able to pay anyone to work on it.

          For the core of your problem, you are really using a very old version, I can assume you are using it from the sources, you must update regularly to avoid problems and get bug fixes.

          E 1 Reply Last reply Reply Quote 0
          • E Offline
            emiltmx @olivierlambert
            last edited by

            @olivierlambert I wholeheartedly agree. This is why I'm pushing for getting a support contract whenever we renew our DC during Q1 2024. This was done many moons ago by employees who no longer work here, and we haven't had the time to touch it until now.

            So there should be no issues with us upgrading to newer/newest version of XOA?

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

              To update: It's very hard to tell, but it's a good first step I would say.

              As you can see, despite asking afterward, we are keen to help here anyway, and we all hope you'll be able to restore 🙂 So let's try to solve this!

              E 1 Reply Last reply Reply Quote 0
              • E Offline
                emiltmx @olivierlambert
                last edited by

                @olivierlambert This is what impresses me most about XCP. The CEO and Co-Founder is solving issues on the forums. Never seen it before..

                We are worried about touching this at all as I previously stated. Is there any reason to believe that updating XOA will have any impact on current backups, or current running VM's?

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

                  No impact on running VMs/current production. I'm not aware of incompatibility, we never removed the compatibility with older versions.

                  1 Reply Last reply Reply Quote 0
                  • DanpD Offline
                    Danp Pro Support Team @emiltmx
                    last edited by

                    @emiltmx Any update?

                    E 1 Reply Last reply Reply Quote 0
                    • E Offline
                      emiltmx @Danp
                      last edited by

                      @Danp Hello! So we've decided to run up a new installation of XO (from the sources at the moment) on a new VM, as the old installation is running in a docker container.. Which we know is not supported.

                      What I am wondering is, is it possible to migrate the XO database over to the new installation? Because if I am to attempt a restore from this new VM, it needs to be able to know where the old snapshots are right?

                      D 1 Reply Last reply Reply Quote 0
                      • D Offline
                        DustinB @emiltmx
                        last edited by

                        @emiltmx Yes, go to Settings > XO Config and export the configuration.

                        You should then be able to import the configuration into your new installation and have all of your settings/backups/remotes restored.

                        E 1 Reply Last reply Reply Quote 0
                        • E Offline
                          emiltmx @DustinB
                          last edited by

                          @DustinB even if the old installation is an older version of XO?

                          We were running 5.74 on the old one, 5.91 on the new one (I think? Xen Orchestra, commit 838f9).

                          D 1 Reply Last reply Reply Quote 0
                          • D Offline
                            DustinB @emiltmx
                            last edited by

                            @emiltmx said in Restoring from backup failing:

                            @DustinB even if the old installation is an older version of XO?

                            We were running 5.74 on the old one, 5.91 on the new one (I think? Xen Orchestra, commit 838f9).

                            I can't say for certain that the config hasn't undergone any major changes, but you should at least test it.

                            E 1 Reply Last reply Reply Quote 1
                            • E Offline
                              emiltmx @DustinB
                              last edited by

                              @DustinB Seems like just attaching the remote SR found all the backups. Now to test if they work 🙂

                              One of the restores worked so that's good. Attempting a full backup now to see if updating to newest version fixed all our issues. We also had some VDI chain issues when running backups, so seems like VDI's are refusing to coalesce for some reason. Will report back after testing.

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