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

Re: Correct procedure to backup LDAP?



It's ok to run this while the server is running? That's my biggest fear
I suppose.

?

-Jeff

Sameer N Ingole wrote:
> 
> ldapsearch -x -b "dc=example,dc=com" -h 127.0.0.1 -D
> "cn=manager,dc=example,dc=com" -y mypass "(objectclass=*)" >
> /path/to/todays_date.ldif
> works for me.. take good care of mypass if you use something like this..
> (replace necessary parameters with appropriate one)
> 
begin:vcard
fn:Jeff Grant
n:Grant;Jeff
org:VoiceSignal;Information Technology
adr:;;150 Presidential Way;Woburn;MA;01801;USA
email;internet:jgrant@voicesignal.com
title:Linux Systems and Desktop Support
tel;work:(781)970-5209
tel;fax:(781)970-5300
x-mozilla-html:FALSE
url:http://www.voicesignal.com/
version:2.1
end:vcard