Backup and Recovery API
Backup and Recovery API (1.1.0)
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/backup-recovery/public/openapi/backup-recovery-public-v1beta1/backup-recovery-api/
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/
Unique identifier, UUID.
Id of the Host. Only required if cluster or resource pool is not given
Id of the resource pool. Only required if cluster or host is not given
The maximum total size of the assets that is expected to be protected each day in the Cloud Protection Stores.
The maximum retention period for cloud backups in days.
The maximum total size of the assets that is expected to be protected each day in the On-Prem Protection Store.
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/backup-recovery/public/openapi/backup-recovery-public-v1beta1/backup-recovery-api/backup-recovery/v1beta1/protection-store-gateways/{id}/recover
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-store-gateways/{id}/recover
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-store-gateways/{id}/recover
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-store-gateways/{id}/recover
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-store-gateways/{id}/recover
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/backup-recovery/public/openapi/backup-recovery-public-v1beta1/backup-recovery-api/backup-recovery/v1beta1/protection-store-gateways/c1a0eb78-41a0-4151-93b2-f057ffeca3f3/recover \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"hypervisorManagerId": "aa1974ec-3b28-406f-8d84-85528d590a6b",
"name": "EG-172.31.57.71",
"vmConfig": {
"datastoreIds": [
"70968004-886c-582e-b09a-c98396d0db68",
"098c18ff-ae3d-55a7-8967-00869c1ac71c"
],
"hostId": "234f54ab-e93c-5bc7-9daa-3dcd93fc0ae0",
"maxInCloudDailyProtectedDataInTiB": 90,
"maxInCloudRetentionDays": 90,
"maxOnPremDailyProtectedDataInTiB": 5,
"maxOnPremRetentionDays": 5,
"network": {
"dns": [
{
"networkAddress": "172.31.56.9"
},
{
"networkAddress": "172.31.56.10"
},
{
"networkAddress": "172.31.35.101"
}
],
"gateway": "172.31.63.254",
"name": "dvportgroup-30",
"networkAddress": "172.31.57.71",
"networkType": "STATIC",
"subnetMask": "255.255.248.0"
}
}
}'
{}
IDs of datastores PSG should use. Including existing ones
The maximum total size of the assets that is expected to be protected each day in the Cloud Protection Stores.
The maximum total size of the assets that is expected to be protected each day in the On-Prem Protection Store.
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/backup-recovery/public/openapi/backup-recovery-public-v1beta1/backup-recovery-api/backup-recovery/v1beta1/protection-store-gateways/{id}/resize
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-store-gateways/{id}/resize
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-store-gateways/{id}/resize
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-store-gateways/{id}/resize
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-store-gateways/{id}/resize
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/backup-recovery/public/openapi/backup-recovery-public-v1beta1/backup-recovery-api/backup-recovery/v1beta1/protection-store-gateways/c1a0eb78-41a0-4151-93b2-f057ffeca3f3/resize \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"datastoreIds": [
"aaaaaaa8-aaa4-aaa4-aaa4-aaaaaaaaaa12",
"aaaaaaa8-aaa4-bbb4-aaa4-aaaaaaaaaa12"
],
"maxInCloudDailyProtectedDataInTiB": 3,
"maxInCloudRetentionDays": 5,
"maxOnPremDailyProtectedDataInTiB": 5,
"maxOnPremRetentionDays": 5
}'
{}
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/backup-recovery/public/openapi/backup-recovery-public-v1beta1/backup-recovery-api/backup-recovery/v1beta1/protection-store-gateways/{id}/restart-guest-os
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-store-gateways/{id}/restart-guest-os
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-store-gateways/{id}/restart-guest-os
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-store-gateways/{id}/restart-guest-os
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-store-gateways/{id}/restart-guest-os
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/backup-recovery/public/openapi/backup-recovery-public-v1beta1/backup-recovery-api/backup-recovery/v1beta1/protection-store-gateways/c1a0eb78-41a0-4151-93b2-f057ffeca3f3/restart-guest-os \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{}