Configuring a Root Access Storage Class for Kubernetes

For Container Storage Interface (CSI) storage that is NFS type, to enable Commvault to restore files as any uid or gid (which is collected during backups), you must set up the Storage Class with root enabled flag.

Procedure

  1. Create a copy of the StorageClass that provisioned the PVC.

  2. Rename the copy and add RootClientEnabled=true in its parameters.

    metadata: name: storage_class_name parameters: RootClientEnabled: true

  3. Create a VolumeSnapshotClass with the label cv-backup-storageclass=storage_class_name.

What to Do Next

If you need to restore this application, you must use an out-of-place restore and override the StorageClass to use a StorageClass with RootClientEnabled=true.

Loading...