dbmgr -util Function: Manage Existing Database
The dbmgr -util function performs management and maintenance operations on a database. It assumes is not currently running. Invoke it from the directory where the database resides.
capamsc141
The dbmgr -util function performs management and maintenance operations on a database. It assumes
PAM Server Control
is not currently running. Invoke it from the directory where the database resides.The -util option is used to manage and manipulate the local database specified by the parameter
filename
. Database files have the extension .dat and must be DBIO files. Database index files (files with the extension .001) cannot be used with the -util option.This command has the following format:
dbmgr {-util|-u} [-h] \
[-all filename] \ [-build filename] \ [-check] \ [-close] \ [-dump filename] \ [-dup srcdst] \ [-fast] \ [-free filename] \ [-index filename] \ [-key filename] \ [-load dbascii \ [-scan filename] \ [-scana filename] \ [-stat filename] \ [-verify] \ [-f fileName]
- -util-uExecutes the database management and maintenance functions of the dbmgr utility.
- -allfilenamePerforms all index checks; same as specifying the-indexand-freeoptions.
- -buildfilenameBuilds indexes of a DBIO based on data records.
- -check(UNIX only). Performs a fast sanity and consistency check on all index entries for all database files.
- -closeCloses the database if it is open.
- -dumpfilenameDumps the data file as ASCII on the standard output device.
- -dupsrcdstDuplicates the DBIO file based on the file header.
- -ffileNameDirects output to the specified file, instead of the standard output device.
- -fastPerforms a fast sanity check on all index entries for all the database files.
- -freefilenameChecks for a free index.
- -indexfilenameChecks the consistency of the index.
- -keyfilenameSequentially scans an index file.
- -loaddbasciiLoads an ASCII file and converts it into a DBIO file.
- -scanfilenameScans the database sequentially.
- -scanafilenameScans the database sequentially, including deleted records.
- -statfilenameLists the header information of the database file.
- -verify(UNIX only). Verifies that certain predefined objects exist in the database; for example, SEOS, ADMIN, and UACC for all classes.