|
|
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 |
Perform one of the following to change to the file service pod.
-
For a Release 21.3 NSP system, enter the following:
# kubectl exec -it nsp-file-service-app-0 -c nsp-file-service-app bin/bash ↵
-
For an NSP system at Release 21.6 or later, enter the following:
# 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 |
Perform one of the following to copy the backup file to the local file system.
-
For a Release 21.3 NSP system, enter the following:
# kubectl cp nsp-file-service-app-0:/opt/nsp/containers/nspvolume/fileservice/fileServiceData.tar fileServiceData.tar -c nsp-file-service-app ↵
-
For an NSP system at Release 21.6 or later, enter the following:
# 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.
-
Enter the following:
# kubectl exec -it nsp-file-service-app-0 bin/bash ↵
-
Enter the following:
# cd /opt/nsp/containers/nspvolume/fileservice ↵
-
Enter the following:
# rm -f fileServiceData.tar ↵
The backup file is deleted.
|
9 |
Close the console window.
End of steps |