NAME
slapcat - SLAPD database to LDIF utility
SYNOPSIS
//uussrr//ssbbiinn//ssllaappccaatt [[-vv]] [[-cc]] [[-kk]] [[-mm]] [[-dd lleevveell]] [[-bb ssuuffffiixx]] [[-nn ddbbnnuumm]]
[[-ss ssuubbttrreeee-ddnn]] [[-ff ssllaappdd..ccoonnff]] [[-ll llddiiff-ffiillee]]
DESCRIPTION
SSllaappccaatt is used to generate an LDAP Directory Interchange Format (LDIF) output based upon the contents of a ssllaappdd(8) database. It opens the given database determined by the database number or suffix and writes the corresponding LDIF to standard output or the specified file. The LDIF generated by this tool is suitable for use with ssllaappaadddd(8). As the entries are in database order, not superior first order, they cannot be loaded with llddaappaadddd(1) without first being reordered. OOPPTTIIOONNSS-vv Enable verbose mode.
-cc Enable continue (ignore errors) mode.
-kk Include ssyynnccCCoonnssuummeerrSSuubbeennttrryy of the syncrepl consumer in the
generated LDIF output.-mm Include ssyynnccPPrroovviiddeerrSSuubbeennttrryy of the syncrepl provider in the
generated LDIF output.-dd level
Enable debugging messages as defined by the specified level.-bb suffix
Use the specified suffix to determine which database to generateoutput for. The -b cannot be used in conjunction with the -nn
option.-nn dbnum
Generate output for the dbnum-th database listed in the configu-
ration file. The -nn cannot be used in conjunction with the -bb
option.-ss subtree-dn
Only dump entries in the subtree specified by this DN. Implies`-b subtree-dn' if no -bb or -nn option is given.
-ff slapd.conf
Specify an alternative ssllaappdd..ccoonnff(5) file.-ll ldif-file
Write LDIF to specified file instead of standard output. LLiimmiittaattiioonnssYour ssllaappdd(8) should not be running (at least, not in read-write mode)
when you do this to ensure consistency of the database. EEXXAAMMPPLLEESS To make a text backup of your SLAPD database and put it in a file called llddiiff, give the command:/usr/sbin/slapcat -l ldif
SEE ALSO
llddaapp(3), llddiiff(5), ssllaappaadddd(8), llddaappaadddd(1), ssllaappdd(8) "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/) AACCKKNNOOWWLLEEDDGGEEMMEENNTTSS OOppeennLLDDAAPP is developed and maintained by The OpenLDAP Project (http://www.openldap.org/). OOppeennLLDDAAPP is derived from University of Michigan LDAP 3.3 Release. OpenLDAP 2.2.19 2004/11/26 SLAPCAT(8C)