Managing NerveCenter
-
Controlling NerveCenter from the Command Line - serializedb -
serializedb
-f fullyQualifiedFilename.asc
-o {dbtofile|filetodb}
{-r}|{-c "DSN=dataSourceName;UID=userID;PWD=password"}|{-d
fullyQualifiedFilename.ncdb}
Exports or imports the data in your NerveCenter database. You can run SerializeDB from a GUI, the command line, or from a script.
-f fullyQualifiedFilename.asc
Name of the backup file you want SerializeDB to export to or import from. If you do not specify a path, SerializeDB creates (or searches) for the file in your current working directory.
-o dbtofile or filetodb
Specifies whether you are using SerializeDB to export or to import NerveCenter data.
-r
(Windows only) Instructs SerializeDB to get the data source name, user ID, and password from the NerveCenter registry. You can use -r with a Microsoft SQL Server database or a Microsoft Access database.
-c "DSN=dataSourceName;UID=userID;PWD=password"
(Windows only) Specifies that you are exporting from a Microsoft SQL Server database. Replace dataSourceName with the existing data source name, userID with the appropriate SQL Server user ID, and password with the corresponding password.
-d fullyQualifiedFilename.ncdb
(UNIX only) Specifies the fully qualified database pathname (for example, /opt/OSInc/db/nervecenter.ncdb
). If you don't specify a path, NerveCenter uses the current working directory.
Unless you use fully qualified pathnames, SerializeDB reads and writes to the current working directory.
When running SerializeDB from the command line, you can only export to a serialized file (.asc file).
Use the timestamp and the size of the file as an indicator of success. For example, if the timestamp is old or the file size is 0K, you need to investigate further. Check the UNIX system log or the Windows Event Log for error messages.
semsopca | trapgen |
29 July 2003 |