You can use ldifde for this purpose... see MS site for all the syntax
and examples. It's very simple to do and will get you users, OUs, etc.

Another way is to bring another DC into your production domain, DCPROMO
it, remove it from the domain and then seize all the FSMO roles using
NTDSUTIL. You will of course then need to clean the removed server
object from your domain via NTDSUTIL. This way you get all the domain
info easily.

Or as you say... do a backup and restore. The other DC should be the
same hardware or you will have all sorts of driver/compat' issues.

BR

Rob

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bruyere, Michel
Sent: 02 November 2004 13:15
To: [EMAIL PROTECTED]
Subject: [ActiveDir] User export/import

Hi, 
        I would like to know what would be the best way to export and
reimport users and group from a DC to another. The source DC is the one
that is in our LAN and the second one is in a test lab. They both must
have the same accounts and groups but, they are not connected in any way
and the configuration differ from one to the other (ip range is not the
same).
IIRC I saw a VBS script that could export users and groups in a file
then allow the reimport process... but this is a long time ago, so I may
not recall correctly. 

So what you guys would do to achieve this goal?

BTW, I tried to backup the system state and restore it to the other DC,
but the DC froze after the reboot... I don't know if this could be
caused because of the configuration diff. 

Thanks! 


M.Bruyere

List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/

=======================================================================
              Scanned for virus infection by Messagelabs
=======================================================================


List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to