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