Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. NetBackup™ Deployment Guide for Amazon Elastic Kubernetes Services (EKS) Cluster
  3. Troubleshooting
  4. Resolving an issue related to recovery of data
NetBackup™ Deployment Guide for Amazon Elastic Kubernetes Services (EKS) Cluster

Resolving an issue related to recovery of data

If a PVC is deleted or the namespace where primary or media server is deployed, is deleted or deployment setup is uninstalled, and you want to recover the previous data, attach the primary server and media server PVs to its corresponding PVCs.

In case of recovering data from PV, you must use the same environment CR specs that are used at the time of previous deployment. If any spec field is modified, data recovery may not be possible.

To resolve an issue related to recovery of data

  1. Run the kubectl get PV command.
  2. From the output list, note down PV names and its corresponding claim (PVC name and namespace) that are relevant from previous deployment point of view.
  3. Set claim ref for the PV to null using the kubectl patch pv <pv name> -p '{"spec":{"claimRef": null}}' command.

    For example, kubectl patch pv pvc-4df282e2-b65b-49b8-8d90-049a27e60953 -p '{"spec":{"claimRef": null}}'

  4. Run the kubectl get PV command and verify bound state of PVs is Available.
  5. For the PV to be claimed by specific PVC, add the claimref spec field with PVC name and namespace using the kubectl patch pv <pv-name> -p '{"spec":{"claimRef": {"apiVersion": "v1", "kind": "PersistentVolumeClaim", "name": "<Name of claim i.e. PVC name>", "namespace": "<namespace of pvc>"}}}' command.

    For example,

    kubectl patch pv <pv-name> -p '{"spec":{"claimRef": {"apiVersion": "v1", "kind": "PersistentVolumeClaim", "name": "data-testmedia-media-0", "namespace": "test"}}}'

    While adding claimRef add correct PVC names and namespace to respective PV. Mapping should be as it was before deletion of the namespace or deletion of PVC.

  6. Deploy environment CR that deploys the primary server and media server CR internally.

Feedback

Was this page helpful?
Previous

Resolve an issue related to pulling an image from the container registry

Next

Check primary server status

Feedback

Was this page helpful?