[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ldapsearch for backup





--On Wednesday, July 02, 2003 5:39 PM +0200 Emanuele Zanotti <emanuele.zanotti@keypartners.it> wrote:

Hi all,

I am using the following command (SUN Solaris 8) to perform a backup of my
master LDAP server:

ldapsearch -L -D $BIND_USER -w $BIND_PASS -h $MASTERLDAP_IP -p 389 -b
'dc=mydomain,dc=com' -s sub '(objectclass=*)' > $OUTPUT_FILE

but it only exports 500 entries (while the server has more than 7000
entries).
Any hints?

Use slapcat.

--Quanah

--
Quanah Gibson-Mount
Senior Systems Administrator
ITSS/TSS/Computing Systems
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html