Backup and Recovery API
- Get information about all virtual machine backups.
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/
The number of items to omit from the beginning of the result set. The offset and limit query parameters are used in conjunction with pagination. For example "offset=30&limit=10" indicates the fourth page of 10 items.
The maximum number of items to include in the response. The offset and limit query parameters are used in conjunction with pagination. For example "offset=30&limit=10" indicates the fourth page of 10 items.
An expression that enables you to filter the results.
A comparison compares a property name to a literal. The following comparisons are supported:
- “eq” : Is a property equal to value. Valid for number, boolean and string properties.
- “gt” : Is a property greater than a value. Valid for number or string timestamp properties.
- “lt” : Is a property less than a value. Valid for number or string timestamp properties.
- “in” : Is a value in a property (that is an array of strings).
Filters are supported on the following attributes:
- backupType
- state
- status
- createdByInfo/id
- createdByInfo/name
- storageSystemInfo/id
- storageSystemInfo/type
- storageSystemInfo/name
- sourceCopyInfo/id
- pointInTime
- verified
- protectionStoreInfo/id
- protectionStoreInfo/name
- dataOrchestratorInfo/id
- expiresAt
- name
Comma separated list of properties defining the sort order. Each item in the “sort” query parameter is a property name optionally followed by a direction indicator. The direction indicator may only be either “asc” (ascending) or “desc” (descending). If no direction indicator is specified, the default order is ascending.
The select query parameter is used to limit the properties returned with a resource or collection-level GET. Multiple properties can be listed to be returned. The server must only return the set of properties requested by the client formatted as an exclusive comma separated list of properties. If not specified, all properties are returned.
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/backups
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/backups
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/backups
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/backups
- 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}/backups
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4/backups \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'virtual machine backup list
UUID string uniquely identifying the backup.
The type of resource.
Information about the associated backupSetInfo. This is an array to handle application backups spanning multiple objects in the device.
Information about the user who initiated the workflow that created this backup.
Absolute value of time in UTC when the application backup expires.
Absolute value of time in UTC until which the application backup remains locked.
Time in UTC at which the application backup was created on the device.
The 'self' reference for this resource.
The current state of the application backup.
Brief reason for the current state of the application backup.
Backup verification status details. Block level verification of backup with snapshot.
A list of objects encapsulating information about the storage disks provisioned to a virtual machine.
{ "count": 0, "items": [ { … } ], "offset": 0, "total": 0 }
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/backups/{backup-id}
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/backups/{backup-id}
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/backups/{backup-id}
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/backups/{backup-id}
- 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}/backups/{backup-id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X DELETE \
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4/backups/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/backups/{backup-id}
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/backups/{backup-id}
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/backups/{backup-id}
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/backups/{backup-id}
- 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}/backups/{backup-id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4/backups/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Detailed information of a virtual machine backup.
UUID string uniquely identifying the backup.
Information about the associated backupSetInfo. This is an array to handle application backups spanning multiple objects in the device.
Absolute value of time in UTC until which the application backup remains locked.
Time in UTC at which the application backup was created on the device.
The 'self' reference for this resource.
Backup verification status details. Block level verification of backup with snapshot.
A list of objects encapsulating information about the storage disks provisioned to a virtual machine.
{ "appType": "VMWARE", "backupGranularity": "VOLUME", "backupSetsInfo": [ { … } ], "backupType": "BACKUP", "consistency": "APPLICATION", "consoleUri": "string", "containsRdmDisks": true, "createdAt": "2019-08-24T14:15:22Z", "createdByInfo": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }, "customerId": "string", "dataOrchestratorInfo": [ { … } ], "description": "string", "expiresAt": "2019-08-24T14:15:22Z", "fullBackup": true, "generation": 0, "id": "9b4c14a6-3cd5-4907-97c4-cf44c5b641e4", "indexed": "INDEXED", "lockedUntil": "2020-04-03T05:03:08.900Z", "name": "Nimble-VM1-snap", "partialBackup": true, "pointInTime": "2020-03-03T05:03:08.902Z", "protectionStoreInfo": { "id": "6a38acc7-e470-4ed7-b141-ca9509672dac", "name": "string", "protectionStoreType": "ON_PREMISES", "resourceUri": "/backup-recovery/v1beta1/protection-stores/6a38acc7-e470-4ed7-b141-ca9509672da", "type": "backup-recovery/protection-store" }, "resourceUri": "/backup-recovery/v1beta1/virtual-machines/id/backups/id/", "scheduleInfo": { "name": "Hourly snapshot schedule", "recurrence": "BY_MINUTES", "scheduleId": 0 }, "sourceCopyInfo": { "id": "d0e48314-730a-11ea-b496-48452098762c", "name": "string", "resourceUri": "string", "type": "string" }, "state": "OK", "stateReason": "string", "status": "OK", "storageSystemInfo": { "displayName": "atlas-dev-3par1.ind.hpecorp.net", "id": "6a38acc7-e470-4ed7-b141-ca9509672dac", "name": "atlas-dev-3par1.ind.hpecorp.net", "resourceUri": "/backup-recovery/v1beta1/protection-store-gateways/id", "type": "backup-recovery/protection-store-gateway" }, "type": "backup-recovery/virtual-machine-backup", "updatedAt": "2019-08-24T14:15:22Z", "verificationInfo": { "state": "VERIFIED", "stateReason": "Successfully completed.", "status": "OK", "verifiedAt": "2020-03-03T05:03:08.902Z" }, "verified": true, "virtualDisks": [ { … } ], "vmConfigInfo": { "computeInfo": { … }, "networkAdapters": [ … ] } }
UUID string uniquely identifying the virtual machine
Absolute value of time in UTC until which the application backup remains locked.
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/backups/{backup-id}
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/backups/{backup-id}
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/backups/{backup-id}
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/backups/{backup-id}
- 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}/backups/{backup-id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X PATCH \
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4/backups/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/merge-patch+json' \
-d '{}'