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

    Start backup for one single vm

    Scheduled Pinned Locked Moved Backup
    7 Posts 4 Posters 199 Views 4 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.
    • R Offline
      rtjdamen
      last edited by

      Hi All,

      When a backup job is failed u can restart the backup for one specific vm in that job, currently this button is missing in a job that went succesfully, in some cases it could be very usefull if u can rerun the backup only for that specific vm and not for the whole job. in case u need an extra backup for the vm or in my case when the cbt of that vm is corrupted and needs to rerun to get it fixed. Is there any way to force run the backup for the one vm instead of the whole job? maybe an api call?

      Cheers Robin

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

        Hmm good question. I don't think it's possible but worth discussing it internally. Adding @pdonias or @MathieuRA in the loop.

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          rtjdamen @olivierlambert
          last edited by

          @olivierlambert in a failed job the button is allready there so i shouldn't be that difficult to show it somewhere else or on a finished job. That last one is not so difficult i guess and is fine for me.

          MathieuRAM 1 Reply Last reply Reply Quote 0
          • MathieuRAM Offline
            MathieuRA Vates 🪐 XO Team @rtjdamen
            last edited by MathieuRA

            Hi @rtjdamen
            This should be doable using xo-cli.
            xo-cli backupNg.runJob id=<your-job-id> schedule=<your-schedule-id> vm=<your-vm-id>

            R 1 Reply Last reply Reply Quote 0
            • R Offline
              rtjdamen @MathieuRA
              last edited by

              @MathieuRA thx, i will test this, would it be doable to create a button on the backup tab of a vm in xoa to initiate the backup for that specific vm? Couldn’t be that difficult

              MathieuRAM 1 Reply Last reply Reply Quote 0
              • MathieuRAM Offline
                MathieuRA Vates 🪐 XO Team @rtjdamen
                last edited by

                I will create a card for this feature request to discuss with the whole XO team. I will keep you updated here

                1 Reply Last reply Reply Quote 2
                • P Offline
                  ph7 @rtjdamen
                  last edited by

                  @rtjdamen
                  I was in the same situation
                  I made a new schedule, BCK-Man with a tag BCK-Man.
                  When I needed a manual backup, I added the tag to that VM

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post