Comments 8

This issue has been flagged for our SLS Team (code experts) so that they can dig into this issue further for you. An update will be posted here as soon as more information is available. Thank you for your patience while we sort through this issue.

I managed it to work!
All I had to do is add the below code:if (!defined('SNAPSHOT_FORCE_ZIP_LIBRARY')) define('SNAPSHOT_FORCE_ZIP_LIBRARY', 'ZipArchive');
Instead of this code:if (!defined('SNAPSHOT_FORCE_ZIP_LIBRARY')) define('SNAPSHOT_FORCE_ZIP_LIBRARY', 'pclzip');

What was the issue with pclzip?
The issue is pclzip have a limitation of file size, file should be minimum of 18 bytes file size.

When snapshot trying to backup media folder it finds a file which is below 18 bytes, which is in the snapshot folder. That's why it's throwing the error:

But this is not happening in our test sites, I don't know how this file get generated, I have escalated this task to our plugin developers, they should have a review on it, please don't remove the site access and FTP access now.

This file is temp file generated by pclzip library. In our test sites pclzip generates temp files with .tmp extension, but in your site I see it's generating with .gz extension. Maybe it's the reason of the error.

I talked about this issue with our developer, he said, it's server related issue, on some server pclzip is perfect and on others ZipArchive. in your case pclzip is not perfect, it's causing issue.

Although things seem to work now, I'm a bit curious how Updraft Plus seems to handle such things without problems on tens of my sites, while I have to take so many different measures for Snapshot Pro to work. I know this isn't really on-topic anymore, but I would like Snapshot Pro to be as good and robust as Updraft Plus; at this moment it isn't.

Our team is in the process of a major rewrite of Snapshot that will significantly improve performance and reliability on a greater number of hosts. They're also adding some more cool features. Oh, and we're going to be releasing Shipper... A dedicated "Migration" plugin. So... Good things are coming!

How do you rate me?

Thank you for rating your experience!

We’re thrilled to hear you had a great experience with . Would you like to leave a comment about your experience?
Thanks for voting on your experience with , we’d love to get some feedback please.
Ohh no! We’re really sorry to hear you didn’t have a pleasant experience with , we’re always looking at how we can improve and would appreciate you provide some further feedback here please.
Type your feedback here

it's great that you had a positive one. Based on your experience in this ticket would you please be kind enough to rate us externally on: