Snapshot fails when backing up uploads folder

I'm using Snapshot Pro and I keep getting the following error:

504 GATEWAY TIME-OUT
The server didn't respond in time.

It does this once it gets to the media folder.

  • Leonidas

    Hi there Ricky Bailey ,

    after looking into your issue, I noticed that the wp-uploads folder contains files worth of over 1GB in size, so that was exhausting the server resources and failed the backups.

    I added define('SNAPSHOT_FORCE_ZIP_LIBRARY', 'pclzip'); in your wp-config, which forces Snapshot to use an alternative zipping mechanism and then created a snapshot containing only media files. That snapshot got completed successfully, so the alternative zipping manages to make the backups get over that hump and get properly completed.

    I then ran a second snapshot containing the db and all site files except the media ones and that got completed successfully as well. So now, you have two snapshots configured to run weekly that contain all site files and db between them. You can edit their schedule from their settings screen, if you prefer them to run at a different interval.

    Best regards,
    Leonidas

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.