Re: Importing database to new server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I cannot recall why, but I use pair of (export) db2ldif.pl and (import) ldif2db.pl tools, and that works fine (also importing JUST userRoot file). Actually, we do cloning (for testing purposes) of our production LDAP with those tools...

Also, I am not using GUI tools (389-console ?), but to me it looks like connecting back to original server is not logicla in any case, because console writes all into ~/.389-console/Console.*.Login.preferences file, and that one should NOT be affected by import.

If you try to use CLI tools (ldapsearch, for example), is everything OK?

Regards.

On 03/11/14 05:19 PM, Elizabeth Jones wrote:


How are you taking a backup, and how are you doing the import?  What
backend/database are you trying to restore?  What do you mean it turns
into ldap2?  What is the exact problem as it sounds like the import is
working?

I'm taking the backup off my production server with db2bak.pl script, then
copying the files from that over to my new server.  I am then trying to
import just userRoot (no NetscapeRoot) into my new server's instance.  I'm
using the import database task on 389-console.  But after I import and
then logout of 389-console and then log back in, my 389-console is trying
to connect me back to the original server (ldap2) that I made the backup
from, not my new server (ldap2-clone).

EJ


--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users


--
Predrag Zečević, Technical Support Analyst, 2e Systems GmbH

Telephone: +49 6196 9505 815, Facsimile: +49 6196 9505 894
Mobile:    +49  174 3109 288,     Skype: predrag.zecevic
E-mail:    predrag.zecevic@xxxxxxxxxxxxxx

Headquarter:          2e Systems GmbH, Königsteiner Str. 87,
                      65812 Bad Soden am Taunus, Germany
Company registration: Amtsgericht Königstein (Germany), HRB 7303
Managing director:    Phil Douglas

http://www.2e-systems.com/ - Making your business fly!

[***]===---
I think your opinions are reasonable, except for the one about my mental instability. -- Psychology Professor, Farifield University
--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users





[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux