Snapshot not running

The Snapshot is not running and doesn't show any Error messages. No JS errors, no errors in debug.log. Small file like .htacces and wp-config.php can be backed up. But it is not working for other larger files

  • James Morris

    Hello T. Webb,

    I hope you are well today. I'll be following up with you regarding your chat.

    Unfortunately, I was not able to login to your website using the details provided in chat. In order to help you better with your issue, would you please grant me access to your site and server?

    Please visit the Contact page and complete the form with the following information:

    Subject: "Attn: James Morris"

    In the Message box, please provide the following:

    - link back to this thread for reference
    - any other relevant urls

    - Admin login:
    Admin username
    Admin password
    Login url

    - Hosting Control Panel Login
    Admin username
    Admin password
    Login url

    ~OR~

    - FTP credentials
    host
    username
    password
    (and port if required)

    Best regards,

    James Morris

  • James Morris

    Hello T. Webb,

    I've been digging into your Snapshot issue and I'm finding a number of things that could be causing the failure.

    First, your PHP configuration wasn't really optimal given the large amount of files you have. I've added a .user.ini file with the following directives:

    max_execution_time = 600
    memory_limit = 1024M
    upload_max_filesize = 512M
    post_max_size = 512M

    I also updated your wp-config.php as follows to enable WordPress to make use of the extra memory:
    define( 'WP_MEMORY_LIMIT', '1024M' );

    I found that the Snapshots were still failing, so I performed some deeper investigation. I found that you have a high number of Zip files that are very large.

    511M ./wp-snapshots/tmp/20170927_[url_deleted]_599131818ecba62e7968170927192900_archive.zip.dzD6vq
    1.6M ./wp-snapshots/tmp/20170927_[url_deleted]_599131818ecba62e7968170927192900_archive.zip
    16K ./php.ini.txt(10).zip
    44M ./wp-content/themes/psd.zip
    68M ./wp-content/themes/themeforest-4519990-enfold-responsive-multipurpose-theme.zip
    24M ./wp-content/themes/enfold.zip
    150M ./wp-content/updraft/backup_2017-07-24-0832_AZ_SEO_PHOENIX_da44afbf3551-themes.zip
    4.0K ./wp-content/updraft/backup_2017-07-24-0832_AZ_SEO_PHOENIX_da44afbf3551-uploads2.zip
    336K ./wp-content/updraft/backup_2017-07-24-0832_AZ_SEO_PHOENIX_da44afbf3551-others.zip
    33M ./wp-content/updraft/backup_2017-07-24-0832_AZ_SEO_PHOENIX_da44afbf3551-plugins.zip
    160M ./wp-content/updraft/backup_2017-07-24-0832_AZ_SEO_PHOENIX_da44afbf3551-uploads.zip
    20K ./wp-content/uploads/2016/04/[url_deleted]com_2.wsve_.zip
    8.0M ./wp-content/uploads/2016/03/Jing.app_-1.zip
    108M ./wp-content/uploads/backupbuddy_backups/backup-[urL_deleted]-2016_03_29-10_00am-full-rn5dsfumnt.zip
    156M ./wp-content/uploads/backupbuddy_backups/backup-[urL_deleted]-2016_05_20-11_13am-full-ze8mcr5ocw.zip
    696K ./wp-content/uploads/backupbuddy_backups/backup-[urL_deleted]-2016_04_13-07_45pm-db-t3jw394xhd.zip
    46M ./wp-content/uploads/backupbuddy_backups/backup-[urL_deleted]-2016_02_13-01_34am-full-c4ptx1njyg.zip
    71M ./wp-content/uploads/backupbuddy_backups/backup-[urL_deleted]-2016_03_22-02_38am-full-maw27a2f6a.zip
    52M ./wp-content/uploads/backupbuddy_backups/backup-[urL_deleted]-2016_02_19-01_03am-full-b7b26pi9yq.zip
    149M ./wp-content/uploads/backupbuddy_backups/backup-[urL_deleted]-2016_04_11-07_25am-full-sfmgiucjcp.zip
    46M ./wp-content/uploads/backupbuddy_backups/backup-[urL_deleted]-2016_02_16-01_42am-full-4apdi4x602.zip
    46M ./wp-content/uploads/backupbuddy_backups/backup-[urL_deleted]-2016_02_11-02_06am-full-q8qhwsxth8.zip
    47M ./wp-content/uploads/backupbuddy_backups/backup-[urL_deleted]-2016_02_11-12_52am-full-1qpgco5a0i.zip
    612K ./wp-content/uploads/backupbuddy_backups/backup-[urL_deleted]-2016_04_03-05_40pm-db-1ie9g1x9yx.zip
    51M ./wp-content/uploads/backupbuddy_backups/backup-[urL_deleted]-2016_03_12-08_44pm-full-uxmtky7doj.zip
    51M ./wp-content/uploads/backupbuddy_backups/backup-[urL_deleted]-2016_02_21-02_38am-full-t6w6c0envn.zip
    133M ./wp-content/uploads/backupbuddy_backups/backup-[urL_deleted]-2016_04_03-01_18am-full-w9iafzbjzr.zip
    149M ./wp-content/uploads/backupbuddy_backups/backup-[urL_deleted]-2016_04_10-10_03pm-full-o2bic5kz0s.zip
    149M ./wp-content/uploads/backupbuddy_backups/backup-[urL_deleted]-2016_04_06-03_59pm-full-bc6vc30wvn.zip
    71M ./wp-content/uploads/backupbuddy_backups/backup-[urL_deleted]-2016_03_22-03_19pm-full-0z0pywd9zi.zip
    51M ./wp-content/uploads/backupbuddy_backups/backup-[urL_deleted]-2016_03_11-07_14pm-full-k0evqdehb3.zip
    154M ./wp-content/uploads/backupbuddy_backups/backup-[urL_deleted]-2016_05_17-12_00am-full-25vh874ju2.zip
    149M ./wp-content/uploads/backupbuddy_backups/backup-[urL_deleted]-2016_04_12-07_10pm-full-x4o9rvfvh6.zip
    8.0K ./wp-content/uploads/snapshot/snapshot-1506807638-170930-214038-50a5c8c9.zip
    498M ./wp-content/uploads/snapshot/_backup/1501178332/snapshot-backup.zip.R1yFDd
    1.4M ./wp-content/uploads/snapshot/_backup/1501178332/snapshot-backup.zip
    1.2G ./wp-content/uploads/snapshot/_backup/1501031312/snapshot-backup.zip.DWfh72
    1.4M ./wp-content/uploads/snapshot/_backup/1501031312/snapshot-backup.zip
    72M ./wp-content/uploads/snapshot/_backup/1506807691/snapshot-backup.zip
    27M ./wp-content/uploads/snapshot/_backup/55465f5f/5241505b5a4556.zip.x35ggS
    88M ./wp-content/uploads/snapshot/_backup/55465f5f/5241505b5a4556.zip.u5meZe
    498M ./wp-content/uploads/snapshot/_backup/55465f5f/5241505b5a4556.zip.y1xdZN
    40M ./wp-content/uploads/snapshot/_backup/55465f5f/5241505b5a4556.zip
    99M ./wp-content/uploads/snapshot/_backup/55465f5f/5241505b5a4556.zip.WyzVGJ
    109M ./wp-content/uploads/snapshot/_backup/55465f5f/5241505b5a4556.zip.98ZS3H
    134M ./wp-content/uploads/snapshot/_backup/55465f5f/5241505b5a4556.zip.w0ai6E
    188M ./wp-content/uploads/snapshot/_backup/55465f5f/5241505b5a4556.zip.mzHVg3

    Such files can cause issues with Snapshot. So, I added some global exclusions.

    ./public_html/wp-content/wflogs
    ./public_html/wp-content/updraft
    ./public_html/wp-content/cache
    ./public_html/wp-content/uploads/pb_backupbuddy
    ./public_html/wp-content/uploads/backupbuddy_backups
    ./public_html/wp-content/wpbackitup_backups
    ./public_html/wp-content/wpbackitup_restore
    ./public_html/wp-content/wphb-cache
    ./public_html/wp-snapshots

    This still did not work, so I continued to dig in further. It seems you hare hitting your I/O cap which is causing the Snapshot process to be terminated.

    You're also dangerously close to reaching your Disk Space Limit. Both issues could cause Snapshot to fail due to the temp files that Snapshot has to write.

    My suggestion at this point would be to do a thorough house cleaning on the site and remove any files you no longer need, especially large files. Once the site is cleaned up, please try running Snapshot again. Your configuration is now set to give Snapshot everything it could need to run right.

    If it still does not work, please contact your hosting provider and ask them if they can increase your I/O cap.

    Please let us know if this resolves your problem.

    Best regards,

    James Morris

  • Lindeni Mahlalela

    HelloT. Webb

    I hope you are doing great today.

    I have also looked at this issue and it seems my colleague James has already pointed out that the server is hitting the I/O Usage limit when running Snapshot. I/O limits the number of read/write operations on the disk and Snapshot uses this to scan files and create an archive.

    If this I/O usage is reached, the server may return a "404 not found" or "500 Internal Server Error" depending on your host's configuration. We had a similar issue before on Namecheap and GoDaddy, in both cases I asked the member's to contact the host and here is a quote from one of the responses from Namecheap:

    In simple words, your shared hosting package does not provide enough resources to perform such operations.

    Here are the similar threads:

    Namecheap: https://premium.wpmudev.org/forums/topic/snapshot-backup-failing-around-71-no-error-message
    Go Daddy: https://premium.wpmudev.org/forums/topic/snapshot-admin-ajaxphp-404s-and-stalls-backups

    It seems you are suffering the same kind of limit with Namecheap and as they admitted, you will need to upgrade your hosting account to one with a much higher I/O limit or find host that does not have such limits.

    I am sorry there is nothing we can do on our side with regards to hosting limit and I hope your host can help you out with this. You can reach out to them and refer them to this ticket so the understand what you are talking about. We will always be happy to help in any way possible, so just update us about what they said.

    Have a nice day.
    Mahlamusa

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.