Backup and Recovery API
Backup and Recovery API (1.1.0)
https://us-west.api.greenlake.hpe.com/
https://eu-west.api.greenlake.hpe.com/
https://eu-central.api.greenlake.hpe.com/
https://ap-northeast.api.greenlake.hpe.com/
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/backup-recovery/public/openapi/backup-recovery-public-v1beta1/
Specifies the type of restore that needs to be performed.
UUID string uniquely identifying the snapshot. Mandatory if the restore is from a snapshot.
UUID string uniquely identifying the backup. Mandatory if the restore is from a backup.
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/restore
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/restore
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/restore
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/restore
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/backup-recovery/public/openapi/backup-recovery-public-v1beta1/backup-recovery/v1beta1/virtual-machines/{id}/restore
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4/restore \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"backupId": "9b4c14a6-3cd5-4907-97c4-cf44c5b641e4",
"restoreType": "PARENT",
"snapshotId": "9b4c14a6-3cd5-4907-97c4-cf44c5b641e4"
}'UUID string uniquely identifying the snapshot. Mandatory if the restore if from snapshot.
Specifies the type of restore that needs to be performed.
UUID string uniquely identifying the backup. Mandatory if the restore is from a backup.
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/restore-disks
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/restore-disks
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/restore-disks
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/restore-disks
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/backup-recovery/public/openapi/backup-recovery-public-v1beta1/backup-recovery/v1beta1/virtual-machines/{id}/restore-disks
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4/restore-disks \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"backupId": "9b4c14a6-3cd5-4907-97c4-cf44c5b641e4",
"restoreType": "PARENT",
"snapshotId": "9b4c14a6-3cd5-4907-97c4-cf44c5b641e4"
}'Definition for the request body for restoring virtual machine files and folders from a snapshot.
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/restore-files
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/restore-files
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/restore-files
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/restore-files
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/backup-recovery/public/openapi/backup-recovery-public-v1beta1/backup-recovery/v1beta1/virtual-machines/{id}/restore-files
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4/restore-files \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"filePathInfo": [
{}
],
"fileRestoreMethod": "OVERWRITE",
"snapshotId": "9b4c14a6-3cd5-4907-97c4-cf44c5b641e4",
"targetInfo": {}
}'