Managing NerveCenter
-
Managing the Database - Backing up the Database -
You should establish a regular database backup schedule that suits your environment. Also, you should back up your database prior to doing anything that might affect the database. For example, you'll want to back up the database before upgrading NerveCenter or before importing data from another database. Then, if you need to restore the original data, you can.
SerializeDB exports the object and node data from the database to a single serialized ASCII file (*.asc
). On Windows, SerializeDB offers an alternative: exporting to a NerveCenter flat file database, which is made up of two text files (*.ncdb
and *.node
). The flat file database files can be used on UNIX or can be imported into a database on Windows.
.ASC
file in the NerveCenter DB directory and logs a message in the event log. The format of the file is MONTHDAYYEAR_HOURMINUTE.ASC
. You can then use SerializeDB to restore this data.You can use any number of methods to set up regularly scheduled backups, depending on your environment. Select the method that fits in best with your existing backup strategy. Here are some suggestions:
If you need to do a manual backup in addition to your scheduled backups, see Backing up the Database Using the SerializeDB Application.
SerializeDB exports the data in your database to a text file. When you use the SerializeDB GUI on Windows, you can choose the text file format -- you can have SerializeDB export the data to a NerveCenter flat file database or a serialized ASCII file. You might want to export data from a database on Windows to a flat file database if you want to use the resulting file on a UNIX machine without having to import the data.
If you are backing up a UNIX flat file database, all of the files that make up the database must be in the db directory. See Database Formats for more information.
To back up the database using the SerializeDB application:
SerializeDB
from the NerveCenter program group in the Start
menu.
./serializedb &
. Then press Enter
.
The SerializeDB window is displayed.
Export database to file
radio button.
backup061503
) in the File
field. If you do not specify a path as part of the name, SerializeDB creates the file in the NerveCenter db directory.
Browse
button. Select the existing file. Then select Open
.
Start
.On UNIX, SerializeDB starts exporting the data.
On Windows, you must specify the data source for the database. The Select Data Source window is displayed.
When the data has been exported, SerializeDB displays a message letting you know that the data transfer was successful.
When running SerializeDB from the command line, you can only export to a serialized file (.asc
file).
Viewing Information about the Database | Restoring the Database |
29 July 2003 |