We are performing the Start Entire VM Restore operation using the Veeam Swagger API.
For this, we use the following endpoint:
https://helpcenter.veeam.com/docs/backu ... toreVmware
We are experiencing an issue in the Datastore section.
When we send as below, it tries to go to the disk of the source server where the backup is. It cannot find the disk of the target server:
Code: Select all
"datastore": {
"diskType": "Source"
},
It expects us to write it in full. Like this:
Code: Select all
"datastore": {
"datastore": {
"hostName": "string",
"name": "string",
"type": "Unknown",
"objectId": "string"
},
"diskType": "Source"
},
How can we obtain the objectId parameter here?
I can find the storage id by going to the disk via the ESXi Host, but is there a way in Swagger or Veeam REST API to get this data?
When I initiate the restore through the program, it automatically finds the disk, but from the API, it specifically expects the objectId for the datastore.