Installation and Upgrade > Upgrade Guide > The Windchill Upgrade Procedure > Export the Source Database and Backup of LDAP Structure > Exporting the Source LDAP Structure from Windchill Directory Server
  
Exporting the Source LDAP Structure from Windchill Directory Server
This section includes instructions for export of the source LDAP structure 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