ALERT: Datto Drive Cloud service will no longer be available as of July 1, 2019. For more information, see our end-of-life article. To learn how to download your Datto Drive Cloud data, please visit this article.

Unexpected End Of The Image File



This article goes over the possible cause and solutions to the following error: Unexpected End of the Image File


  1. The backup agent attempted to backup the target, but when writing to the sparse image file, it reached the end while expecting more data.
  2. The partitions of the device were recently increased in size, and the agent attempted to write beyond the scope of the sparse image.
  3. The disk image was interrupted mid transfer.


After going through these possible solutions and it is still showing this error, please contact Datto Technical Support for further assistance.
  1. For network transfer errors, try setting Shared Compatibility Mode under Configure Agent Settings in the web interface of the device.
  2. Make sure there is two way communication between the protected machine and the Datto device on the device's Port 25566.
    • Perform networking tests to ensure that a stable route is identified and present.
  3. If a volume was recently resized, select that volume from the Configure Agent tab under Volume Level Backup Control, and temporarily exclude it in order to delete the image for that particular volume through the Datto appliance's web interface (Figure 1). There will be a warning message before following through, select OK (Figure 2).
  4. Start a new backup, and allow time for the sparse file to be regenerated.

Figure 1 - Volume Level Backup Control


Figure 2 - Warning Message

Was this article helpful?

1 out of 2 found this helpful

You must sign in before voting on this article.

Want to talk about it? Have a feature request?

Head on over to our Community Forum or get live help.