Restoring Application Files In Place for Kubernetes

Updated

You can restore files and folders from a backup of a Kubernetes stateful application to the original Kubernetes application PersistentVolume.

Procedure

  1. From the navigation pane, go to Protect > Kubernetes.

    The Applications page appears.

  2. On the Application groups tab, in the row for the application group that contains the content that you want to restore, click the action button , and then click Restore.

    The Select restore type page appears.

  3. Click Application files.

    The Restore page appears.

  4. Select the volumes or specific files and folders to restore.

  5. To select a specific backup copy to restore from, do the following:

    By default, Commvault restores content from the first available, valid backup copy that it finds.

    1. In the upper-right corner of the page, click Settings.

      The Settings dialog box appears.

    2. From the MediaAgent list, select the access node that contains the backup copy.

    3. From the Source list, select the backup copy.

    4. Click Save.

  6. Click Restore.

    The Restore options dialog box appears.

  7. Click In place.

  8. From the Access node list, select the access node to perform the restore.

    For optimal performance, select an access node that has low latency to the Kubernetes cluster and the backup copy.

  9. To delete and overwrite existing data, move the Unconditionally overwrite if it already exists toggle key to the right, and then click Yes in the confirmation dialog box.

    If any data matching the restore data exists in the destination, Commvault deletes the existing data before starting the restore process.

  10. Click Submit.

What to Do Next

If you restored files or folders to a PersistentVolumeClaim (PVC) that is attached to a running pod, an application restart might be required to access the newly restored data in the application.