[Fedora-directory-users] Restoring an LDAP backup to a different server db2bak

Oscar A. Valdez oscar.valdez at duraflex.com.sv
Mon Apr 9 19:05:07 UTC 2007


El lun, 09-04-2007 a las 14:48 -0400, Eddie C escribió:
> I have tried this before without luck. I was hoping there was a way.
> My situation is I have nightly db2bak files. I want to recover the
> database from friday to a different machine to see the state of the
> application then. I do not need much other then read only access to
> the old data on the new server.
>  
> Any crafty hacks would be appreciated.
>  


Write a script that runs "db2ldif -n <backend>" for each backend (e.g.,
userRoot) EXCEPT NetscapeRoot

On the new server, import the ldif files generated above: "ldif2db -n
<backend>"
-- 
Oscar A. Valdez





More information about the 389-users mailing list