Skip to Main Content

Security Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to migrate data from one directoy server to another

807573Nov 13 2006 — edited Nov 13 2006
Hi Guys , what is the best ways to data migration from one directory server to another directory server located in different server?

current what i did was
At the old instance run the following command(s): 
$ <serverroot>/slapd-<instanceID>/db2bak 
The above command will back up all the database files to a subdirectory called bak, which resides within the slapd-<instanceID> folder. 
Execute $ <serverroot>slapd-<instanceID>/saveconfig to export the LDIF file out into a folder called confbak located in slapd-<instanceID>. 
At the new server instance, run the following commands to restore the DB & LDIF information. 

Place the LDIF file inside <serverroot>/slapd-<instanceID>/config 
Run: $ <serverroot>/slapd-<instanceID>/restoreconfig 
Place the backup DB inside <serverroot>/slapd-<instanceID>/bak 
Run $ <serverroot>/slapd-<instanceID>/bak2db <full pathname to backup files>
But using this approach i couldnt login to server console anymore ( i think because cross domain problem ?

How do i edit the config files ?
Is there any better way to do data migration ?

i tried to use db2ldif , then ldif2db in another server but always break complaining invalid access / no such object..

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details