Cluster Backups

From the menu bar, go to Protection > Backups in the Clusters section to open the Backups page for clusters. In this page, you can create new backup jobs for your clusters. You can also manage the existing backup jobs.

See also

To add a cluster in your CloudCasa organization, see Clusters.

To protect databases, see Database Backups.

Defining a backup job

  1. In the Backups page for clusters, click Define backup +.

  2. In Step 1 of the Add new backup pane, enter the following fields:

    Backup name

    A name of your backup job.

    Cluster

    The cluster to protect.

    Add Tags (optional)

    Key-value pairs that you can use arbitrarily to manage backup jobs in CloudCasa.

    Click Next.

  3. Enter the following values:

    Cluster

    Select either one of Full Cluster or Select Namespaces. If you choose Select Namespaces, enter the namespaces to protect.

    Select labels (optional)

    Enter key-value pairs to specify the labels for the object that you want to protect in the cluster.

    Include Persistent Volumes

    Enable this option to protect the Kubernetes Persistent Volumes in the cluster.

    Enable App Hooks

    Enable this option to protect the App Hooks in the cluster.

    Snapshot only or Snapshot and copy to CloudCasa

    Tip

    In CloudCasa, there are two data protection methods:

    CloudCasa Backups

    Store your backup in the CloudCasa Storage.

    CloudCasa Snapshots

    Store your snapshot in your own public cloud storage: Amazon S3, third-party storage which has a compatible interface with Amazon S3, and Microsoft Azure Blob storage.

    If you selected Snapshot and Copy to CloudCasa, you will see the following advanced options:

    Destination storage for copy

    Select either one of the following options:

    Inherit from cluster preferences

    Use the default destination for the cluster that you specified in the Clusters page.

    CloudCasa Storage

    Use the CloudCasa Storage. Select the provider from Amazon S3 (AWS) or Microsoft Azure Blob storage (azure) and the region of the data center. See Service Plans to upgrade the Service Plan and expand the capacity of CloudCasa Storage for your organization.

    My Storage

    Select one of storage services that you registered in the My Storage page.

    Tip

    You can edit the cluster backup job later to change the destination storage service provider or its region. If you do so with a backup job for PV copies, the next job will make a full backup in the new destination storage.

    Concurrent streams

    Select a number of the data transfer streams between your cluster data and the destination storage during the backup job, between 1 stream and 16 streams. The default number is 2 streams.

    Max speed per stream

    Specify the maximum bandwidth for the data transfer between your cluster data and the destination storage during the backup job in MB per second. Or, leave this field blank so as not to limit the bandwidth. The default value is blank for “Unlimited”.

  4. If you enabled App Hooks in the previous step, select the pre-backup App Hooks, post-backup App Hooks, or both. Click Next.

    See also

    For more information about App Hooks, see App Hooks.

  5. Select a policy for the backup. Click Next.

    See also

    For more information about policies, see Policies.

  6. Review the summary of the backup, and click Create.

Ensure that you can see the new backup job in the list.

Restoring backup from a backup job

In the Backups page for clusters, you can restore clusters from backup jobs.

See also

As mentioned earlier, you can also restore clusters from backups by creating and running a restore job or restoring a recovery point of a particular time and cluster. For more details, see the following topics:

Take the following steps to restore a backup of a cluster that was created by a particular backup job:

  1. In the backup job list, find the cluster backup job that created a snapshot to restore.

  2. Click Restore in the backup job list to open the Restore backup pane.

  3. In Step 1 of the Restore backup pane, select a recovery point from the “Available Recovery Points” list. Click Next.

  4. In Step 2 and after of the Restore Backup pane, follow the instructions in Restoring a cluster backup.

Ensure that you can see the cluster data from the restore point in either the original cluster or a different cluster. If you are using Microsoft Azure Kubernetes Service (AKS), you can create a new cluster and restore your data there.

Additional operations in the Backups page for clusters

In the backup job list, each item has the following buttons to perform actions for the backup job:

Run now

Run the backup job immediately regardless of the schedules in the associated policies.

Remove

Remove the backup job.