Exporting Data to PST
This section explains how to export backup items to a .pst file.
The request header must contain an authorization token of the current session.
Export to PST
To export data to .pst files, you must have a 64-bit version of Microsoft Outlook 2016, Microsoft Outlook 2013 or Microsoft Outlook 2010 installed on a computer running restore sessions.
To export data, the request body must contain the exportToPst action property:
Specifies the keyword to query backed-up data.
Defines whether to set the size limit for the exported .pst file.
If set to true, make sure to specify the PstSizeLimitBytes parameter.
Sets the limit of the exported .pst file.
You can choose the limit range from 1 GB to 49 GB.
The request command will look for a specified keyword in Exchange organization's data. The backed-up data with a specified keyword then will be exported to a PST file and placed to a temporary folder on the Veeam Backup for Microsoft Office 365 server. After that, the PST file will be transferred as application/octet-stream media to the client. To download, read, convert to PST or perform other actions with the octet-stream, use features of programming languages.
If the size of the exported data exceeds the limit specified for the PST file, Veeam Backup for Microsoft Office 365 splits the PST file into separate files and exports these files to an archive file of the ZIP format. For example, you specified 1 GB as the PST file size limit. The size of the exported data is 1.5 GB. In this case, Veeam Backup for Microsoft Office 365 will export data to a ZIP archive. The archive will contain two PST files: one PST file of the 1 GB size and another PST file of the 0.5 GB size.
You can use Swagger UI to download the octet-stream file by clicking the Download action link, which server returns in the response body after a successfully completed export operation.
The server returns the following response to the client.
A successfully completed operation returns a response code 200 (OK).
The response to this request contains the following headers. The response may also include additional standard HTTPS headers.
The length of the response body.
The media type of the response body: application/octet-stream
In the response body, the server returns the binary data stream.
The following request exports the Exchange organization's data with "support" keyword to a PST file.
Authorization: Bearer <Access-Token>