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

    USB Hard drives for VM exports

    Scheduled Pinned Locked Moved Xen Orchestra
    13 Posts 4 Posters 3.7k 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.
    • olivierlambertO Offline
      olivierlambert Vates 🪐 Co-Founder CEO
      last edited by

      1. Because if your server is taking fire/water/electrical or any physical issue, having a box at another place (even just at another room close to it) is far far far safer. Really, it worth every $ of this very low investment.
      2. XO backups aren't meant to work like that. If you want to plug/unplug the HDD, this will require something in XO VM to be able to get the mount working when needed.
      3. Having a HDD plugged for "ever" will work, but you are in case 1. in terms of safety
      A 1 Reply Last reply Reply Quote 0
      • A Offline
        axel @olivierlambert
        last edited by

        @olivierlambert

        Hello Olivier

        witch directory will bused by soringing the VM images '?

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

          Sorry I don't understand what you meant.

          1 Reply Last reply Reply Quote 0
          • A Offline
            axel
            last edited by

            @olivierlambert said in USB Hard drives for VM exports:

            Having a HDD plugged for "ever" will work, but you are in case 1. in terms of safety

            you are writing

            1. Having a HDD plugged for "ever" will work, but you are in case 1. in terms of safety

            on witch place i had to mount the HDD ?

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

              You'll need to pass the drive directly to XOA VM. Plug the USB HDD, and then you should be able to add it in the VM view/disk tab, Attach, select the USB drive. That's it.

              1 Reply Last reply Reply Quote 0
              • A Offline
                axel
                last edited by

                thx i will try it 🙂 soon

                akurzawaA 1 Reply Last reply Reply Quote 0
                • akurzawaA Offline
                  akurzawa @axel
                  last edited by

                  @axel said in USB Hard drives for VM exports:

                  thx i will try it 🙂 soon

                  expect very. slow. data. transfer 🙂

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    axel
                    last edited by

                    Now i am moving a step forward :-). I dont let XO runing in a VM my XO is running on a Thin-Client (HP620 16GSSD and 4GByte RAM 1GBit Nic) with Debian. The Debian installation was a lill bit tricky but now its running. Thanks for the debian / ubuntu install script is running perfekt.
                    The USB3.0 HDD is connectet and mounted on /Backup.
                    Reading from USB drive with dd

                    dd if=/dev/sdb1 of=/dev/null bs=100M count=10

                    Result 130MByte/sec

                    Debian and XO needs fresh 1,7Gbyte HDD-Space.

                    My XCP-NG servers are found with there VMs 🙂

                    Next step testing Backup ...

                    thx Axel

                    1 Reply Last reply Reply Quote 0
                    • IndyJI Offline
                      IndyJ
                      last edited by

                      I tested backup directly to USB drives by attaching to the XO VM. Backup and restore works fine as long as I restore the whole VM from USB.

                      If I try to drill down and restore an individual file from the backup on USB I cannot.

                      Is there a way to do this?

                      IndyJI 1 Reply Last reply Reply Quote 0
                      • IndyJI Offline
                        IndyJ @IndyJ
                        last edited by

                        @indyj FYI when I ran this test again it worked.
                        this time:

                        • I ran it as a "Delta" backup.
                        • And then rescanned the removable media.
                        • I was then able to restore an individual file from the backup on USB media.
                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post