
./replicateDb backup
Or you can run the following command as root user:
su nsm ./replicateDb backup
The local backup is created in the directory specified by the
highAvail.pathDbBackup
parameter in the High Availability configuration file. By default, it is created in
/var/netscreen/dbbackup
.
Restoring the Database
If you need to restore the database, you can use a shell archive script.
To restore the database:
1.
Install NSM on a new server machine. The new server machine is required to use:
•
the same IP Address as the previous server on which you ran the GUI Server
•
the same operating system that you ran on the previous server
During the installation, you must also install and configure the local database backup
option on both the GUI Server and Device Server.
2.
Save your remote copy of the database backup files for the appropriate day of the
week to the local database backup data directory on your new management system
server.
3.
Navigate to the HA Server utilities subdirectory (
/usr/netscreen/HaSvr/utils
by default).
4.
Run the database restore shell archive script and specify the number day of the week
for the backup file that you want to restore from (N = backup day of the week). For
example:
restoreDbFromBackup.sh N
For example, to restore the backup file from Friday:
sh restoreDbFromBackup.sh 5
The restore script:
1.
Prompts you to confirm stopping the running server process(es).
2.
Verifies that you have properly logged in as the root user.
3.
Verifies that the backup file specified exists.
4.
Stops all running server processes.
5.
Uses rsync to copy the backup file to the appropriate server directories.
6.
Restarts all server processes.
Validating the Database Recovery Process
If you are using the local database backup option on a network where the GUI Server and
Device Server are installed on separate systems and you did not install the local database
Copyright © 2010, Juniper Networks, Inc.
182
Network and Security Manager Installation Guide
Summary of Contents for NETWORK AND SECURITY MANAGER 2010.4 - REV1
Page 6: ...Copyright 2010 Juniper Networks Inc vi...
Page 14: ...Copyright 2010 Juniper Networks Inc xiv Network and Security Manager Installation Guide...
Page 22: ...Copyright 2010 Juniper Networks Inc xxii Network and Security Manager Installation Guide...
Page 24: ...Copyright 2010 Juniper Networks Inc 2 Network and Security Manager Installation Guide...
Page 42: ...Copyright 2010 Juniper Networks Inc 20 Network and Security Manager Installation Guide...
Page 70: ...Copyright 2010 Juniper Networks Inc 48 Network and Security Manager Installation Guide...
Page 92: ...Copyright 2010 Juniper Networks Inc 70 Network and Security Manager Installation Guide...
Page 152: ...Copyright 2010 Juniper Networks Inc 130 Network and Security Manager Installation Guide...
Page 214: ...Copyright 2010 Juniper Networks Inc 192 Network and Security Manager Installation Guide...
Page 239: ...PART 3 Index Index on page 219 217 Copyright 2010 Juniper Networks Inc...
Page 240: ...Copyright 2010 Juniper Networks Inc 218 Network and Security Manager Installation Guide...
Page 244: ...Copyright 2010 Juniper Networks Inc 222 Network and Security Manager Installation Guide...