Sun ONE Directory Server Resource Kit 5.2 Tools Reference |
Chapter 29
The Database File Analyzer ToolThe dbscan tool analyzes and extracts information from a Sun ONE Directory Server database file. This chapter provides instructions on how to use dbscan. It contains the following sections:
OverviewThe dbscan tool analyzes and extracts information from a Directory Server database file. Database files use the .db2 and .db3 extensions in their filename, depending on the version of Directory Server. The tool analyzes these files, extracting information about entries in the Directory Server. The DSRK includes the tool in the DSRK_base/bin/dsrk52 directory.
Command UsageThe dbscan tool analyzes raw database files and extracts information about the entries stored in the directory. One format of the output generates the LDAP Data Interchange Format (LDIF ) representation of directory contents. You can also use this tool to create index files of the database.
Syntax
The syntax of the dbscan tool on the command-line takes the following form:
dbscan [ options ] -f filename
Where:
- options are the command-line options described in Options.
- filename specifies the database filename and path. The tool accepts database files with either .db2 or .db3 extensions.
You will need to redirect the standard output to a file (> outputFile) to save it.
Options
The dbscan options and parameters are described in Table 29-1.