> # cd /var/lib/ldap/data # where I keep the ldap data
> # /usr/sbin/slapd_db_recover
> # /sbin/service ldap start
>
> I do run scripts daily that slapcat the entire DSA so if needed, I could
> simply toss out the current data and reload via slapadd.
>
> Craig
I do a slapcat everyday, but I could not import it! It was continually giving
me errors about this or that already there, then something else was missing.
I don't recall now. I have a ldif backup of the proper order things need to
be re-created in and that works fine. I rarely change any information in the
ldap so I just maintain the one backup. When I add a user I will create
another ldif. I used phpldapadmin to create the ldif I can actually use to
restore. Unless I'm doing the slapcat wrong. Though I did realize today I was
running ldapadd instead of slapadd. But I don't really care to go back now
and see if that makes any difference.... I appreciate all your help.
--
~~~~~~~~~~~~~~~~~~~~~
Nathan Aubrey
Information Security & Web Development
PaysonLinux Developer
http://www.paysonlinux.org/
Because Windows Sucks
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss