Restore apps
Astra Control Center can restore your application from a snapshot or backup. Persistent storage backups and snapshots are transferred from your object store, so restoring from an existing snapshot to the same cluster will be faster than other methods. You can use the Astra UI or the Astra API to restore apps.
If you use Helm to deploy apps, Astra Control Center requires Helm version 3. Managing and cloning apps deployed with Helm 3 (or upgraded from Helm 2 to Helm 3) are fully supported. Apps deployed with Helm 2 are not supported. |
If you restore to a different cluster, ensure that the cluster is using the same persistent volume access mode (for example, ReadWriteMany). The restore operation will fail if the destination persistent volume access mode is different. |
When you create a project for hosting an app on an OpenShift cluster, the project (or Kubernetes namespace) is assigned a SecurityContext UID. To enable Astra Control Center to protect your app and move the app to another cluster or project in OpenShift, you need to add policies that enable the app to run as any UID. As an example, the following OpenShift CLI commands grant the appropriate policies to a WordPress app.
|
-
Click Apps and then click the name of an app.
-
Click Data protection.
-
If you want to restore from a snapshot, keep the Snapshots icon selected. Otherwise, click the Backups icon to restore from a backup.
-
Click the drop-down list in the Actions column for the snapshot or backup from which you want to restore.
-
Click Restore application.
-
Restore details: Specify details for the restore:
-
Enter a name and namespace for the app.
If you are restoring an app that has been deleted, choose a different name and namespace for the app than the original name. If the name for the restored app is the same as the deleted app, the restore operation will fail. -
Choose the destination cluster for the app.
-
Click Review.
-
-
Restore Summary: Review details about the restore action and click Restore.
Astra Control Center restores the app based on the information that you provided.
After a data protection operation (clone, backup, restore) and subsequent persistent volume resize, there is up to a twenty-minute delay before the new volume size is shown in the UI. The data protection operation is successful within minutes, and you can use the management software for the storage backend to confirm the change in volume size. |