Skip to main content
MAPI restore fails with insufficient disk space error
Updated this week

This article applies to:

  • OS: Windows

  • Product edition: inSync Cloud and On-Premise

Problem description

In a scenario where email backup is optimized for efficiency from the inSync profile, the restore of the Outlook folder (.PST) of 32 GB initiates normally but fails. The restored PST file size is not 32 GB and the Restore status alert message states:
โ€‹

Outlook mailbox restore was done with errors.

Thus, the MAPI restore fails with the error:
โ€‹

There is insufficient disk space to complete.

Cause

When the backup is optimized for efficiency from the backup profile, PST files are backed up and restored using MAPI protocol. To perform a restore, inSync Client and Outlook need to be present and configured on the tare device. Regardless of the restore location of the PST file, a MAPI restore automatically attaches the PST file to the mailbox of the user. If the total size of the attached PST file exceeds the default mailbox size, the restore fails.

Traceback

The following traceback is saved to C:\Programdata\Druva\inSync4\users\user\logs\inSyncSClient.log:

[ERROR] writeblob got error (-2147286928, 'There is insufficient disk space to complete operation.', None, None) 
[ERROR] Failed to restore message. 
 ERROR] Error <type 'exceptions.Exception'>:writeblob got error (-2147286928, 'There is insufficient disk space to complete operation.', None, None). Traceback -Traceback (most recent call last): 
File "inSyncMAPI\inSyncExtMsgs.pyc", line 2000, in get_mbox 
Exception: writeblob got error (-2147286928, 'There is insufficient disk space to complete operation.', None, None) 
[ERROR] Failed to restore message.
[ERROR] Error <type 'exceptions.Exception'>:commitMessage got error (-2147219956, 'OLE error 0x8004060c', None, None). Traceback -Traceback (most recent call last):
  File "inSyncMAPI\inSyncExtMsgs.pyc", line 2011, in get_mbox
Exception: commitMessage got error (-2147219956, 'OLE error 0x8004060c', None, None)

Resolution

Either remove the existing attached PST files or contact the email administrator to increase the size of the user's mailbox.

See also

The (-2147219956, 'OLE error 0x8004060c) OLE error points to MAPI_E_STORE_FULL as per below Microsoft article:

https://support.microsoft.com/en-us/...c-result-codes

Did this answer your question?