How do I restore the SDK?

Before you begin

Before you begin the restore process, place the valid backup file in the ‘sdk-backup’ folder in the <sdk-installation-directory> directory.

Note: If there is an issue with upgrading the current system OS (for example, from RHEL 7 to RHEL 8), it is recommended to create a fresh installation in a new system and then copy the backup file to the "sdk-backup" folder in the <sdk-installation-directory> directory of the new system and begin the restore process.

Steps
 

Navigate to the <sdk-installation-directory> directory and execute the command:

./nsp-mdm-sdk.sh restore

The following prompt is displayed, listing the available backup archives.

Enter the number of the backup archive to restore (or 'q' to quit):

Note: If no backup files exist, the following prompt is displayed. No backup archives found in the backup archive folder: sdk-backup.


Enter the number that corresponds to the backup archive you want to restore and press Enter.

The following prompt is displayed.

Restoring backup: backup_<timestamp>.tar.gz ...

Backup 'backup_<timestamp>.tar.gz' restored successfully.

Note: If a valid number is not entered, the following prompt is displayed. Please try again.

Restore replaces the other settings and repositories with the same names as in the backup.

End of steps