You can use the restorebackup.pl script to restore the LMS data you have backed up.
For a successful restoration of backed up data, ensure that all services and processes are up and running. Stop the daemons and then run restorebackup.pl.
Note Cross platform restore is supported only from Solaris/Window to Soft Appliance.
The following table lists the explanation for the syntax:
Syntax
Explanation
NMSROOT—(Required)
LMS installation directory (by default, /opt/CSCOpx in
Solaris and Soft Appliance, and C:\Program Files\CSCOpx
in Windows where C: is the System Drive)
-ttemporary_directory—(Optional)
This is the directory or folder used by the restore program to
store its temporary files. By default this directory is
NMSROOT/tempBackupData. You can customize this by
specifying your own temporary directory to avoid
overloading NMSROOT
-gengenerationNumber—(Optional)
This is the generation number. -gen now is the latest
generation. If generations 1 through 5 exist, then 5 is the
latest.
-dBKP—(Required)
This is the absolute directory or folder used by the restore
program to store the backup.
-h—(Optional)
Displays help. When used with -dBackupDirectory, show s
correct syntax along with available suites and generations
Examples
To restore...
Enter this command in Solaris and Soft Appliance
Enter this command in Windows
The latest version of data
opt/CSCOpx/bin/perl
opt/CSCOpx/bin/restorebackup.p
l -dBKP -gen now
C:\Progra~1\CSCOpx\bin\perl
C:\Progra~1\CSCOpx\bin\
restorebackup.pl -d BKP-gen now
The 12th generation of data
opt/CSCOpx/bin/perl
opt/CSCOpx/bin/restorebackup.p
l -dBKP -gen 12