api for inquiry

RESTful knowledge exchange

api for inquiry

Veeam Logoby SmithJohn » Mon Feb 10, 2014 3:57 am

Is there any API available to inquiry the snapshot images (with corresponding job id & nature, e.g. ad-hoc, schedule, etc.) under a VM, or similar functionality.

E.G. After getting the VM restore points, how to classify which restore points are belong to the which job( some restore points maybe belong to an ah-hoc job, some may belong to a monthly job )
SmithJohn
Enthusiast
 
Posts: 47
Liked: never
Joined: Thu Jan 31, 2013 3:36 am
Full Name: charles

Re: api for inquiry

Veeam Logoby SmithJohn » Mon Feb 10, 2014 8:00 am

In other words, how to retrieve or sort vm restore points based on the job name but not only the vm name ?
SmithJohn
Enthusiast
 
Posts: 47
Liked: never
Joined: Thu Jan 31, 2013 3:36 am
Full Name: charles

Re: api for inquiry

Veeam Logoby v.Eremin » Mon Feb 10, 2014 9:06 am

If you list backup/replication restore points, using (GET) /restorePoints API, there should be a backup reference ("BackupReference") that has name field. I believe that field can be used in order to distinguish restore points from one to the other.

<Link Rel="Up" Type="BackupReference" Href="http://localhost:9399/api/backups/afaf5dd8-0b13-48ac-8057-844ea08c2934" Name="vLab Backup"/>


You can find more information in the corresponding User Guide (p.172).

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

Re: api for inquiry

Veeam Logoby SmithJohn » Mon Feb 10, 2014 9:55 am

I could only find the restorepointreference through the get restorepoints api . Is this what you mean ?
And on page 172 of Veeam Enterprise restful API,I found that it is talking about ReplicaTaskSessions. Is there any other reference.
Thanks.
SmithJohn
Enthusiast
 
Posts: 47
Liked: never
Joined: Thu Jan 31, 2013 3:36 am
Full Name: charles

Re: api for inquiry

Veeam Logoby v.Eremin » Mon Feb 10, 2014 10:39 am

This is the section I referred to.

As you can see, each restore point has a reference to the backup ("BackupReference"). Backup reference, in its turn, has a certain name ("Name"), using which it's possible to distinguish restore points - whether the given restore point belongs to the said backup or not.

Hope this helps.
Thanks.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 968 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