Article ID: 276440 - Last Review: February 27, 2007 - Revision: 5.2 How to use CSVDE.EXE to back up and restore connection agreementsThis article was previously published under Q276440 On This PageSUMMARY
This article describes how to use Csvde.exe to export and import Connection Agreement information.
MORE INFORMATION
Csvde.exe is a Windows 2000 command-line utility that is located in the SystemRoot\System32 folder after you install Windows 2000. Csvde.exe is similar to Ldifde.exe but it extracts information in a comma-separated value (CSV) format. This section describes the command-line parameters.
CSV Directory ExchangeGeneral ParametersCollapse this table
Export SpecificCollapse this table
Import SpecificCollapse this table
Establishing CredentialsNOTE: If no credentials are specified, Csvde.exe binds as the currently logged on user by using Microsoft Security Support Provider Interface (SSPI).
ExamplesIf you want to perform a simple import of the current domain, use the following command:csvde -i -f inpute.csv
If you want to perform a simple export of the current domain, use the following command:
csvde -f output.csv
If you want to export a specific domain with credentials, use the following command:
csvde -m -f output.csv
To extract all existing Connection Agreements into one file, use the following parameters, for example:
-b usernamedomainname * -s servername -d "cn=users,dc=domainname,dc=microsoft,dc=com" -r "(&(objectCategory=person)(objectClass=user))" csvde -f output.csv -d "cn=active directory connections,cn=microsoft
To extract individual Connection Agreements, specify the distinguished name (also known as DN) for the particular connector, for example:
exchange,cn=services,cn=configuration,dc=domainname,dc=com" csvde -f output.csv -d "cn=exchange to windows ca,cn=active directory
To import this information and re-create Connection Agreements, delete the globally unique identifier (GUID) value from the output file for each of the Connection Agreements. You must do so because Active Directory stores the GUID values and does not allow another object to be created with the same GUID. A new GUID is generated for the Connection Agreement upon import. To locate the GUID, check the first line of the export file. The
first line of the export file defines each field. The "Object GUID"
data has been removed, but the comma that defines that field remains. Note the following example, where Input.csv represents the modified output file:
connections,cn=microsoft exchange,cn=services,cn=configuration,dn=domainname,dn=com" csvde -I -f input.csv
| Article Translations
|
Back to the top
