Remove VUSB as part of job
-
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.
-
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.
-
@w21froster Did you ever come up with a solution here?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login