XCP-ng

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Copying Backups Offsite & Running on Cloud

    Xen Orchestra
    3
    11
    509
    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
      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
      • olivierlambert
        olivierlambert Vates 🪐 Admin 🧑‍💻 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
          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
          • olivierlambert
            olivierlambert Vates 🪐 Admin 🧑‍💻 last edited by

            Might be easier with VHD files then 🙂

            1 Reply Last reply Reply Quote 0
            • S
              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
              • olivierlambert
                olivierlambert Vates 🪐 Admin 🧑‍💻 last edited by

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

                1 Reply Last reply Reply Quote 0
                • S
                  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
                  • olivierlambert
                    olivierlambert Vates 🪐 Admin 🧑‍💻 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
                      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
                      • olivierlambert
                        olivierlambert Vates 🪐 Admin 🧑‍💻 last edited by

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

                        1 Reply Last reply Reply Quote 0
                        • Marc.pezin
                          Marc.pezin Vates 🪐 Sales 🎤 last edited by

                          Hi,

                          Thanks for picture update, I will fix it 🙂

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