#4363 Provide instructions how to restore LDAP entries from an LDIF
Opened 9 years ago by dpal. Modified 7 years ago

Use case:

- I have an LDIF file stored aside (backup).
- I have a real database. Some entries have been accidentally deleted .
- I want to say "find user/group/host/services/etc... entries in LDIF that are missing (show me so that I can confirm) and restore them in DB".

The procedure should be documented.


the reconstruction of an accidentally deleted entry could be done by resurrecting the tombstone.
either read the tombstone entry, modify (change the dn back, remove the tombstone objectclass) and add it again.
or request a feature to do this in the ds.

Moving to 4.1. Dmitri recommended the solution to be an optional tool to help with LDIF management. Though this task may be difficult as there is no known a reasonable library for managing LDIFs, besides python-ldap.

For now, this will become just a documented procedure, there is not enough time to develop a tool.

4.1.4 was released, moving to new milestone

FreeIPA 4.2.1 was released, moving to 4.2.x.

Metadata Update from @dpal:
- Issue assigned to someone
- Issue set to the milestone: FreeIPA 4.5 backlog

7 years ago

Login to comment on this ticket.

Metadata