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 Online
      olivierlambert Vates 🪐 Co-Founder CEO
      last edited by

      So you'd like to avoid another server to store the backup? I would say it's doable, but if you can buy a very cheap NAS with NFS, put it in another room, you'll get FAR more security for a low cost.

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

        Hello Oliver

        I didnt understand why a NAS is more save than a local to XO connectet hard drive ?
        And need mutch more energie.. And more Networktrafic...

        My my coustumer can change the HDD every day and wie let run the Exports of snapshout by nigth.

        If i store the exports via NAS external the networktrafic is doubel high.. Move them the XO mashine than to the NAS.

        And i need 2 NAS systems to leave the officce.. (when the officie is burning down or sombody seal the IT - stuff.

        Coutryside has no good Internet Infrastrukture (symetric fiber cahnale with 100 or 200Gbit can costs 1000€ per month if ther is some) and we pay around 030€/kW

        My costumer had VDSL2 wich 300/50Mbit so ist no option to sore it external ..

        1 Reply Last reply Reply Quote 0
        • olivierlambertO Online
          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 Online
              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 Online
                  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