On 12/08/2014 04:54 AM, Jan Tomasek wrote:
Hello,

I did stupid mistake and deleted some entries... only backup I do have are *db4 files from filesystem backup.

Is there any chance how to convert them to LDIF without running DS?

I can't restore them to place where active database is running. And I do not see other way how to use db2ldif.pl.

Thanks

You could use dbscan -f /path/to/backup-db/id2entry.db4 , then grep for the data you want to use, then use perl/sed/awk to parse the ldif and format it correctly. That way you could extract only the missing data without having to restore everything.

--
389 users mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/389-users

Reply via email to