USB Hard drives for VM exports
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.
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 ..
- 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.
- 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.
- Having a HDD plugged for "ever" will work, but you are in case 1. in terms of safety
witch directory will bused by soringing the VM images '?
Sorry I don't understand what you meant.
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.
thx i will try it soon
akurzawa 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
Debian and XO needs fresh 1,7Gbyte HDD-Space.
My XCP-NG servers are found with there VMs
Next step testing Backup ...
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?
IndyJ last edited by
@indyj FYI when I ran this test again it worked.
- 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.