[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Does copying lock.mdb and data.mdb give syncrep errors?
- To: Marc Roos <M.Roos@f1-outsourcing.eu>, openldap-technical <openldap-technical@openldap.org>
- Subject: Re: Does copying lock.mdb and data.mdb give syncrep errors?
- From: Howard Chu <hyc@symas.com>
- Date: Fri, 29 Nov 2019 22:41:12 +0000
- In-reply-to: <"H000007100158571.1575063375.sx.f1-outsourcing.eu*"@MHS>
- References: <"H000007100158571.1575063375.sx.f1-outsourcing.eu*"@MHS>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 SeaMonkey/2.53
Marc Roos wrote:
>
> Can I just copy the mdb databases to a different server, or are there
> 'unique' values inside?
You only need to copy the data.mdb file. If slapd is running you have to use
the mdb_copy command to get a clean copy. Otherwise if no processes are using
the DB you can use any copy command.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/