Accessing the storage inside the backup and restore pods
Deployment options: Netezza Performance Server for Cloud Pak for Data System
Learn how to access the storage inside the backup and restore pods.
About this task
You can access backed up data by accessing backup and restore pods. To access the pods, you need information about the mount points that you used while deploying backup and restore for Netezza Performance Server.
Procedure
- List the pods that are available under your
namespace.
Example:oc get pods -n YOUR_NAMESPACEoc get pods -n nps-1 - Identify the backup and restore pods.The backup and restore pods use the following naming convention.Example:
bnr-STORAGE_TYPE-storage-server-REPLICAbnr-san-storage-server-0, bnr-nfs-storage-server-0, bnr-nfs-storage-server-1 - Connect to the pod in which you want to access the backed up
data.
Example:oc exec -it POD_NAME -- bash -n NAMESPACE_NAMEoc exec -it bnr-san-storage-server-0 -- bash -n nps-1 - Access the backed up data by using the same mount paths that you used while deploying a back up
and restore setup.
To find the mounts that are available in a pod, run the following command. They necessary information is displayed under .
Example:oc describe pod POD_NAME -n NAMESPACE_NAMEoc describe pod bnr-local-storage-server-0 -n nps-1 Containers: bnr-storage-cont: Image: image-registry.openshift-image-registry.svc:5000/nz-repo/storage-server:release-11.2.2.2 Port: <none> Host Port: <none> Limits: cpu: 4 memory: 20Gi Requests: cpu: 4 memory: 8Gi Environment: POD_NAMESPACE: aru-bnr-test (v1:metadata.namespace) POD_UID: (v1:metadata.uid) POD_NODENAME: (v1:spec.nodeName) Mounts: /bnrdata from bnr-data (rw) /pod/local0 from bnr-storage-vol-0 (rw)