Remove VUSB as part of job
w21froster last edited by
I am looking to automate backups for a VM on XCP-NG that has vUSBs attached. I was thinking of a job sequence that went something like this: shut down vm, remove vusb, backup, reattach vusb, start up vm. Is this possible with Xen Orchestra jobs? Is there any better way to do this?
First thing I have in mind is to use
xo-cli, but I'm not sure you can play with vUSB in this CLI.
A kind of workaround would be to have a cron in the host that will shutdown and unplug the USB device (just before the backup job), and then will do the opposite few minutes later.
S.Pam last edited by S.Pam
Might a different solution be to use a USB network bridge instead of direct attached USB? Something like this https://www.seh-technology.com/products/usb-deviceserver/utnserver-pro.html (There are different options available)... We use my-utn-50a with hardware USB keys and it has shown to be very reliable over the years.