Table Of Contents
Syntax and Usage for Backup Script
Syntax and Usage for Backup Script
You can use the backup.pl script to manually backup LMS data.
The syntax for backup.pl is as follows:
Solaris
NMSROOT/bin/perl NMSROOT/bin/backup.pl BKP Logfile num_generations
Windows
NMSROOT\bin\perl NMSROOT\bin\backup.pl BKP Logfile num_generations
Where:
•
NMSROOT is the environment variable that contains the full pathname of Common Services installation directory (by default, /opt/CSCOpx for Solaris, and C:\Program Files\CSCOpx for Windows, where C: is the System Drive).
•
BKP is the backup directory, where you have used backup.pl to back up data for Campus Manager, RME, and DFM at the same time.
The data is stored in the directories BKP/1, BKP/2, and BKP/3 etc., where BKP/n stores the data of the nth generation. If generations 1through 5 exist, then 5 will be the latest.
On LMS 2.1, the backup directory must exist before running backup.pl, otherwise you will see an error.
Example
To backup data in the backup directory, enter:
On Solaris:
opt/CSCOpx/bin/perl opt/CSCOpx/bin/backup.pl /backup
On Windows:
C:\Progra~1\CSCOpx\bin\perl C:\Progra~1\CSCOpx\bin\backup.pl C:\backup