Snapshop Pro not transferring 500MB backup to Dropbox

0

Hi Folks

A full database & files snapshot is not saving the snapshot file to Dropbox.

This is a multisite install, and the subdomain sites are working fine and saving to dropbox.

The admin area shows the message: Destination: Fail

There is plenty of room in my Dropbox. The only difference is that the backup file is 500MB.

Creating a database only snapshot of this site works fine and stores to dropbox.

Many thanks.

  • Michelle Shull
    • DEV MAN’s Apprentice

    Hi there, Steve and/or Amanda!

    I bet the transfer is timing out because of the size. We can work around that. I’ve got three potential fixes for your WordPress memory limit:

    In wp.config, edit the existing memory limit or add this line:

    define('WP_MEMORY_LIMIT', '128M');

    If you can access the php.ini file on your server, you can edit the PHP memory limit by changing this line:

    memory_limit = 128M ; Maximum amount of memory a script may consume (128MB)

    If you can not access this file, you can try adding this line to your .htaccess file:

    php_value memory_limit 128M

    It sounds like you’ve got a pretty high limit already, if you’re getting this far, transferring half a gb may just be too much for the already generous limit. Bumping it up should allow the transfer to Dropbox to complete.

    Hope this helps!

  • Steve & Amanda
    • Site Builder, Child of Zeus

    Hi Michelle, Steve here today :slight_smile:

    I have 256MB available by default to WP.

    Is there a server timeout setting anywhere within the script?

    (As a thought, it may make sense to add as a code enhancement to set a split of the zip file?)

    Many thanks.

  • Jude
    • DEV MAN

    Howdy @Steve & Amanda

    Is there a server timeout setting anywhere within the script?

    This is not available primarily because irrespective of what you set here the value used will be from your PHP handler

    Can you ask your host to increase process execution time for this site by say 75-100% and then try doing this backup to snapshot

    Cheers

    Jude

  • Steve & Amanda
    • Site Builder, Child of Zeus

    Hi Jude, Steve here.

    Thank you for your ticket response.

    I took at look at my host, and it is already set at a 60 second timeout

    Transferring 500MB to Dropbox could take longer than this, depending how slow or fast Dropbox is at that moment in time.

    Downloading from my host via my (fast) internet connection, the 500MB took 1 minute 5 seconds, so we can see why it is timing out :slight_smile:

    I expect to add a few hundred more hundred MB to this site (it is a Blog) in the coming months.

    As changing the timeout is not going to be a permanment fix for me, please may I ask that a change request is implemented so that the Zip file can be split into smaller chunks?

    Many thanks,

    Steve