Protect apps with snapshots and backups

Contributors netapp-bcammett ebarcott Download PDF of this page

Protect your apps by taking snapshots and backups using an automated protection policy or on an ad-hoc basis.

Snapshots and backups

A snapshot is a point-in-time copy of an app that’s stored on the same provisioned volume as the app. They are usually fast. Local snapshots are used to restore the application to an earlier point in time.

A backup is stored on object storage in the cloud. A backup can be slower to take compared to the local snapshots. But they can be accessed across regions in the cloud to enable app migrations. You can also choose a longer retention period for backups.

Caution You can’t be fully protected until you have a recent backup. This is important because backups are stored in an object store away from the persistent volumes. If a failure or accident wipes out the cluster and it’s persistent storage, then you need a backup to recover. A snapshot wouldn’t enable you to recover.

Configure a protection policy

A protection policy protects an app by creating snapshots, backups, or both at a defined schedule. You can choose to create snapshots and backups hourly, daily, weekly, and monthly, and you can specify the number of copies to retain.

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

  2. Click Data Protection.

  3. Click Configure Protection Policy.

    A screenshot of the Data protection tab for an app which enables you to configure a protection policy.

  4. Define a protection schedule by choosing the number of snapshots and backups to keep for the hourly, daily, weekly, and monthly schedules.

    You can define the hourly, daily, weekly, and monthly schedules concurrently. A schedule won’t turn active until you set a retention level for snapshots and backups.

    When you set a retention level for backups, you can choose the bucket where you’d like to store the backups.

    The following example sets four protection schedules: hourly, daily, weekly, and monthly for snapshots and backups.

    A screenshot of a sample configuration policy where you can choose to take snapshots and backups on an hourly, daily, weekly, or monthly basis.

  5. Click Review.

  6. Click Configure.

    Here’s a video that shows each of these steps.

Result

Astra Control implements the data protection policy by creating and retaining snapshots and backups using the schedule and retention policy that you defined.

Create a snapshot

You can create an on-demand snapshot at any time.

Steps
  1. Click Apps.

  2. Click the drop-down list in the Actions column for the desired app.

  3. Click Snapshot.

    A screenshot of the app page where you can click the drop-down list in the actions column and select Snapshot.

  4. Customize the name of the snapshot and then click Review Information.

  5. Review the snapshot summary and click Snapshot App.

Result

Astra Control creates a snapshot of the apps.

Create a backup

You can also back up an app at any time.

Steps
  1. Click Apps.

  2. Click the drop-down list in the Actions column for the desired app.

  3. Click Backup.

    A screenshot of the app page where you can click the drop-down list in the actions column and select Backup.

  4. Customize the name of the backup, choose whether to back up the app from an existing snapshot, and then click Review Information.

  5. Review the backup summary and click Backup App.

Result

Astra Control creates a backup of the app.

View snapshots and backups

You can view the snapshots and backups of an app from the Data Protection tab.

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

  2. Click Data Protection.

    The snapshots display by default.

    A screenshot of the data protection tab for an app where you can view the list of the current snapshots and backups.

  3. Click Backups to see the list of backups.

Delete snapshots

Delete the scheduled or on-demand snapshots that you no longer need.

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

  2. Click Data Protection.

  3. Click the drop-down list in the Actions column for the desired snapshot.

  4. Click Delete snapshot.

    A screenshot of the Data protection tab for an app where you can delete a snapshot.

  5. Type the name of the snapshot to confirm deletion and then click Yes, Delete snapshot.

Result

Astra Control deletes the snapshot.

Delete backups

Delete the scheduled or on-demand backups that you no longer need.

  1. Click Apps and then click the name of a managed app.

  2. Click Data Protection.

  3. Click Backups.

    A screenshot of the Backups option that’s available in the far right of the data protection tab.

  4. Click the drop-down list in the Actions column for the desired backup.

  5. Click Delete backup.

    A screenshot of the Data protection tab for an app where you can delete a snapshot.

  6. Type the name of the backup to confirm deletion and then click Yes, Delete backup.

Result

Astra Control deletes the backup.