I am trying to automate a process to periodically fetch logs for successful restores performed through the Veeam Self-Service Backup Portal for VMware Cloud Director (VCD) using REST API.
My goal is to obtain the following three parameters, which are visible in the Properties pane of the Restore History Statistics in Veeam Backup & Replication:
- Organization
- Organization VDC
- VM Name
- https://<Enterprise-Manager>:9398/api/restoreSessions (Veeam Backup Enterprise Manager)
- https://<Backup-&-Replication>:9419/api/v1/sessions?typeFilter=CloudDirectorVmRestore (Veeam Backup & Replication)
Questions:
- Is there a specific Veeam REST API endpoint that provides these three parameters directly as part of the restore session details, especially for VCD restores?
- If a direct API is not available, what is the best automated method to obtain these parameters from the system? I need an automated solution as manual checking on the VBR console is not an option for integration purposes.
Thank you.