Restoring Kubernetes data from backup files

Contributors netapp-tonacki

Backups are stored in an object store in your cloud account so that you can restore data from a specific point in time. You can restore an entire Kubernetes persistent volume from a saved backup file.

You can restore a persistent volume (as a new volume) to the same working environment or to a different working environment that’s using the same cloud account.

Supported working environments and object storage providers

You can restore a volume from a Kubernetes backup file to the following working environments:

Backup File Location Destination Working Environment

Amazon S3

Kubernetes cluster in AWS

Azure Blob

Kubernetes cluster in Azure

Google Cloud Storage

Kubernetes cluster in Google

Restoring volumes from a Kubernetes backup file

When you restore a persistent volume from a backup file, Cloud Manager creates a new volume using the data from the backup. You can restore the data to a volume in the same Kubernetes cluster or to a different Kubernetes cluster that’s located in the same cloud account as the source Kubernetes cluster.

Before you start, you should know the name of the volume you want to restore and the date of the backup file you want to use to create the newly restored volume.

Steps
  1. Select the Backup & Restore service.

  2. Click the Kubernetes tab and the Kubernetes Dashboard is displayed.

    A screenshot of the Kubernetes dashboard with the list of all Kubernetes clusters and volumes that are being backed up.

  3. Locate the volume you want to restore, click More icon, and then Volume Details.

    The list of all backup files for that volume is displayed along with details about the source volume, destination location, and backup details.

    A screenshot of all the available backups for a single source volume.

  4. Locate the specific backup file that you want to restore based on the date/time stamp, click More icon, and then Restore.

  5. In the Select Destination page, select the Kubernetes cluster where you want to restore the volume, the Namespace, the Storage Class, and the new Persistent volume name.

    A screenshot about the destination information where the persistent volume will be restored.

  6. Click Restore and you are returned to the Kubernetes Dashboard so you can review the progress of the restore operation.

Result

Cloud Manager creates a new volume in the Kubernetes cluster based on the backup you selected. You can manage the backup settings for this new volume as required.