Automate ActiveDirectory BackUp Using .Net and LDIFDE

Here is a class (VB.Net) that can backup the active directory by Ldifde tool that provided with windows 2000 server or windows 2003 server.The main function- “ Backup&#

ITPro Today

July 18, 2004

1 Min Read
ITPro Today logo in a gray background | ITPro Today

Here is a class (VB.Net) that can backup the active directory by Ldifde tool that provided with windows 2000 server or windows 2003 server.The main function- Backup“ gets the following parameters:

  1. FieldList - an array list of all the fields that ldifde tool will backup.

  2. QueryFilter - a string that contains the query filter, in my example , the filter is set to - users only.

  3. DomainName - string - an LDAP syntax of the domain name we want to backup.

limitations:

this class should be used only on the following operating systems:

  • Windows 2000 Server.

  • Windows 2003 Server.

  • Windows 2000 pro.*

  • windows Xp Pro *

* only if the ldifde tool imported to the system32 folder.

For more information about ldifde:

http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q237/6/77.ASP&NoWebContent=1

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like