Restoring Data On Unix - Cisco CISCOWORKS COMMON SERVICES 3.0 User Manual

Hide thumbs Also See for CISCOWORKS COMMON SERVICES 3.0:
Table of Contents

Advertisement

Chapter 3
Configuring the Server

Restoring Data on UNIX

Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
78-16571-01
To restore the data on UNIX:
Log in as the superuser, and enter the root password.
Stop all processes by entering:
/etc/init.d/dmgtd stop
Restore the database by entering:
$NMSROOT
/bin/perl
directory] [
generationNumber] [
-gen
where NMSROOT is the CiscoWorks installation directory and,
[
temporary directory]—The restore framework uses a temporary directory
-t
to extract the content of backup archive. By default the temporary directory
is created under NMSROOT as NMROOT/ tempBackupData. You can
customize this, by using this –t option, where you can specify your own temp
directory. This is to avoid overloading NMSROOT
[
generationNumber]—Optional. By default, it is the latest generation.
-gen
If generations 1 through 5 exist, then 5 will be the latest.
[
backup directory]—Required. Which backup directory to use.
-d
[
]—Provides help. When used with
-h
correct syntax along with available suites and generations.
To restore the most recent version, enter:
$NMSROOT
/bin/perl
directory
For example,
-d /var/backup
Examine the log file in the following location to verify that the database was
restored by entering:
/var/adm/CSCOpx/log/restorebackup.log
Restart the system:
/etc/init.d/dmgtd start
$NMSROOT
/bin/restorebackup.pl
backup directory] [
-d
-d
$NMSROOT
/bin/restorebackup.pl -d
User Guide for CiscoWorks Common Services
Restoring Data
[
temporary
-t
]
-h
<backup directory> syntax, shows
backup
3-59

Advertisement

Table of Contents
loading

Table of Contents