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

    Copying Backups Offsite & Running on Cloud

    Scheduled Pinned Locked Moved Xen Orchestra
    11 Posts 3 Posters 1.5k 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.
    • S Offline
      stevewest15
      last edited by

      Hi,

      Have a few questions which I'm hoping someone can help me answer:

      1. How do I match a backup to a VM? On the backup server, I see the following directories but none of these match any vm uuid:
        af8c4bcb-025a-4815-a42d-cd002484499f-image.png

      2. Is there a way to change the file format the backups are stored from xva to one of these formats: VHDX, VDI, VMDK or Raw?

      I'm trying to weekly copy the VM backups to Digital Ocean and have them there in case of a disaster recovery where I can have them easily spun up to minimize downtime. I welcome others feedback if they've done this w/ other cloud providers.

      Thank You,

      SW

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

        Hi,

        Xen Orchestra backups are meant to be managed by… Xen Orchestra 😉

        Any fresh XO will be able to find everything back when connected to the "remote" (place your store your backups), regardless the status of the previous XO who did the backup before.

        You only need to copy everything to another destination if you like, and then any Xen Orchestra connected to a share with those files will be able to display all VMs from the restore menu.

        edit: regarding the format, if you use delta backup, you'll have VHD files 🙂

        1 Reply Last reply Reply Quote 0
        • S Offline
          stevewest15
          last edited by

          Thanks @olivierlambert !

          I was able to convert a xva to raw using qemu-img but trying to importing it to digitalocean failed. I think I need to read up on cloud-init and how to set it up on a running centos7 vm. But not sure if those settings will survive the conversion from xva to raw.

          My ultimate goal is to be able to take a xcp-ng vm and be able to run it on a cloud provider (like aws, google, digitalocean, etc) during a disaster while we rebuild our xcp-ng nodes.

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

            Might be easier with VHD files then 🙂

            1 Reply Last reply Reply Quote 0
            • S Offline
              stevewest15
              last edited by

              @olivierlambert, I thought delta backups are just incremental difference which requires the XVA full backup to be able to restore a VM?

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

                First deltabackup is a full VHD that you can import anywhere.

                1 Reply Last reply Reply Quote 0
                • S Offline
                  stevewest15
                  last edited by

                  @olivierlambert , I didn't know that. Thank you! The docs state "initial full backup during a weekend..." w/ the example graphic above that statement showing .xva on Sunday and then incremental .vha during the week:

                  cbc8b072-8a27-43e5-890f-cbc4ae9aef32-image.png

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

                    Yes, this picture is wrong. I know we should modify it, but it's not high in our priority list sadly…

                    Ping @Marc-pezin

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      stevewest15
                      last edited by

                      @Marc-pezin, couldn't match the correct font but hopefully this helps.

                      delta_final.png

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

                        This is indeed now correct 😉 We'll fix that ASAP!

                        1 Reply Last reply Reply Quote 0
                        • Marc.pezinM Offline
                          Marc.pezin Vates 🪐 Marketing
                          last edited by

                          Hi,

                          Thanks for picture update, I will fix it 🙂

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