Backup fails with "VM_HAS_VUSBS" error
-
@Danp
Not a bad idea!(I was Junior when Bo Jackson got there:) )
-
@archw I was there from 83 - 85. I can recall standing in line behind Bo to sign up for classes.
-
@Danp
80 to 84! Building science...never saw Bo but Lionel "Little Train" James was in the class I went to (he was leaving as I was walking in...nice dude!!!). -
@archw I do not envy you for being stuck on using USB serial keys.... ugh...
That has to be some OLD software
-
@Danp said in Backup fails with "VM_HAS_VUSBS" error:
@olivierlambert Could this be added as an option under the backup's Advanced settings area?
Probably, just taking care of telling people it will unplug the device for few seconds.
-
@olivierlambert Sorry to resurrect an old subject, but I just started to have this issue myself. I have a VM running nut with a VUSB connected to my UPS. I snapshot weekly, so the odds of a snapshot occurring during a power outage are quite low, so I have no problem with disconnecting/reconnecting in order to take a snapshot. It's a small price to pay to be able to automate the snapshot process.
-
I can't remember if it's in our backlog or if it's already done automatically
-
@olivierlambert It doesn't seem to be done automatically yet, as I'm using 8.3 (up to date) and XOA commit 749f0 from 5 days ago.
I would love for this to get added. I looked into simply doing this with a cronjob (disconnect/reconnect VUSB before/after the backup jobs occur), but it seems that there is no command to simply reconnect the VUSB without performing a reboot. I'd really rather not need to reboot this VM with high regularity.
-
Ah yes, I remember now. You cannot reconnect a vUSB after disconnect. That's a XAPI/XCP-ng limitation.
-
@olivierlambert so is the only option to:
- power off the VM
- backup
- power on the VM
If that's the case, I might just make another VM for the VUSB to attach to.
-
Yes, so for that to be done automatically, you can set up "offline backup" option, that will do exactly that