Chapter 3 Configuring the Server
Restoring Data
3-60
User Guide for CiscoWorks Common Services
78-16571-01
Restoring Data on Windows
To restore the data on Windows:
Make sure you have the correct permissions.
At the command line:
Step 1
Stop all processes by entering:
net stop crmdmgtd
Step 2
Restore the database by entering:
NMSROOT\bin\perl NMSROOT\bin\restorebackup.pl [-t temporary directory]
[-gen generationNumber] [-d backup directory] [-h]
where NMSROOT is the CiscoWorks installation directory. See the previous
section for command option descriptions.
Step 3
To restore the most recent version, enter the following command:
NMSROOT\bin\restorebackup.pl -d backup directory
For example,
-d drive:\var\backup\
Step 4
Examine the log file in the following location to verify that the database was
restored by entering:
NMSROOT\log\restorebackup.log
Step 5
Restart the system by entering:
net start crmdmgtd
While restoring using a backup taken from a machine that is in ACS mode, the
machine on which data is restored needs to be added as a client in ACS. Contact
ACS administrator to add the restored machine as ACS client. See also,
“Setting
the Login Module to ACS” section on page 3-35
.