API. Delete restore point.

RESTful knowledge exchange

API. Delete restore point.

Veeam Logoby SmithJohn » Mon Nov 25, 2013 3:20 am

One another question, could the api delete the restore point or the whole backup ?
SmithJohn
Enthusiast
 
Posts: 47
Liked: never
Joined: Thu Jan 31, 2013 3:36 am
Full Name: charles

Re: DayNumberInMonth

Veeam Logoby Vitaliy S. » Mon Nov 25, 2013 7:32 am

Hi Charles,

The only way to delete the restore point or the entire backup chain is to apply backup retention policy. This policy is forced at the end of each job run.

Thanks!
Vitaliy S.
Veeam Software
 
Posts: 19558
Liked: 1102 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: API. Delete restore point.

Veeam Logoby SmithJohn » Mon Nov 25, 2013 8:58 am

but could the api delete the backup job?
If delete the backup jobs, could the backup and the restore points in the backup job deleted?
SmithJohn
Enthusiast
 
Posts: 47
Liked: never
Joined: Thu Jan 31, 2013 3:36 am
Full Name: charles

Re: API. Delete restore point.

Veeam Logoby SmithJohn » Tue Nov 26, 2013 2:26 am

I just want to confirm whether the below api could delete the backup job and the stored backups of this job. Thanks.

(DELETE) /jobs/{ID}/includes/{ID}
SmithJohn
Enthusiast
 
Posts: 47
Liked: never
Joined: Thu Jan 31, 2013 3:36 am
Full Name: charles

Re: API. Delete restore point.

Veeam Logoby v.Eremin » Tue Nov 26, 2013 9:56 am 1 person likes this post

I believe the mentioned API call deletes a VM/VM container with the corresponding ID from the specified job. As the result, the specified VMs are not longer processed by the given job. So, this call has nothing to do with deleting either restore points or the whole job.

Thanks.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 969 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

[MERGED] : any api to delete job and the backups?

Veeam Logoby SmithJohn » Fri Jan 24, 2014 9:10 am

any api to delete job and the backups?
SmithJohn
Enthusiast
 
Posts: 47
Liked: never
Joined: Thu Jan 31, 2013 3:36 am
Full Name: charles

Re: any api to delete job and the backups?

Veeam Logoby nefes » Fri Jan 24, 2014 10:05 am

Currently Job and RestorePoint deletion is not available neither via Enterprise Manager nor via RESTful API.
However you could utilize Powershell for such activity.
nefes
Veeam Software
 
Posts: 534
Liked: 125 times
Joined: Mon Dec 10, 2012 8:44 am
Full Name: Nikita Efes

Re: API. Delete restore point.

Veeam Logoby v.Eremin » Fri Jan 24, 2014 10:20 am

Hi, Charles, there haven't been any changes regarding job deletion API. So, the answers provided above are still valid; and the only thing you can achieve is to delete given VM/VM container from being processed by the backup job.

Thanks.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 969 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: API. Delete restore point.

Veeam Logoby SmithJohn » Mon Jan 27, 2014 7:25 am

But there is API to disable the scheduled backup job like below? Could you please provide more details. Thanks.

Enable or disable the job: <Link Rel="ToggleScheduleEnabled" Href="http://localhost:9399/api/jobs/568c42ce-eb11-4140-92cf-39ab36712bf5?action=toggleScheduleEnabled"
SmithJohn
Enthusiast
 
Posts: 47
Liked: never
Joined: Thu Jan 31, 2013 3:36 am
Full Name: charles

Re: API. Delete restore point.

Veeam Logoby v.Eremin » Mon Jan 27, 2014 8:34 am

Hi, Charles, what particular information you're looking for?

The jobs can be disabled/enabled using certain API. For instance, the API provided by you will disable the job that has "568c42ce-eb11-4140-92cf-39ab36712bf5" ID.

Also, you can disable or enable a job by sending the POST HTTP request to the job. The following POST HTTP request will disable the job with specified ID:

Code: Select all
POST http://<Enterprise-Manager>:9399/api/jobs/{ID}?action=toggleScheduleEnabled

Issued second time, this request will enable the given job back.

Thanks.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 969 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

[MERGED] : Deleting a job with restore points using RESTful

Veeam Logoby vmm » Mon Nov 23, 2015 10:37 am

Hi.

We have opened a case in Customer Support regarding having ability to delete a job with its restore points using Enterprise Manager RESTful API. Our programmers are using RESTful API to write a code and need to delete a job with its restore points for "old" customers. Customer Support team told that we need to write in this forum to make this feature request.

Thanks
vmm
Service Provider
 
Posts: 15
Liked: never
Joined: Mon Nov 23, 2015 10:09 am
Full Name: Marat Akhmetianov

Re: API. Delete restore point.

Veeam Logoby v.Eremin » Mon Nov 23, 2015 11:34 am

We try to keep RESTful APIs more or less on feature par with Enterprise Manager. And neither of those solutions currently allows restore point and job deletion. So, for now it's expected behaviour.

Though, thank you for your feedback and feature request; much appreciated.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 969 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: API. Delete restore point.

Veeam Logoby vcirrus » Mon Aug 01, 2016 3:01 am

I'd like to add my vote to be able to delete jobs, backups, and restore points via the API. Also perhaps a way to create a backup job without the need to clone an existing job.

The cloud connect APIs are much more fully featured so it would seem that filling out the feature set in the job/backup space is in line with the direction of providing a full-featured API.
vcirrus
Novice
 
Posts: 5
Liked: never
Joined: Thu Jul 28, 2016 2:57 am
Full Name: Mathew Quinn

Re: API. Delete restore point.

Veeam Logoby v.Eremin » Mon Aug 01, 2016 11:03 am

A small note - Cloud Connect RESTful API is a bit different story. Being directly oriented to VCSPs (our main RESTful APIs consumers), it indeed has the same functionality as GUI has.

Though, your voice regarding enhancing our general APIs has been heard.

Thanks.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 969 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin


Return to RESTful API



Who is online

Users browsing this forum: No registered users and 2 guests