3-59
User Guide for CiscoWorks Common Services
78-16571-01
Chapter 3 Configuring the Server
Restoring Data
Restoring Data on UNIX
To restore the data on UNIX:
Step 1
Log in as the superuser, and enter the root password.
Step 2
Stop all processes by entering:
/etc/init.d/dmgtd stop
Step 3
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 and,
•
[
-t
temporary directory]—The restore framework uses a temporary directory
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
•
[
-gen
generationNumber]—Optional. By default, it is the latest generation.
If generations 1 through 5 exist, then 5 will be the latest.
•
[
-d
backup directory]—Required. Which backup directory to use.
•
[
-h
]—Provides help. When used with
-d
<backup directory> syntax, shows
correct syntax along with available suites and generations.
Step 4
To restore the most recent version, enter:
$NMSROOT
/bin/perl
$NMSROOT
/bin/restorebackup.pl
-d
backup
directory
For example,
-d /var/backup
Step 5
Examine the log file in the following location to verify that the database was
restored by entering:
/var/adm/CSCOpx/log/restorebackup.log
Step 6
Restart the system:
/etc/init.d/dmgtd start
Содержание CISCOWORKS COMMON SERVICES 3.0
Страница 216: ...Chapter 6 Using Device Center Performing Management Tasks 6 16 User Guide for CiscoWorks Common Services 78 16571 01 ...
Страница 226: ...Chapter 7 Working With Software Center Viewing Activity Logs 7 10 User Guide for CiscoWorks Common Services 78 16571 01 ...
Страница 274: ...Appendix A Understanding CiscoWorks Security Server Security A 12 User Guide for CiscoWorks Common Services 78 16571 01 ...