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

Re: OpenLDAP backup

You are taking a risk by copying the LDBM dbb files when slapd is running and 
has write access to the dbb files. There is a chance that your backup is 
inconsistent and thus unusable. The way LDBM uses BerkeleyDB does not allow 
hot-backup like it is possible when using the BDB backend. The most safe way 
for LDBM backup is to restart your slapd in read-only mode, copy the dbb 
files to a temp directory, restart slapd in read/write mode and start the 
backup of your dbb files from the temp directory.



On Tuesday 28 October 2003 14:24, Mavric Domen ITWEN5 wrote:
> Hi!
> What's the best way to backup the data stored in OpenLDAP 2.1.22 directory?
> I'm using ldbm database type.
> Currenty I copy .dbb files while slapd server is online. Something wrong
> with that? Thanks,
> Dm