4 |
Copy the name of the most recent backup and then run the following command to copy it to a backup directory on the master node:
# kubectl cp -n nsp-psa-restricted nsp-backup-storage-0:/tmp/backups/backup_name /opt/nsp/backups/ where
-
backup_name is the NSP backup file you are retrieving, eg. nsp-tomcat. If you want to retrieve a specific backup set, specify a backup file name. Otherwise, you can retrieve the entire /tmp/backups directory contents.
-
/opt/nsp/backups/ is the target location of the copied backup file(s). You can specify a different location.
|