Listing VM ObjectsInJob for a vCloud backup

RESTful knowledge exchange

Listing VM ObjectsInJob for a vCloud backup

Veeam Logoby clh_jl » Wed Sep 24, 2014 3:50 pm

Hi,

If vApps are being backed up from vCloud Director, can a list of the virtual machines backed up by a job be retrieved using the API? They are shown in the Veeam GUI.

When vCenter is the source, http://<ip>:9399/api/jobs/<id>?format=Entity contains JobInfo->BackupJobInfo->Includes, which has an ObjectInJob entry for each VM. These are also shown in http://<ip>:9399/api/jobs/<id>/includes.

However when vCloud Director is the source and vApps have been selected, the vApps are the only objects shown in the ObjectInJob list - the individual VMs are not shown.

Thanks.
clh_jl
Service Provider
 
Posts: 14
Liked: 2 times
Joined: Mon Sep 22, 2014 12:49 pm

Re: Listing VM ObjectsInJob for a vCloud backup

Veeam Logoby v.Eremin » Wed Sep 24, 2014 4:21 pm

I don't have a console at hand right now, but what if you go to /backupTaskSessions and see whether VMs inside a given vApp are reflected there? Thanks.
v.Eremin
Veeam Software
 
Posts: 13291
Liked: 973 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Listing VM ObjectsInJob for a vCloud backup

Veeam Logoby clh_jl » Wed Oct 22, 2014 3:28 pm

Hi,

Thanks - we are no longer using the JobInfo to get the list of objects. Instead we are listing backupSessions for the job -> finding the most recent -> looking at the backupTaskSessions -> to get the list of objects inside the job.

1. This had led to a similar problem - the vApp is listed as an object within the job, in the exact same way as a VM - so there's no way of knowing whether an object within the backupTaskSession is a vApp or a VM - any suggestions?

2. In a previous thread it was confirmed that there is no way to retrieve the backup size on disk for a given restore point or its parent backup - is this still the case? If so, is it still the case in Veeam v8?

Thanks.
clh_jl
Service Provider
 
Posts: 14
Liked: 2 times
Joined: Mon Sep 22, 2014 12:49 pm

Re: Listing VM ObjectsInJob for a vCloud backup

Veeam Logoby v.Eremin » Thu Oct 23, 2014 9:02 am

1. In version v8 we will add type parameter to restore point entity. Using the said parameter, you will be able to identify unambiguously whether it's VM or vApp restore point.
2. Not in v8. But we have tracked this request already. Chances are, that parameter will be added later on.

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

Re: Listing VM ObjectsInJob for a vCloud backup

Veeam Logoby clh_jl » Fri Oct 24, 2014 4:36 pm

Thanks,

1. We already collect data from vCD using the vCloud API, so as a workaround for now we are checking that database.

2. In that case, is the only way to get the backup size to use Powershell?
clh_jl
Service Provider
 
Posts: 14
Liked: 2 times
Joined: Mon Sep 22, 2014 12:49 pm

Re: Listing VM ObjectsInJob for a vCloud backup

Veeam Logoby v.Eremin » Mon Oct 27, 2014 7:16 am

2. Both PowerShell and Veeam ONE should provide information regarding restore point size. This information is not currently presenting RESTful API, though.

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

Re: Listing VM ObjectsInJob for a vCloud backup

Veeam Logoby clh_jl » Tue Mar 31, 2015 11:01 am

Are there any plans for the restore point size to be included in v8 Update 2?

Thanks.
clh_jl
Service Provider
 
Posts: 14
Liked: 2 times
Joined: Mon Sep 22, 2014 12:49 pm

Re: Listing VM ObjectsInJob for a vCloud backup

Veeam Logoby v.Eremin » Tue Mar 31, 2015 1:45 pm

No plans for Update 2. We do consider adding it in the next major release, however.
v.Eremin
Veeam Software
 
Posts: 13291
Liked: 973 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Listing VM ObjectsInJob for a vCloud backup

Veeam Logoby clh_jl » Wed Jun 24, 2015 7:53 pm

Hi,

Could you confirm whether it's now possible to distinguish between a vApp and a VM when listing the objects in a backupTaskSession?

Thanks
clh_jl
Service Provider
 
Posts: 14
Liked: 2 times
Joined: Mon Sep 22, 2014 12:49 pm

Re: Listing VM ObjectsInJob for a vCloud backup

Veeam Logoby v.Eremin » Thu Jun 25, 2015 1:03 pm

The said parameter (allowing you to differ between VM and vApp restore points) has been added to Restore Point entity. If I'm not mistaken, successful backup sessions have a reference to newly created restore points which in their turn have the mentioned parameter.
v.Eremin
Veeam Software
 
Posts: 13291
Liked: 973 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