XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Remove VUSB as part of job

    Scheduled Pinned Locked Moved Xen Orchestra
    xenorchestravusbjobsxcp-ng
    4 Posts 4 Posters 1.7k Views 1 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.
    • w21frosterW Offline
      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?

      B 1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • ForzaF Offline
          Forza
          last edited by Forza

          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.

          1 Reply Last reply Reply Quote 2
          • B Offline
            bpage @w21froster
            last edited by

            @w21froster Did you ever come up with a solution here?

            1 Reply Last reply Reply Quote 0

            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
            • First post
              Last post