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
 
1 

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


2 

Open a console window.


3 

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

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


4 

Enter the following:

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


5 

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.


6 

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 ↵


7 

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.


8 

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.


9 

Close the console window.

End of steps