Le 08/11/2017 à 16:17, Maxime Pelletier a écrit :

Hi,

We faced a situation last week where a bug in one of our system didn’t populated the content of our source SQL table, leaving the table empty.

When the clean phase got triggered, it read this empty table, and deleted all users :S

Is there a mechanism to prevent clean phases to start when the source is empty? Maybe with a <delete> condition?

P.S.: We have a good backup system so we could restore everything J


The delete condition is run for every entry, so it won't solve this problem.

What we usually do is to run lsc in dry-run mode first, get number of modified entries and launch it only is this number is not too high.

Clément.
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users

Reply via email to