To backup the netview directory "databases" within "/usr/OV", perform the following steps:
1. cd /usr/OV
2. tar -cvf /backupdirectory/backup.tar databases/
In this example "backup.tar" is the resulting tar file that is placed in the directory "backupdirectory" off the root directory.
To backup the netview directories "databases" and "conf" within "/usr/OV", issue the following:
tar -cvf /backupdirectory/backup.tar databases/ conf/
To restore databases, perform the following:
The tar'ed backups of the NetView databases are in the "/archive/databases" directory.
1. Stop all GUIs and the daemons.
2. rm -r /usr/OV/databases/*
3. cd /usr/OV/databases
4. pax -rvf /backupdirectory/backup.tar -pe
The pax command will properly handle sparse files which are used in NetView's databases.
Once the databases have been restored, run the "mapadmin" command to change the database's hostname (if extracting a customer's database) as it might be different from the host that is presently being run on.
mapadmin -u <mapname>:<hostname of NV system>
NOTE: Map names are normally "default", but the "ovwls" command can be used to see what the name of the map is. The "reset_ci" command may also need to fix up hostname discrepancies. Start the necessary daemons but make sure netmon is not running. Start the GUI and let it synchronize, but netmon should still be stopped if using the customer's databases.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.