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

    How to export detached backup?

    Scheduled Pinned Locked Moved Backup
    5 Posts 2 Posters 33 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.
    • C Offline
      CJ
      last edited by

      I have several detached backups from an old VM that I was having trouble with. The VM is gone and I'm decommissioning the pool it was running on. I've moved all of my current VMs to the new pool but I want to archive these backups.

      How can I export the VM backup without restoring it first?

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

        You can move all the files related to this job to another place (with rsync for example, or scp or cp)

        C 1 Reply Last reply Reply Quote 0
        • C Offline
          CJ @olivierlambert
          last edited by

          @olivierlambert I assume you're referring to the entire VM UUID folder under xo-vm-backups? Do I need the whole folder? If I ever need to restore it do I just copy the folder back into the backups dir?

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

            Yes, the whole folder for each VM and job ID. I'm not 100% sure about the folder "on top" of it, but better safe than sorry 🙂

            C 1 Reply Last reply Reply Quote 0
            • C Offline
              CJ @olivierlambert
              last edited by

              @olivierlambert Hmm. It may just be easier to do a restore and export.

              I tried doing a file restore of / but I get a Cannot GET error when trying to download the tgz. I don't see anything in the UI to indicate what the problem is or if it actually created the tgz.

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