Skip to main content
Astra Control Center
A newer release of this product is available.

Restore apps

Contributors

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.

Note 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.
Note 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.
Note

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.

oc new-project wordpress
oc adm policy add-scc-to-group anyuid system:serviceaccounts:wordpress
oc adm policy add-scc-to-user privileged -z default -n wordpress

Steps
  1. Click Apps and then click the name of an app.

  2. Click Data protection.

  3. If you want to restore from a snapshot, keep the Snapshots icon selected. Otherwise, click the Backups icon to restore from a backup.

  4. Click the drop-down list in the Actions column for the snapshot or backup from which you want to restore.

  5. Click Restore application.

  6. Restore details: Specify details for the restore:

    • Enter a name and namespace for the app.

      Note 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.

  7. Restore Summary: Review details about the restore action and click Restore.

Result

Astra Control Center restores the app based on the information that you provided.

Note 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.