--On Wednesday, April 13, 2016 10:20 AM -0700 Quanah Gibson-Mount quanah@zimbra.com wrote:
--On Wednesday, April 13, 2016 1:16 PM -0400 Frank Crow fjcrow2008@gmail.com wrote:
Then just slapcat the data first, do your destructive tests, and then restore from slapadd. Doing repetitive ldap deletes/adds will just causes massive database growth.
OK, but I just want to be clear - I'm still not. Does that mean that I need to nuke /var/lib/ldap on every master replica prior to restoring the DIT?
Yes.
Or I should say, depends on what you've done. If all masters are in a "bad" state (which would be likely given your test scenario), then yes, you want to reload them all from the same slapcat dump that was taken, so their DBs are identical after restore.
--Quanah
--
Quanah Gibson-Mount Platform Architect Zimbra, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration A division of Synacor, Inc