I got a backup for a vCenter server, it includes multiple VMs. How can I through the REST API get number of VMs in the backup-files? I just want VMs for a specific job and not for the whole system.
I can't find any VM related in the jobs/backups. It has the job/<id>/includes but those objects are just the vCenter server in this case.
-
- Novice
- Posts: 6
- Liked: never
- Joined: May 18, 2017 7:04 am
- Contact:
-
- Novice
- Posts: 6
- Liked: never
- Joined: May 18, 2017 7:04 am
- Contact:
Re: Get VMs in a job
Solved. I found them in backupSessions and filtered them out for backupFiles.
-
- Product Manager
- Posts: 20406
- Liked: 2298 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Get VMs in a job
Also, you can query /backups/id resource to get list of /restorepoint entities and get VM names from there. Thanks.
Who is online
Users browsing this forum: No registered users and 1 guest