Diff for /doc/man/man8/slapcat.8 between versions 1.13 and 1.31

version 1.13, 2003/01/03 19:20:49 version 1.31, 2006/05/24 16:05:04
Line 1 Line 1
 .TH SLAPCAT 8C "RELEASEDATE" "OpenLDAP LDVERSION"  .TH SLAPCAT 8C "RELEASEDATE" "OpenLDAP LDVERSION"
 .\" $OpenLDAP: pkg/ldap/doc/man/man8/slapcat.8,v 1.12 2002/12/16 06:32:06 hallvard Exp $  .\" $OpenLDAP: pkg/ldap/doc/man/man8/slapcat.8,v 1.30 2006/05/24 15:57:13 ando Exp $
 .\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.  .\" Copyright 1998-2006 The OpenLDAP Foundation All Rights Reserved.
 .\" Copying restrictions apply.  See COPYRIGHT/LICENSE.  .\" Copying restrictions apply.  See COPYRIGHT/LICENSE.
 .SH NAME  .SH NAME
 slapcat \- SLAPD database to LDIF utility  slapcat \- SLAPD database to LDIF utility
 .SH SYNOPSIS  .SH SYNOPSIS
 .B SBINDIR/slapcat  .B SBINDIR/slapcat
 .B [\-v]  .B [\-a filter]
   .B [\-b suffix]
 .B [\-c]  .B [\-c]
 .B [\-d level]  .B [\-d level]
 .B [\-b suffix]  
 .B [\-n dbnum]  
 .B [\-f slapd.conf]  .B [\-f slapd.conf]
   .B [\-F confdir]
   .B [\-g]
 .B [\-l ldif-file]  .B [\-l ldif-file]
   .B [\-n dbnum]
   .B [\-o name[=value]
   .B [\-s subtree-dn]
   .B [\-v]
 .B   .B 
 .LP  .LP
 .SH DESCRIPTION  .SH DESCRIPTION
Line 25  database. Line 30  database.
 It opens the given database determined by the database number or  It opens the given database determined by the database number or
 suffix and writes the corresponding LDIF to standard output or  suffix and writes the corresponding LDIF to standard output or
 the specified file.  the specified file.
   Databases configured as
   .B subordinate
   of this one are also output, unless \fB-g\fP is specified.
   .LP
   The entry records are presented in database order, not superior first
   order.  The entry records will include all (user and operational)
   attributes stored in the database.  The entry records will not include
   dynamically generated attributes (such as subschemaSubentry).
 .LP  .LP
 The LDIF generated by this tool is suitable for use with  The output of slapcat is intended to be used as input to
 .BR slapadd (8).  .BR slapadd (8).
 As the entries are in database order, not superior first order,  The output of slapcat cannot generally be used as input to
 they cannot be loaded with  
 .BR ldapadd (1)  .BR ldapadd (1)
 without first being reordered.  or other LDAP clients without first editing the output.
   This editing would normally include reordering the records
   into superior first order and removing no-user-modification
   operational attributes.
 .SH OPTIONS  .SH OPTIONS
 .TP  .TP
 .B \-v  .BI \-a " filter"
 enable verbose mode.  Only dump entries matching the asserted filter.
 .TP  For example
 .B \-c  
 enable continue (ignore errors) mode.  slapcat -a \\
 .TP      "(!(entryDN:dnSubtreeMatch:=ou=People,dc=example,dc=com))"
 .BI \-d " level"  
 enable debugging messages as defined by the specified  will dump all but the "ou=People,dc=example,dc=com" subtree
 .IR level .  of the "dc=example,dc=com" database.
 .TP  .TP
 .BI \-b " suffix"   .BI \-b " suffix" 
 Use the specified \fIsuffix\fR to determine which database to  Use the specified \fIsuffix\fR to determine which database to
Line 51  with the Line 66  with the
 .B \-n  .B \-n
 option.  option.
 .TP  .TP
   .B \-c
   Enable continue (ignore errors) mode.
   .TP
   .BI \-d " level"
   Enable debugging messages as defined by the specified
   .IR level .
   .TP
   .BI \-f " slapd.conf"
   Specify an alternative
   .BR slapd.conf (5)
   file.
   .TP
   .BI \-F " confdir"
   specify a config directory.
   If both
   .B -f
   and
   .B -F
   are specified, the config file will be read and converted to
   config directory format and written to the specified directory.
   If neither option is specified, an attempt to read the
   default config directory will be made before trying to use the default
   config file. If a valid config directory exists then the
   default config file is ignored.
   .TP
   .B \-g
   disable subordinate gluing.  Only the specified database will be
   processed, and not its glued subordinates (if any).
   .TP
   .BI \-l " ldif-file"
   Write LDIF to specified file instead of standard output.
   .TP
 .BI \-n " dbnum"  .BI \-n " dbnum"
 Generate output for the \fIdbnum\fR\-th database listed in the  Generate output for the \fIdbnum\fR\-th database listed in the
 configuration file.  The  configuration file.  The
Line 59  cannot be used in conjunction with the Line 106  cannot be used in conjunction with the
 .B \-b  .B \-b
 option.  option.
 .TP  .TP
 .BI \-f " slapd.conf"  .BI \-o " option[=value]"
 specify an alternative  Specify an
 .BR slapd.conf (5)  .BR option
 file.  with a(n optional)
   .BR value .
   Possible generic options/values are:
   .LP
   .nf
                 syslog=<subsystems>  (see `\-s' in slapd(8))
                 syslog-level=<level> (see `\-S' in slapd(8))
                 syslog-user=<user>   (see `\-l' in slapd(8))
   
   .fi
 .TP  .TP
 .BI \-l " ldif-file"  .BI \-s " subtree-dn"
 Write LDIF to specified file instead of standard output.  Only dump entries in the subtree specified by this DN.
 .SH Limitations  Implies `-b subtree-dn' if no
 Your  .B \-b
   or
   .B \-n
   option is given.
   .TP
   .B \-v
   Enable verbose mode.
   .SH LIMITATIONS
   In general, your
 .BR slapd (8)  .BR slapd (8)
 should not be running (at least, not in read-write  should not be running (at least, not in read-write
 mode) when you do this to ensure consistency of the database.  mode) when you do this to ensure consistency of the database.
Line 90  give the command: Line 154  give the command:
 .LP  .LP
 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)  "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)
 .SH ACKNOWLEDGEMENTS  .SH ACKNOWLEDGEMENTS
 .B      OpenLDAP  .B OpenLDAP
 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).  is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
 .B      OpenLDAP  .B OpenLDAP
 is derived from University of Michigan LDAP 3.3 Release.    is derived from University of Michigan LDAP 3.3 Release.  

Removed from v.1.13  
changed lines
  Added in v.1.31


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org