Index

» Home

» OCS Deployment

» Front End Server

» Edge Server

» Web Conferencing Server

» Archiving Server

» Certificates

» Communicator Web Access

» A/V Server

» VOIP 'N' Mediation

» Group Chat Server

» Migration

» Exchange UM

» OCS Issues

» OCS Disaster Recovery

» Miscellaneous

 

 

Exploring DBIMPEXP.EXE

 

Its always recommended to keep taking backup of the contact list of the LCS\OCS users. If you are already having a good backup and restoration plan for the database... still its good to keep taking backup of the contact list using dbimpexp.exe tool. there might be other reasons as well why do you need to use dbimpexp.exe. we are going to explore this tool in this article.

 

Dbimpexp.exe is a tool which gets installed with OCS Front end installation. You can find this tool under location...

C:\Program Files\Microsoft Office Communications Server 2007\Server\Support

 

In order to export contact list of every user hosted on the pool or server, run following command on the OCS Front End Server.

 

Standard Edition Server: dbimpexp.exe /hrxmlfile:contacts.xml

Enterprise Pool: dbimpexp.exe /hrxmlfile:contacts.xml /sqlserver:<SQL_Hostname>

 

Run the following command to import on the target server to import the contact list.

Standard Edition Server: dbimpexp.exe /import /hrxmlfile:contacts.xml

Enterprise Pool: dbimpexp.exe /import /hrxmlfile:contacts.xml /sqlserver:<SQL_Hostname>
 

If you want to export and import contact list of one particular user, follow following commands...

 

To Export
----------------

Standard Edition Server: dbimpexp.exe /hrxmlfile:contacts.xml /user:<sip URL>

Enterprise Pool:

dbimpexp.exe /hrxmlfile:contacts.xml /user:<sip URL> /sqlserver:sqlservername
 

To Import
----------------

Standard Edition Server: dbimpexp.exe /import /hrxmlfile:contacts.xml /user:<sip URL>

Enterprise Pool:

dbimpexp.exe /import /hrxmlfile:contacts.xml /user:<sip URL> /sqlserver:SQL_SERVER

 

Note: Dbimpexp.exe tool is case sensitive when using /user: switch
Issue: If the text in the /user: switch does not match the case sensitivity exactly
as it is stored in the database, the following error message appears.
The specified user was not found in the XML file.
Resolution: The /user: text is in the format user@host. When typing the /user:
text, the user portion of the URI must be exactly the same as the user portion of
the SIP URI stored in Active Directory and the host portion of the URI must be
entirely in lowercase.

 

Related Links:

Migration from LCS 2003 to OCS 2007

 

 
OCS Made Easy!
 

 

Copyright, OCSpedia.com. Microsoft, MS-DOS, Windows, Windows 2000, Windows XP, Windows Server 2003, Windows NT, Windows 98, Windows 95 are either registered trademarks or trademarks of Microsoft Corporation in the U.S.A. and other countries. All other names are registered trademarks of their respective companies. Should any right be ran afoul, it is totally unintentional. Send us an e-mail and we will promptly and gladly rectify it. All external sites will open in a new browser. Ocspedia.com does not endorse external sites and is not responsible for their content. For broken links, site problems or any feedback - please send an email at uc@ocspedia.com.