Get a restorePoint

RESTful knowledge exchange

Get a restorePoint

Veeam Logoby jerny_huang » Mon Sep 22, 2014 9:54 am

I want to get a restorePoint by restore point name. How can I do it?
jerny_huang
Novice
 
Posts: 8
Liked: never
Joined: Wed Aug 06, 2014 8:11 am
Full Name: Jerny Huang

Re: Get a restorePoint

Veeam Logoby v.Eremin » Mon Sep 22, 2014 9:59 am

You need to query restore point entities using /querysvc. Don't forget to choose Name as a query parameter. Thanks.
v.Eremin
Veeam Software
 
Posts: 13296
Liked: 974 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Get a restorePoint

Veeam Logoby jerny_huang » Tue Sep 23, 2014 2:23 am

Yes, I have tried, but failed. Can you help me?
url:
Code: Select all
http://**************:9399/api/query?type=VmRestorePoint&format=Entities&filter=Name==j-vm0@2014-09-22 18:01:18
      http://**************:9399/api/query?type=VmRestorePoint&format=Entities&filter=Name==j-vm0%402014-09-22+18%3a01%3a18
jerny_huang
Novice
 
Posts: 8
Liked: never
Joined: Wed Aug 06, 2014 8:11 am
Full Name: Jerny Huang

Re: Get a restorePoint

Veeam Logoby v.Eremin » Tue Sep 23, 2014 8:44 am

Are you positive that you're using the correct VMRestorePoint name? Can you double check that? You can also try to put the VMRestorePoint Name in quotes and see whether it makes any difference.

In my case the following request works properly:

Code: Select all
http://EM:9399/api/query?type=VmRestorePoint&format=Entities&filter=Name=="VM@2014-09-09 2010:19:56"


Thanks.
v.Eremin
Veeam Software
 
Posts: 13296
Liked: 974 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 3 guests