-
- Influencer
- Posts: 16
- Liked: never
- Joined: Jun 13, 2014 3:48 am
- Full Name: Cathy Hu
- Contact:
Job API for EM
We are trying to use restful API to control backup jobs.
We can't create a job. But we could clone and modify the job.
However, it looks like we can't find suitable restful API to set:
1. retention policy.
2. VM retention.
3. backup mode. (incremental or reversed incremental.)
Does restful API support those features or we have to use powershell cmdlet to complete this setting?
We can't create a job. But we could clone and modify the job.
However, it looks like we can't find suitable restful API to set:
1. retention policy.
2. VM retention.
3. backup mode. (incremental or reversed incremental.)
Does restful API support those features or we have to use powershell cmdlet to complete this setting?
-
- Product Manager
- Posts: 20406
- Liked: 2298 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Job API for EM
These settings aren't configurable via Enterprise Manager. The situation is the same with RestAPI, since the general idea of RestAPI to provide similar functionality as EM does. Thanks.
-
- Influencer
- Posts: 17
- Liked: 3 times
- Joined: May 17, 2017 7:38 pm
- Full Name: Trevor W
- Contact:
[MERGED] How to add Linked Job to Backup Copy Job?
I have successfully cloned backup jobs and added/removed VMs from backup jobs. Now I need to do the equivalent with Backup Copy jobs. I understand that I am not adding a VM to a backup copy job, it would be a reference to the Backup Job.
How do I add a Backup Job reference to a Backup Copy job?
How do I add a Backup Job reference to a Backup Copy job?
-
- Influencer
- Posts: 17
- Liked: 3 times
- Joined: May 17, 2017 7:38 pm
- Full Name: Trevor W
- Contact:
Re: How to add Linked Job to Backup Copy Job?
Is it even possible to create a Backup Copy job via the Restful API?
-
- Influencer
- Posts: 17
- Liked: 3 times
- Joined: May 17, 2017 7:38 pm
- Full Name: Trevor W
- Contact:
Re: How to add Linked Job to Backup Copy Job?
Looks like there are too many limitations, unsupported features in Veeam's Restful API. Switched over to PowerShell... clearly far superior with respect to supported features and capabilities.
-
- Product Manager
- Posts: 20406
- Liked: 2298 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Job API for EM
You cannot create a backup copy job, using RESTful API. Neither can you modify its source settings.
PowerShell might serve you better in this case, since it's functionality is similar to functionality of VB&R, while RESTful APIs are tied closely to Enterprise Manager, and thus have certain limitations.
Thanks.
PowerShell might serve you better in this case, since it's functionality is similar to functionality of VB&R, while RESTful APIs are tied closely to Enterprise Manager, and thus have certain limitations.
Thanks.
-
- Novice
- Posts: 7
- Liked: never
- Joined: Aug 18, 2017 3:43 pm
- Full Name: Ethan Ballinger
- Contact:
[MERGED] API to create new job
What is the API to create a new job? I might be missing it but I don't see anything in the documentation.
Use case: I have VM1 under policy1 and VM2 protected under policy2. I want to protect VM3 under policy3.
From the GUI, I'd just navigate to 'Jobs', select 'Create', and provide my specifications. When I tried calling POST /jobs I got a 405.
Use case: I have VM1 under policy1 and VM2 protected under policy2. I want to protect VM3 under policy3.
From the GUI, I'd just navigate to 'Jobs', select 'Create', and provide my specifications. When I tried calling POST /jobs I got a 405.
-
- Product Manager
- Posts: 6551
- Liked: 765 times
- Joined: May 19, 2015 1:46 pm
- Contact:
Re: API to create new job
Hi,
Currently there is no direct way to create a job via API, however you can clone an existing job, add VMs to the job, and edit job settings afterwards.
Thank you
Currently there is no direct way to create a job via API, however you can clone an existing job, add VMs to the job, and edit job settings afterwards.
Thank you
Who is online
Users browsing this forum: No registered users and 2 guests