Installation and Upgrade > Upgrade Guide > The Windchill Upgrade Procedure > Export the Source Database and LDAP Structure > Exporting Source LDAP Structure from Windchill Directory Server
  
Exporting Source LDAP Structure from Windchill Directory Server
The goal of the following procedure is to have the source and target LDAP structures on the same LDAP server. A new LDAP server must be installed as part of the target installation. The source LDAP branch must be moved to this target server.
This section includes instructions for exporting from Windchill Directory Server. The export command exports the entire LDAP structure, including all top level nodes and their children.
Windows
<WindchillDS_Installation_Directory>\server\bat\export-ldif.bat --backendID userRoot
--ldifFile
<Output_Dir>
\sourceLdap.ldif
UNIX
/opt/ptc/windchillds/server/bin/export-ldif --backendID userRoot
--ldifFile
<Output_Dir>/sourceLdap.ldif
For example
C:\WindchillDS\server\bat\export-ldif.bat --backendID userRoot
--ldifFile C:\tmp\SourceLdap.ldif