1 .TH SLAPCAT 8C "RELEASEDATE" "OpenLDAP LDVERSION"
3 .\" Copyright 1998-2006 The OpenLDAP Foundation All Rights Reserved.
4 .\" Copying restrictions apply. See COPYRIGHT/LICENSE.
6 slapcat \- SLAPD database to LDIF utility
26 is used to generate an LDAP Directory Interchange Format
27 (LDIF) output based upon the contents of a
30 It opens the given database determined by the database number or
31 suffix and writes the corresponding LDIF to standard output or
33 Databases configured as
35 of this one are also output, unless \fB-g\fP is specified.
37 The entry records are presented in database order, not superior first
38 order. The entry records will include all (user and operational)
39 attributes stored in the database. The entry records will not include
40 dynamically generated attributes (such as subschemaSubentry).
42 The output of slapcat is intended to be used as input to
44 The output of slapcat cannot generally be used as input to
46 or other LDAP clients without first editing the output.
47 This editing would normally include reordering the records
48 into superior first order and removing no-user-modification
49 operational attributes.
53 Only dump entries matching the asserted filter.
57 "(!(entryDN:dnSubtreeMatch:=ou=People,dc=example,dc=com))"
59 will dump all but the "ou=People,dc=example,dc=com" subtree
60 of the "dc=example,dc=com" database.
63 Use the specified \fIsuffix\fR to determine which database to
64 generate output for. The \-b cannot be used in conjunction
70 Enable continue (ignore errors) mode.
73 Enable debugging messages as defined by the specified
77 Specify an alternative
82 specify a config directory.
87 are specified, the config file will be read and converted to
88 config directory format and written to the specified directory.
89 If neither option is specified, an attempt to read the
90 default config directory will be made before trying to use the default
91 config file. If a valid config directory exists then the
92 default config file is ignored.
95 disable subordinate gluing. Only the specified database will be
96 processed, and not its glued subordinates (if any).
99 Write LDIF to specified file instead of standard output.
102 Generate output for the \fIdbnum\fR\-th database listed in the
103 configuration file. The
105 cannot be used in conjunction with the
109 .BI \-o " option[=value]"
114 Possible generic options/values are:
117 syslog=<subsystems> (see `\-s' in slapd(8))
118 syslog-level=<level> (see `\-S' in slapd(8))
119 syslog-user=<user> (see `\-l' in slapd(8))
123 .BI \-s " subtree-dn"
124 Only dump entries in the subtree specified by this DN.
125 Implies `-b subtree-dn' if no
136 should not be running (at least, not in read-write
137 mode) when you do this to ensure consistency of the database.
139 To make a text backup of your SLAPD database and put it in a file called
145 SBINDIR/slapcat -l ldif
155 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)
158 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
160 is derived from University of Michigan LDAP 3.3 Release.