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