To back up the Release 22.3 NSP file service data

Purpose

Perform this procedure to manually back up the NSP file service data before you upgrade a Release 22.3 system.

Steps
 

Log in as the root user on the NSP cluster VM that is called the NSP configurator VM or NSP cluster host.


Open a console window.


Enter the following to open a CLI session on the file service pod.

kubectl exec -it nsp-file-service-app-0 bin/bash ↵


Enter the following:

cd /opt/nsp/containers/nspvolume/fileservice ↵


Enter the following:

tar -cvf fileServiceData.tar * ↵

The files that are backed up are listed, and added to a backup file in the current directory called fileServiceData.tar.

The files may include MDM adaptor suite and device mapping files.


Enter the following to copy the backup file to the local file system.

kubectl cp nsp-file-service-app-0:/opt/nsp/containers/nspvolume/fileservice/fileServiceData.tar fileServiceData.tar ↵


Transfer the backup file from the current directory to a secure location in a separate facility for safekeeping.

Note: It is strongly recommended that for the greatest fault tolerance, you transfer the backup file to a secure facility that is outside the local data center.


To conserve system resources, it is recommended that you remove the backup file from the nsp-file-service-app pod.

Perform the following steps.

  1. Enter the following:

    kubectl exec -it nsp-file-service-app-0 bin/bash ↵

  2. Enter the following:

    cd /opt/nsp/containers/nspvolume/fileservice ↵

  3. Enter the following:

    rm -f fileServiceData.tar ↵

The backup file is deleted.


Close the console window.

End of steps