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

Re: restore dumps



On Wed, 20 Apr 2005, Omar Armas Aleman wrote:

I made a dump with

slapcat>backup.ldif

But when I try to restore it to a clean ldap server with identical
configuration I get:

ldapadd -x -D "cn=Manager,dc=mpsnet,dc=net,dc=mx" -W -f backup.ldif

Enter LDAP Password:
adding new entry "dc=mpsnet,dc=net,dc=mx"
ldap_add: Constraint violation (19)
       additional info: structuralObjectClass: no user modification allowed

Is this the correct procedure to do it? What would it be or what is wrong?

Omar

Short answer: Stop the server and use slapadd.

Longer answer: Search the list serve archives. This issue was
addressed very recently.

--
  Kirk Turner-Rustin       | Programmer/Analyst
  Ohio Wesleyan University | Libraries and Information Services
  http://www.owu.edu       | http://lis.owu.edu