Recover Kubernetes Namespaces

You can restore the PVCs and the metadata of the namespaces that are backed up onto the Cohesity cluster to the same location or to an alternate location.

To recover protected Kubernetes namespaces to the same location or to an alternate location:

  1. In DataProtect as a Service, go to Sources to set up your recovery task.

  2. Click on the Source name.

  3. Above the tree, select Show All > Protected.

  4. Use the filters, search box, and views to locate and select the namespaces.

    You can also use Global Search to locate, filter, and select the objects you need. Click the Global Search box at the top or type slash (/) anywhere to start your search.

  5. Click Recover at the top to open the New Recovery form with the Latest snapshot (protection run).

  6. If you need to recover from an earlier snapshot, click the Edit icon to open the Recovery Point calendar. Click List to view the available recovery points by timestamp and click one.

    1. Click Select Recovery Point.

    2. Click Next: Recover Options to return to the form.

  7. Under Recover To, select Original Location or New Location. If you choose:

    Original Location, Cohesity will overwrite the original namespace on the same Kubernetes host to recover the namespace to the original location.

    New Location, Select the Target namespace in the Kubernetes host to recover the namespace to a new location.

  8. Select your Recovery Options:

    • Rename: Add Prefix and/or Suffix strings to the names of the new namespaces created by this task. For example, you could specify Prefix Test_ and Suffix _QA to the namespace’s name WinOS and when the namespace is recovered, the new namespace that is created is called Test_WinOS_QA.

    • Task Name: Change the default name of the recovery task.

  9. Click Recover.