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

    Create xvda file from XO delta backups?

    Scheduled Pinned Locked Moved Backup
    7 Posts 2 Posters 1.0k Views 1 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.
    • J Offline
      justjosh
      last edited by

      We had a complete failure of SR and need to restore from backup to a complete new cluster. Is there a way to reconstruct a VDI from delta backups that can be imported straight as a template?

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

        I'm not sure that I understand. Why not simply restore the VM using the Restore functionality of XO?

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          justjosh @Danp
          last edited by

          @Danp There is no SR available for the current pool and the new pool is just a make shift temporary solution that is running regular Xen (no XCP-ng). Is there any script that I can run that will reconstruct it as .xva or .raw format?

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

            No, I don't know of a script that will do what you want. I still don't understand why you don't deploy another instance of XO and then use it to restore from backup. What advantage is there to building an XVA / RAW file and then importing it?

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              justjosh @Danp
              last edited by justjosh

              @Danp I cannot manually call the restore script that XO uses? Or is there some explanation on what steps are taken so I can reproduce it myself?

              There's no available SR to restore the VMs to on the old pool as there was a complete failure. I need to rebuild the VDI for export because I am still looking for a place to re-home the VMs and might need to import them into other hypervisors. Can I just zip the largest folder to make a .raw image?

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

                @justjosh said in Create xvda file from XO delta backups?:

                I cannot manually call the restore script that XO uses?

                No, because it isn't a process that is intended to be invoked directly from the CLI by the user. However, there is xo-cli, which provides a method for restoring backups from the CLI.

                Maybe someone else will know how to assist you with creating an XVA from the backup files.

                J 1 Reply Last reply Reply Quote 0
                • J Offline
                  justjosh @Danp
                  last edited by

                  @Danp I don't really need something complex. I see the full & delta vhd files in each VM's folder but trying to mount the delta vhd with guestmount throws an error. There has to be a way to fold the delta vhds into the main vhd for the most up to date vhd..

                  1 Reply Last reply Reply Quote 0

                  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