Re: Best practice of taking a backup of current LDAP and restore that into a new server

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

 



Hi thanks

my ldap is like this

l=uk,dc=fosiul,dc=lan

then it has OU=Users
OU=Grups

what shall be the command  for bellow ?
(Just run ldapseach as dirctory manger with criteria/filters/basedn you want. )

On Wed, Aug 8, 2012 at 1:33 PM, Grzegorz Dwornicki <gd1100@xxxxxxxxx> wrote:
> Yes i told you how in ealier mail.
>
> Just run ldapseach as dirctory manger with criteria/filters/basedn you want.
> Next pipe or copy results to file. Maybe use sed on the file to make litle
> changes of needed. Copy it to second server and use ldapadd on it.
>
> Greg.
>
> Send from z htc desire z
>
> 08-08-2012 14:25, "Fosiul Alam" <fosiul@xxxxxxxxx> napisał(a):
>
>> Hi
>> Is there any way to make ldif from production server
>> then  run this on this test server??
>>
>> Fosiul
>>
>> On Wed, Aug 8, 2012 at 1:03 PM, Grzegorz Dwornicki <gd1100@xxxxxxxxx>
>> wrote:
>> > Hi
>> >
>> > I'm not sure about your second server, does it need to have same base
>> > tree.
>> > I think yes it needs. Because admin console and shell 389 backup tools
>> > make
>> > copy of database files not in ldif format. If your second server have
>> > diferent tree you can use sed + ldapsearch to extract data.
>> >
>> > Consider also this: The best way to sync two or more ldap servers is
>> > replication.
>> >
>> > Greg.
>> >
>> > wiadomosc wyslana z htc desire z
>> >
>> > 08-08-2012 13:41, "Fosiul Alam" <fosiul@xxxxxxxxx> napisał(a):
>> >>
>> >> Hi
>> >> I have a running Fedora 389 Server
>> >>
>> >> I want to create a test server but i want to have the same data from
>> >> My production server
>> >>
>> >> So i am thinking
>> >> if i take a backup of production server
>> >>
>> >> then create a a new 389 instances then restore from that backup in to
>> >> new 389 instance
>> >> will it work ??
>> >>
>> >> Thanks for your help.
>> >>
>> >> Fosiul
>> >> --
>> >> 389 users mailing list
>> >> 389-users@xxxxxxxxxxxxxxxxxxxxxxx
>> >> https://admin.fedoraproject.org/mailman/listinfo/389-users
>> >
>> >
>> > --
>> > 389 users mailing list
>> > 389-users@xxxxxxxxxxxxxxxxxxxxxxx
>> > https://admin.fedoraproject.org/mailman/listinfo/389-users
>>
>>
>>
>> --
>> Regards
>> Fosiul Alam
>> 07877100621
>> http://www.fosiul.co.uk
>> --
>> 389 users mailing list
>> 389-users@xxxxxxxxxxxxxxxxxxxxxxx
>> https://admin.fedoraproject.org/mailman/listinfo/389-users
>
>
> --
> 389 users mailing list
> 389-users@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/389-users



-- 
Regards
Fosiul Alam
07877100621
http://www.fosiul.co.uk
--
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