sidebar | permalink | keywords | summary |
---|---|---|---|
sidebar |
workflows/wf_restore_app_backup.html |
You can restore a managed application by creating a new app from a backup.
Perform the workflow List the managed apps and select application you want to clone. Several of the resource values are needed for the REST call used to clone the app.
Perform the workflow List the backups and select backup you want to use.
Perform the following REST API call. You must provide the ID for either a backup (as shown below) or snapshot.
HTTP method | Path |
---|---|
PUT |
/account/{accountID}/k8s/v1/managedApps/{appID} |
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 |
---|---|---|---|
JSON |
Body |
Yes |
Provides the parameters for the cloned app. See the example below. |
{
"type": "application/astra-managedApp",
"version": "1.2",
"backupID": "e24515bd-a28e-4b28-b832-f3c74dbf32fb"
}
curl --location -i --request PUT 'https://astra.netapp.io/accounts/<ACCOUNT_ID>/k8s/v1/managedApps/<APP_ID>' --header 'Content-Type: application/astra-managedApp+json' --header '*/*' --header 'ForceUpdate: true' --header 'Authorization: Bearer <API_TOKEN>' --d @JSONinput