Snapshot isn't working for me. I've set weekly backups for

Hello,

Snapshot isn't working for me.

I've set weekly backups for all files to be saved on my local server but nothing is being saved.

Can you help?

Thanks.

  • Sajid

    Hi CatSnap,
    Hope you are doing good today :slight_smile:

    Does the manual backups works fine for you ?

    If no, then did you checked for plugin or theme conflict ? You can make a plugin or theme conflict test as described in getting support manual.

    Also, it can be issue with WordPress cron job, if manual backup works. Then you can fix it by replacing the WP cron with real Cron Job via cPanel as described in this article.
    http://support.hostgator.com/articles/specialized-help/technical/wordpress/how-to-replace-wordpress-cron-with-a-real-cron-job

    Look forward towards your response :slight_smile:
    Cheers, Sajid

  • CatSnap

    Hello,

    Yes manual backups work fine so I don’t think its a conflict.

    However, I have no idea about any of this cron stuff. I tried going through the support article but not lost and confused in the 2nd step.

    The whole point of signing up with WPMU Dev was to avoid this type of thing - i.e. plugins which work out the box and support which can help me fix issues directly rather than pointing me to a highly technical support article which I don’t understand.

    Please help me fix this.

    Thank you.

  • Sajid

    Hi CatSnap,
    Hope you are doing good today :slight_smile:

    We try our best to help in whatever way possible but in some cases we need permissions and/or credentials to further troubleshoot any issues.

    Right, now in this scenario, I might need cPanel login details to replace the WP-Cron with real cron. If its okay for you then please send in the cPanel and WordPress admin login details via our private contact form in following format .

    Subject: "Attn: Sajid Javed"
    -WordPress admin username
    -WordPress admin password
    -login url
    -FTP credentials (host/username/password)
    - cPanel login URL
    - cPanel username
    - cPanel password
    -link back to this thread for reference
    -any other relevant urls

    Select "I have a different question" for your topic (see screenshot) - this and the subject line ensure that it gets assigned to me
    https://premium.wpmudev.org/contact/

    Look froward towards your response :slight_smile:
    Cheers, Sajid

  • Sajid

    Hi CatSnap,
    Hope you are doing good today :slight_smile:

    Thanks for sending in the cPanel and WordPress login credentials. I went in and here is what I tried with no luck.

    First of all let me clear that there is no WP Cron issue. Its running just fine on your server so there is no need to replace the WP Cron with Real Cron. The reason I am saying this because, I created two small snapshots, one with manual immediate backup and other with with scheduling with 5 minutes interval. Both have dropbox as destination and both backups gets upload to dropbox successfully.

    The only issue there were with the 372 mb zip archive that were getting frequent timeout. I am posting the log report here for reference:

    -05-08 08:46:10: Sending Archive: snapshot-1460868794-160417-045314-859dbfb6.zip 372.38M
    2016-05-08 08:46:10: Destination: dropbox: Dropbox
    2016-05-08 08:46:10: Sending file chunked. Offset: 0/372382606 (0%)
    2016-05-08 08:46:12: Sending file chunked. Offset: 4194304/372382606 (1%)
    2016-05-08 08:46:14: Sending file chunked. Offset: 8388608/372382606 (2%)
    2016-05-08 08:46:16: Sending file chunked. Offset: 12582912/372382606 (3%)
    2016-05-08 08:46:18: Sending file chunked. Offset: 16777216/372382606 (4%)
    2016-05-08 08:46:20: Sending file chunked. Offset: 20971520/372382606 (5%)
    2016-05-08 08:46:22: Sending file chunked. Offset: 25165824/372382606 (6%)
    2016-05-08 08:46:24: Sending file chunked. Offset: 29360128/372382606 (7%)
    2016-05-08 08:46:26: Sending file chunked. Offset: 33554432/372382606 (9%)
    2016-05-08 08:46:29: Sending file chunked. Offset: 37748736/372382606 (10%)
    2016-05-08 08:46:31: Sending file chunked. Offset: 41943040/372382606 (11%)
    2016-05-08 08:46:33: Sending file chunked. Offset: 46137344/372382606 (12%)
    2016-05-08 08:46:35: Sending file chunked. Offset: 50331648/372382606 (13%)
    2016-05-08 08:46:37: Sending file chunked. Offset: 54525952/372382606 (14%)
    2016-05-08 08:46:40: Sending file chunked. Offset: 58720256/372382606 (15%)
    2016-05-08 08:46:42: Sending file chunked. Offset: 62914560/372382606 (16%)
    2016-05-08 08:46:44: Sending file chunked. Offset: 67108864/372382606 (18%)
    2016-05-08 08:46:46: Sending file chunked. Offset: 71303168/372382606 (19%)
    2016-05-08 08:46:48: Sending file chunked. Offset: 75497472/372382606 (20%)
    2016-05-08 08:46:51: Sending file chunked. Offset: 79691776/372382606 (21%)
    2016-05-08 08:46:53: Sending file chunked. Offset: 83886080/372382606 (22%)
    2016-05-08 08:46:55: Sending file chunked. Offset: 88080384/372382606 (23%)
    2016-05-08 08:46:58: Sending file chunked. Offset: 92274688/372382606 (24%)
    2016-05-08 08:47:00: Sending file chunked. Offset: 96468992/372382606 (25%)
    2016-05-08 08:47:03: Sending file chunked. Offset: 100663296/372382606 (27%)
    2016-05-08 08:47:06: Sending file chunked. Offset: 104857600/372382606 (28%)
    2016-05-08 08:47:08: Sending file chunked. Offset: 109051904/372382606 (29%)
    2016-05-08 08:50:15: Sending Archive: snapshot-1460868794-160417-045314-859dbfb6.zip 372.38M
    2016-05-08 08:50:15: Destination: dropbox: Dropbox
    2016-05-08 08:50:15: Sending file chunked. Offset: 0/372382606 (0%)
    2016-05-08 08:50:18: Sending file chunked. Offset: 4194304/372382606 (1%)
    2016-05-08 08:50:20: Sending file chunked. Offset: 8388608/372382606 (2%)
    2016-05-08 08:50:22: Sending file chunked. Offset: 12582912/372382606 (3%)
    2016-05-08 08:50:25: Sending file chunked. Offset: 16777216/372382606 (4%)
    2016-05-08 08:50:27: Sending file chunked. Offset: 20971520/372382606 (5%)
    2016-05-08 08:50:30: Sending file chunked. Offset: 25165824/372382606 (6%)
    2016-05-08 08:50:32: Sending file chunked. Offset: 29360128/372382606 (7%)
    2016-05-08 08:50:35: Sending file chunked. Offset: 33554432/372382606 (9%)
    2016-05-08 08:50:37: Sending file chunked. Offset: 37748736/372382606 (10%)
    2016-05-08 08:50:40: Sending file chunked. Offset: 41943040/372382606 (11%)
    2016-05-08 08:50:43: Sending file chunked. Offset: 46137344/372382606 (12%)
    2016-05-08 08:50:45: Sending file chunked. Offset: 50331648/372382606 (13%)
    2016-05-08 08:50:48: Sending file chunked. Offset: 54525952/372382606 (14%)
    2016-05-08 08:50:51: Sending file chunked. Offset: 58720256/372382606 (15%)
    2016-05-08 08:50:54: Sending file chunked. Offset: 62914560/372382606 (16%)
    2016-05-08 08:50:56: Sending file chunked. Offset: 67108864/372382606 (18%)
    2016-05-08 08:51:00: Sending file chunked. Offset: 71303168/372382606 (19%)
    2016-05-08 08:51:03: Sending file chunked. Offset: 75497472/372382606 (20%)
    2016-05-08 08:51:07: Sending file chunked. Offset: 79691776/372382606 (21%)
    2016-05-08 08:59:34: Sending Archive: snapshot-1460868794-160417-045314-859dbfb6.zip 372.38M
    2016-05-08 08:59:34: Destination: dropbox: Dropbox
    2016-05-08 08:59:34: Sending file chunked. Offset: 0/372382606 (0%)
    2016-05-08 08:59:37: Sending file chunked. Offset: 4194304/372382606 (1%)
    2016-05-08 08:59:40: Sending file chunked. Offset: 8388608/372382606 (2%)
    2016-05-08 08:59:43: Sending file chunked. Offset: 12582912/372382606 (3%)
    2016-05-08 08:59:47: Sending file chunked. Offset: 16777216/372382606 (4%)
    2016-05-08 08:59:50: Sending file chunked. Offset: 20971520/372382606 (5%)
    2016-05-08 08:59:52: Sending file chunked. Offset: 25165824/372382606 (6%)
    2016-05-08 08:59:55: Sending file chunked. Offset: 29360128/372382606 (7%)
    2016-05-08 08:59:58: Sending file chunked. Offset: 33554432/372382606 (9%)
    2016-05-08 09:00:02: Sending file chunked. Offset: 37748736/372382606 (10%)
    2016-05-08 09:00:04: Sending file chunked. Offset: 41943040/372382606 (11%)
    2016-05-08 09:00:07: Sending file chunked. Offset: 46137344/372382606 (12%)
    2016-05-08 09:00:10: Sending file chunked. Offset: 50331648/372382606 (13%)
    2016-05-08 09:00:13: Sending file chunked. Offset: 54525952/372382606 (14%)
    2016-05-08 09:00:16: Sending file chunked. Offset: 58720256/372382606 (15%)
    2016-05-08 09:00:19: Sending file chunked. Offset: 62914560/372382606 (16%)
    2016-05-08 09:00:22: Sending file chunked. Offset: 67108864/372382606 (18%)
    2016-05-08 09:00:25: Sending file chunked. Offset: 71303168/372382606 (19%)

    These are only 3 attempts I am posting here, there are 20+ more attempts in log report that you can see in snapshot log.

    Here, is what I tried to fix this issue. I tried to increase the maximum execution time upto 5 minutes, then I tried to increase the memory limit to 1000MB and also tried to increase the cron lock out time so one snapshot cron request get plenty of time to finish sending archive to destination. But I am sorry to say that all did not worked.

    During all this process and troubleshooting, I kept getting 405 internal server error (see screenshot).

    This is purely a server related issue that directly caused due to low performance servers. Please contact your host for further assistance or switch host (we got on one other report with this issue that ended up by switching to other hosting).

    Note: I reverted back all the changes done in wp-config.php file by replacing it with the original one that I took backup before. I also kept wp-config.php file there with name wp-config-modified-by-wpmudev.php in the root of this website. You could see the two snapshots also in all snapshots with their respective status (I included just one db table for testing purpose to make sure snapshot, dropbox integration and WordPress Cron is working).

    Take care and have a nice day :slight_smile:

    Best Regards,
    Sajid Javed

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.