Protect your applications

Contributors kevin-hoke ac-ntap

After application workloads are managed by Astra Control Center, you can configure the protection settings for those workloads.

Creating an application snapshot

A snapshot of an application creates an ONTAP Snapshot copy that can be used to restore or clone the application to a specific point in time based on that Snapshot copy.

  1. To take a snapshot of the application, navigate to the Apps > Managed tab and click the application you would like to make a Snapshot copy of. Click the dropdown menu next to the application name and click Snapshot.

    Astra Control Center snapshot button

  2. Enter the snapshot details, click Next, and then click Snapshot. It takes about a minute to create the snapshot, and the status becomes Available after the snapshot is successfully created.

Astra Control Center create snapshot

Creating an application backup

A backup of an application captures the active state of the application and the configuration of its resources, coverts them into files, and stores them in a remote object storage bucket.

For the backup and restore of managed applications in the Astra Control Center, you must configure superuser settings for the backing ONTAP systems as a prerequisite. To do so, enter the following commands.

ONTAP::> export-policy rule modify -vserver ocp-trident -policyname default -ruleindex 1 -superuser sys
ONTAP::> export-policy rule modify -policyname default -ruleindex 1 -anon 65534 -vserver ocp-trident

To create an application backup, complete the following steps:

  1. To create a backup of the managed application in the Astra Control Center, navigate to Apps > Managed and click the application that you want to take a backup of. Click the dropdown menu next to the application name and click Backup.

    Astra Control Center backup button

  2. Enter the backup details, select the object storage bucket to hold the backup files, and click Next. After reviewing the details, click Backup. Depending on the size of the application and data, the backup can take several minutes. The status of the backup becomes Available after the backup is completed successfully.

    Astra Control Center create backup

Restoring an application

At the push of a button, you can restore an application to the originating namespace in the same cluster or to a remote cluster for application protection and disaster recovery purposes.

To restore an application, complete the following steps:

  1. Navigate to Apps > Managed tab and click the app in question. Click the dropdown menu next to the application name and click Restore.

    Astra Control Center clone button

  2. Enter the name of the restore namespace, select the cluster you want to restore it to, and choose if you want to restore it from an existing snapshot or from a backup of the application. Click Next.

    Astra Control Center restore

  3. On the review pane, enter restore and click Restore after you have reviewed the details.

    Astra Control Center restore review

The new application goes to the Restoring state while Astra Control Center restores the application on the selected cluster. After all the resources of the application are installed and detected by Astra, the application goes to the Available state.

Astra Control Center new app discovered

Cloning an application

You can clone an application to the originating cluster or to a remote cluster for dev/test or application protection and disaster recovery purposes. Cloning an application within the same cluster on the same storage backend uses NetApp FlexClone technology, which clones the PVCs instantly and saves storage space.

  1. To clone an application, navigate to the Apps > Managed tab, and click the app in question. Click the dropdown menu next to the application name and click Clone.

    Astra Control Center clone button

  2. Enter the details of the new namespace, select the cluster you want to clone it to, and choose if you want to clone it from an existing snapshot, a backup, or the current state of the application. Click Next, and then click Clone on the Review pane after you have reviewed the details.

    Astra Control Center restore

  3. The new application enters the Discovering state while Astra Control Center creates the application on the selected cluster. After all the resources of the application are installed and detected by Astra, the application enters the Available state.

    Astra Control Center new app discovered