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

Is this a good method for backup of slapd backend?



Hello,

until now, I've been using 'ldbmcat -n /var/.../id2entry.dbb  > backup'
for performing backups. To ensure consistency, the server must be
brought down to do this; I consider this a great disadvantage, because
it is not available during the (short) time period this takes.

Would the command
	
	ldapsearch -S "" -L \
		-b "$base" \
		-D "$manager" \
		-w "$bindpw" \
		objectclass=* > ${outfile}


suffice for a backup ? Since I bind as manager, there is no 
sizelimit.

I'd appreciate your opinions...

Regards,
	-JP