Installation and Upgrade > Upgrade Guide > The Windchill Upgrade Procedure > Stage the Source Data for the Upgrade > Exporting Target LDAP Structure from Windchill Directory Server
  
Exporting Target LDAP Structure from Windchill Directory Server
Windchill 11.1 F000 onward supports Windchill Directory Server version 3.0, in which the append functionality has been removed from the import command compared to previous versions.
This section includes instructions for exporting target LDAP structure from Windchill Directory Server.
Ensure that your Windchill Directory Server is shut down before you execute the export command.
* 
PTC recommends taking backup of the source and target LDAP files before merging, as the Windchill Directory Server code is not owned by PTC.
Perform the following steps:
1. Move the source LDIF file to the target machine which you exported earlier. For more information, see Export the Source Database and LDAP Structure.
2. Export the target LDIF using the –appendToLDIF command line argument, specifying the source LDIF file.
This appends the exported target LDIF data into the source LDIF file.
The source LDIF file is now merger of both source and target branches.
Below is the syntax:
Windows
<Windchill_Installation_Directory>\WindchillDS \server\bat\export-ldif.bat --backendID userRoot --appendToLDIF --ldifFile sourceLdap.ldif
UNIX
<Windchill_Installation_Directory>/WindchillDS/server/bin/export-ldif --backendID userRoot –-appendToLDIF --ldifFile sourceLdap.ldif
For example:
C:\WindchillDS\server\bat\export-ldif.bat --backendID userRoot –-appendToLDIF --ldifFile C:\tmp\SourceLdap.ldif