Before performing a restore, you must have an installation of the Master Server that contains no data.
Stop the Master Server.
On the Master Server, change users so that you are root or the owner of the application.
Change to the directory where the backup script is located.
% cd N1SPS4.1-home/server/bin |
N1SPS4.1-home is the home directory of the application.
Start the restoration by typing:
% ./cr_restore.sh options |
The following options are available for use with the cr_restore.sh command.
Master Server base directory
If you do not use the -b option to specify a directory to in which to restore the backup files, the files are put in the current directory, N1SPS4.1–home/server/bin. If you do not have write permissions for this directory, the software generates an error.
Quiet. No informative messages are printed
Skip the Resource Store restore
Skip the database restore
Restore the contents of the backupfile file
Write log output to the logfile file instead of the default logfile
Use the temp_directory directory to save temporary files
Overwrite the existing data during restore
Print this information
Print this information
The script verifies that the backup files do not contain any errors. The script warns that if you proceed the Master Server process will stop, if it is not already stopped, thereby canceling any tasks, such as searches, plans, and comparisons, that are in progress.
Type y to proceed.
The script warns that any data currently in the databases will be overwritten with the data in the backup files.
Type y to proceed.
The restoration proceeds. The script starts the Master Server: