A newer release of this product is available.
List the backups
Suggest changes
You can list the backups that have been created for a specific managed application.
Before you begin
You must have the ID of the managed app you want to list the backups for. If needed you can use the workflow List the managed apps to locate the application.
1. List the backups
Perform the following REST API call.
HTTP method | Path |
---|---|
GET |
/accounts/{account_id}/k8s/v1/managedApps/{managedApp_id}/appBackups |
Additional input parameters
In addition to the parameters common with all REST API calls, the following parameters are also used in the curl examples for this step.
Parameter | Type | Required | Description |
---|---|---|---|
managed app id |
Path |
Yes |
Identifies the managed application owning the listed backups. |
Curl example: Return all backups for the app
curl --location -i --request GET 'https://astra.netapp.io/accounts/<ACCOUNT_ID>/k8s/v1/managedApps/<MANAGED_APP_ID>/appBackups' --header 'Accept: */*' --header 'Authorization: Bearer <API_TOKEN>'
JSON output example
{
"items": [
{
"type": "application/astra-appBackup",
"version": "1.0",
"id": "ed39fdb0-12db-497b-9e46-20036c1fb0d2",
"name": "mariadb-mariadb-backup-20210617175900",
"state": "completed",
"stateUnready": [],
"bytesDone": 0,
"percentDone": 100,
"metadata": {
"labels": [],
"creationTimestamp": "2021-06-17T17:59:09Z",
"modificationTimestamp": "2021-06-17T17:59:09Z",
"createdBy": "fb093413-b6fc-4a64-a48a-afc32ada8537"
}
}
],
"metadata": {}
}