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
25 is used to generate an LDAP Directory Interchange Format
26 (LDIF) output based upon the contents of a
29 It opens the given database determined by the database number or
30 suffix and writes the corresponding LDIF to standard output or
32 Databases configured as
34 of this one are also output, unless \fB-g\fP is specified.
36 The LDIF generated by this tool is suitable for use with
38 As the entries are in database order, not superior first order,
39 they cannot be loaded with
41 without first being reordered.
48 Enable continue (ignore errors) mode.
51 disable subordinate gluing. Only the specified database will be
52 processed, and not its glued subordinates (if any).
55 Enable debugging messages as defined by the specified
59 Use the specified \fIsuffix\fR to determine which database to
60 generate output for. The \-b cannot be used in conjunction
66 Generate output for the \fIdbnum\fR\-th database listed in the
67 configuration file. The
69 cannot be used in conjunction with the
74 Only dump entries matching the asserted filter.
78 "(!(entryDN:dnSubtreeMatch:=ou=People,dc=example,dc=com))"
80 will dump all but the "ou=People,dc=example,dc=com" subtree
81 of the "dc=example,dc=com" database.
84 Only dump entries in the subtree specified by this DN.
85 Implies `-b subtree-dn' if no
92 Specify an alternative
97 specify a config directory.
102 are specified, the config file will be read and converted to
103 config directory format and written to the specified directory.
104 If neither option is specified, an attempt to read the
105 default config directory will be made before trying to use the default
106 config file. If a valid config directory exists then the
107 default config file is ignored.
110 Write LDIF to specified file instead of standard output.
114 should not be running (at least, not in read-write
115 mode) when you do this to ensure consistency of the database.
117 To make a text backup of your SLAPD database and put it in a file called
123 SBINDIR/slapcat -l ldif
133 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)
136 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
138 is derived from University of Michigan LDAP 3.3 Release.