Data Migration Guide for LAN Management Solution 3.0
Appendix A: Syntax and Usage for Backup Script

Table Of Contents

Syntax and Usage for Backup Script


Syntax and Usage for Backup Script


You can use the wrapper.pl script to manually backup LMS 2.2 and LMS 2.5 data.

The syntax for wrapper.pl is as follows:

Solaris

NMSROOT/bin/perl dir1/wrapper.pl BKP Logfile

Windows

NMSROOT\bin\perl dir1\wrapper.pl BKP Logfile

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).

dir1 is the directory where you have extracted wrapper.pl.

BKP is the backup directory, where you have backed up CS, RME, CM, IPM, DFM, and CV data using wrapper.pl.


Note DFM and CV data will be migrated only from LMS 2.5 and its later versions.


On LMS 3.0, the backup directory must exist before running wrapper.pl, otherwise you will see an error.

Example

To backup data in the backup directory, enter:

On Solaris:

opt/CSCOpx/bin/perl opt/CSCOpx/dir1/wrapper.pl/backup

On Windows:

C:\Progra~1\CSCOpx\bin\perl C:\Progra~1\CSCOpx\dir1\wrapper.pl C:\backup