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/
The filter query parameter is used to filter the set of resources returned in the response. The returned set of resources must match the criteria in the filter query parameter.
A comparision compares a property name to a literal. The comparisons supported are the following:
- “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)
Examples:
- GET /backup-recovery/v1beta1/mssql-databases/{db-id}/backups?filter="backupType eq CLOUD_BACKUP"
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
A comma separated list of properties to sort by, followed by a direction indicator ("asc" or "desc"). 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. The property “select” is the name of the select query parameter; its value is the list of properties to return separated by commas.
- 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/mssql-databases/{db-id}/backups
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-databases/{db-id}/backups
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-databases/{db-id}/backups
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-databases/{db-id}/backups
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-databases/{db-id}/backups
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
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/mssql-databases/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4/backups \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
MSSQL database backup list
UUID string uniquely identifying the backup.
Details of the databases whose backup is also part of this backup object. On deleting this backup object the backed up data of the associated databases which is part of this backup is also deleted
Applicable only to backup copies. Specifies granularity at which the backup is created. The user can specify whether to create volume based backups or application Change Block Tracking (CBT) based backups.
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 at which the application backup expires.
A monotonically increasing value. This value updates when the resource is updated and can be used as a short way to determine if a resource has changed or which of two different copies of a resource is more up to date.
Absolute value of time in UTC until which the application backup is locked.
Time in UTC at which the application backup was created on the device.
Information about the protection store where the copy is created.
The 'self' reference for this resource.
The current state of the application backup.
Brief reason for the current state of the application backup.
{ "count": 0, "items": [ { … } ], "pageLimit": 0, "pageOffset": 0, "total": 0 }
- 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/mssql-databases/{db-id}/backups/{backup-id}
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-databases/{db-id}/backups/{backup-id}
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-databases/{db-id}/backups/{backup-id}
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-databases/{db-id}/backups/{backup-id}
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-databases/{db-id}/backups/{backup-id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X DELETE \
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/mssql-databases/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4/backups/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{}
- 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/mssql-databases/{db-id}/backups/{backup-id}
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-databases/{db-id}/backups/{backup-id}
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-databases/{db-id}/backups/{backup-id}
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-databases/{db-id}/backups/{backup-id}
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-databases/{db-id}/backups/{backup-id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
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/mssql-databases/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4/backups/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
Detailed information of a MSSQL database backup
UUID string uniquely identifying the backup.
Details of the databases whose backup is also part of this backup object. On deleting this backup object the backed up data of the associated databases which is part of this backup is also deleted
Applicable only to backup copies. Specifies granularity at which the backup is created. The user can specify whether to create volume based backups or application Change Block Tracking (CBT) based backups.
Information about the associated backupSetInfo. This is an array to handle application backups spanning multiple objects in the device.
A monotonically increasing value. This value updates when the resource is updated and can be used as a short way to determine if a resource has changed or which of two different copies of a resource is more up to date.
Absolute value of time in UTC until which the application backup is locked.
Time in UTC at which the application backup was created on the device.
Information about the protection store where the copy is created.
The 'self' reference for this resource.
{ "associatedDatabases": [ { … } ], "backupGranularity": "VOLUME", "backupSetsInfo": [ { … } ], "backupType": "BACKUP", "createdByInfo": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }, "customerId": "string", "description": "string", "expiresAt": "2019-08-24T14:15:22Z", "generation": 0, "id": "9b4c14a6-3cd5-4907-97c4-cf44c5b641e4", "lockedUntil": "2020-04-03T05:03:08.900Z", "logBackupInfo": { "lastLogBackupTime": "2020-03-03T06:03:08.902Z", "protectionStoreInfo": { … }, "storageSystemInfo": { … } }, "name": "Nimble-DB1-snap", "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/mssql-databases/{db-id}/backups/{backup-id}", "scheduleInfo": { "id": "string", "name": "Hourly snapshot schedule", "recurrence": "BY_MINUTES" }, "sourceCopyInfo": { "id": "d0e48314-730a-11ea-b496-48452098762c", "resourceUri": "string", "type": "SNAPSHOT" }, "state": "OK", "stateReason": "string", "status": "OK", "storageSystemInfo": { "displayName": "atlas-dev-psg1.ind.hpecorp.net", "id": "6a38acc7-e470-4ed7-b141-ca9509672dac", "resourceUri": "string", "type": "PROTECTION_STORE_GATEWAY" }, "type": "string", "updatedAt": "2019-08-24T14:15:22Z" }
UUID string uniquely identifying the MSSQL Database
- 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/mssql-databases/{db-id}/backups/{backup-id}
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-databases/{db-id}/backups/{backup-id}
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-databases/{db-id}/backups/{backup-id}
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-databases/{db-id}/backups/{backup-id}
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-databases/{db-id}/backups/{backup-id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X PATCH \
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/mssql-databases/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 '{}'
{}