|
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
|