Scroll to navigation

DBSCAN(1) General Commands Manual DBSCAN(1)

NAME

dbscan - scans a Directory Server database index file and dumps the contents

SYNOPSIS

dbscan -f <filename> [-R] [-t <size>] [-K <entry_id>] [-k <key>] [-l <size>] [-G <n>] [-n] [-r] [-s]

DESCRIPTION

Scans a Directory Server database index file and dumps the contents.

OPTIONS

A summary of options is included below:

common options:
dump as ascii data
specify db type: bdb or mdb
specify db instance
dump as raw data
entry truncate size (bytes)
entry file options:
lookup only a specific entry id
index file options:
only display index entries with more than <n> ids
Import database instance from file. Requires --do-it parameter WARNING! Only the id2entry and replication_changelog database instances may be imported by dbscan.
lookup only a specific key
max length of dumped id list (default 4096; 40 bytes <= size <= 1048576 bytes)
display ID list lengths
remove a db instance. Requires --do-it parameter
display the contents of ID list
display statistics
Export database instance to file
other options:
Summary of index counts
List od database instances
confirmation required for actions that change the database contents
display the usage

USAGE

Sample usages:

dbscan -L /var/lib/dirsrv/slapd-supplier1/db
dbscan -f id2entry.db4
dbscan -f cn.db4
dbscan -f /var/lib/dirsrv/slapd-supplier1/db/userroot/cn.db
(Note: Use dbscan -L db_home_dirget the db instance path)
dbscan -r -f mail.db4
dbscan -r -G 20 -f sn.db4
dbscan -s -f objectclass.db4

AUTHOR

dbscan was written by the 389 Project.

REPORTING BUGS

Report bugs to https://github.com/389ds/389-ds-base/issues/new

COPYRIGHT

Copyright © 2001 Sun Microsystems, Inc. Used by permission.
Copyright © 2017 Red Hat, Inc.
This manual page was written by Michele Baldessari <michele@pupazzo.org>, for the Debian project (but may be used by others).
This is free software. You may redistribute copies of it under the terms of the Directory Server license found in the LICENSE file of this software distribution. This license is essentially the GNU General Public License version 2 with an exception for plug-in distribution.

March 31, 2017