-
- Novice
- Posts: 7
- Liked: never
- Joined: Aug 18, 2017 3:43 pm
- Full Name: Ethan Ballinger
- Contact:
Editing included VMs on job
I'm working on a system that allows users to configure backup jobs. We want to user to be able to create (clone/edit) new jobs and edit existing jobs. We've been able to figure out the majority of this through the API documentation, but the one area we are lacking is the ability to update included VMs on a job.
From what I've gathered, there is no way to edit existing includes on a job. It must first be deleted and re-added. However, what are you supposed to do if there is only 1 VM on the job? The API blocks you from removing it, and you can't add the VM multiple times to the same job.
How should I proceed? Should I simply block editing of VMs after it has initially been created?
From what I've gathered, there is no way to edit existing includes on a job. It must first be deleted and re-added. However, what are you supposed to do if there is only 1 VM on the job? The API blocks you from removing it, and you can't add the VM multiple times to the same job.
How should I proceed? Should I simply block editing of VMs after it has initially been created?
-
- Veeam Software
- Posts: 630
- Liked: 251 times
- Joined: Sep 27, 2011 12:17 pm
- Full Name: Craig Dalrymple
- Location: Scotland
- Contact:
Re: Editing included VMs on job
Do you mean adding new VMs to an existing job? If so, and you are using VMware then look at using tags on the VMs https://www.virtualtothecore.com/en/usi ... rotection/
-
- Novice
- Posts: 7
- Liked: never
- Joined: Aug 18, 2017 3:43 pm
- Full Name: Ethan Ballinger
- Contact:
Re: Editing included VMs on job
No I mean editing VMs that are currently assigned to a job. IE, I want to change the guest processing options for a VM that is already assigned to the job. I can do this through the GUI, but there is not an edit service (from what I can tell) in the API.
-
- Product Manager
- Posts: 20675
- Liked: 2380 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Editing included VMs on job
There is a source object present inside job entity. It's stored along with its vss processing options that can be modified however you like.
-
- Novice
- Posts: 7
- Liked: never
- Joined: Aug 18, 2017 3:43 pm
- Full Name: Ethan Ballinger
- Contact:
Re: Editing included VMs on job
Sure, that's the object we create and use when we add a VM to the policy during our create step. What API can I call to edit the existing VM? There isn't a PUT service and when I call POST with the edited object, it does not update the fields that I've edited. My guess is because it thinks I'm trying to add the same VM again.
-
- Product Manager
- Posts: 20675
- Liked: 2380 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Editing included VMs on job
If you issue a post request to the said resource and provide full spec (with edited properties) as the request body, the corresponding options should be modified. If that does not happen, reach our support team. Thanks.
Who is online
Users browsing this forum: No registered users and 22 guests