How to migrate Fedora DS (389 DS) to a new machine?
- by zengr
Hello,
I am trying to migrate a Fedora DS (1.2.2) to a new server (1.2.7.5). The process has been painful to say the least.
The old server (1.2.2) was also an upgrade from an old fedora DS setup, so it does not contain migrate-ds-admin.pl.
I found this question, but the URL does not open. I am aware that I need to use migrate-ds-admin.pl, but I am clueless. How do I use it?
I assume this works like this:
1. Copy migrate-ds-admin.pl from server which has 1.2.7 to 1.2.2
2. Run migrate-ds-admin.pl to export the schema+ldif from 1.2.2
3. Import the schema+ldif to 1.2.7 using migrate-ds-admin.pl.
If the above is true, then what parameters are need for export and import?
Note:
./ldif2db -n NetscapeRoot -i /root/NetscapeRoot.ldif
./ldif2db -n userRoot -i /root/userRoot.ldif
The above two commands work like a charm, but since the schema (custom schema) is not migrated, I see alot of errors during import.