oehrlis / oudbase

OUD base environment scripts
Apache License 2.0
6 stars 1 forks source link

Add fallback log for tns_delete.sh #118

Closed oehrlis closed 1 year ago

oehrlis commented 1 year ago

Introduce a log entry in _tnsdelete.sh for undo any deletes. e.g. dump the deletet information into the log file that it can be loaded again into the LDAP. either via _tnsadd.sh, _tnsload.sh or any other LDAP load method like ldif.

oehrlis commented 1 year ago

Implemented with v2.12.x Dump in bulk mode will always explicitly create a _tnsdump.sh before deleting the entries. This dump can then be used to reload / recreate the entries. The dump can explicitly be switched of by set -F