Since many users do this already, I was expecting someone else to tell you
their procedures, but I can tell you that this is easily accomplised. What
you must do is stop at least netmon and snmpCollect, and then backup the
entire /usr/OV/databases/openview directory. All of it. The object
database, topology database, and map datbase are all tied together and
should not be dealt with separately.
There are several ways to backup /usr/OV/databases/openview. You can use
the AIX backup and restore commands. You can also use tar, but as these are
sparse file systems, restoring with tar will cause them to use more space
than they did originally. To avoid this you can use pax to restore them.
For example, you could do this
cd /usr/OV/databases/openview
tar -cvf <filename> * this tars up everything into
your file
pax -vf <filename> (same as tar -tvf <filename>) you can use pax or
tar to see the contents of your file
pax -rp e -f <filename> (like tar -xvf <filename>) restore with
pax and don't forget the 'e' option to restore the permissions.
When you restore all the daemons should be down.
James Shanks
Tivoli (NetView for UNIX) L3 Support
JMutrux@GENAM.COM on 07/02/98 04:22:49 PM
Please respond to NV-L@UCSBVM.UCSB.EDU
To: NV-L@UCSBVM.UCSB.EDU
cc: (bcc: James Shanks)
Subject: Backing up Netview 4.1 AIX Databases
I'd like to be able to rediscover our network using a new seedfile,
basically starting from scratch. However, I would like to be able to go
back to my current situation if necessary. How do I backup and restore the
Netview databases necessary to do this. I'd like to do this on the hard
drive rather than tape if possible.
Thanks,
John M.
|