Share via


Export archived data in Skype for Business Server

Summary: Learn how to export archived data for Skype for Business Server.

Data archived in Archiving databases is not searchable or in a readable format, but you can use the Export-CsArchivingData cmdlet to extract records from the database and save them as an Outlook Electronic Mail (EML) file.

If you enable Microsoft Exchange integration, data is archived in Exchange stores. Data archived in Exchange is searchable and discoverable. For details about accessing data that is archived in Exchange, see the Exchange documentation.

Exporting Archiving Data by Using Windows PowerShell Cmdlets

You can export archived data by using the Export-CSArchivingData cmdlet.

The following command exports all the archiving data written to the archiving database atl-sql-001.contoso.com since June 1, 2012. The resulting output file will be stored in the folder C:\ArchivingExports.

Export-CsArchivingData -Identity "ArchivingDatabase:atl-sql-001.contoso.com" -StartDate 6/1/2012 -OutputFolder "C:\ArchivingExports"

The following command exports archiving data for a single user: kenmyer@contoso.com. This is done by including the UserUri parameter followed by the user's SIP address. For example:

Export-CsArchivingData -Identity "ArchivingDatabase:atl-sql-001.contoso.com" -StartDate 6/1/2012 -OutputFolder "C:\ArchivingExports" -UserUri "sip:kenmyer@contoso.com"

For more information, see the help topic for the Export-CsArchivingData cmdlet.