On 5/14/2014 7:19 PM, Michael Gettes wrote:
Thank you so much for the 3 replies.  They are VERY illuminating and helpful 
for me to now press ahead and better address my own particular needs based on 
our “requirements”.  What I now intend to do is to perform, at regular 
intervals, db2bak to a specific directory.  as i would like to convert the bak 
db to ldif, it doesn’t appear there is a relatively easy way to do this… either 
i’d have to mockup a new config dir to reference the bak db as the real db so 
db2ldif will work or i would have to create a new slapd instance and then 
configure it for schema and such to be identical to the real instance on the 
server and then db2bak with the output being the bak instance so i can run 
db2ldif on on the bak db.
Hmm...the backup files are meaningless gibberish so anything other than a Directory Server, so for sure you need to restore the backup set into a DS of some sort in order to dump it to ldif. That could be a stand-alone server used only for this purpose, or I think you could do it in a separate back end in a server that performs other duties. I'd use a separate server since it is so easy to spin one up. You don't need to configure schema to get it to dump ldif. I don't even think you need to turn schema checking off. Database restore, and ldif dump are done at a very low level. There may be some checks done to pre-flight the backup restore. Try it and see if anything throws an error is probably the quickest way to find out..




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

Reply via email to