Snapshot not backing up

Have snapshot on other sites and they are running with no issues, on this site however... every time i select "run backup" and it goes to about 2% and then stops.

All of our sites have the same PHP settings for execution time and what not so i don't know why this site is having issues ( its a smaller site then others we have).

I have tried flushing cache and re installing the plugin, same issue every time.

The pre check it does gives me a "Pass" every time as well.

  • Ash
    • WordPress Hacker

    Hello Cats Media

    Are you trying regular snapshot or managed backup?

    Also, it seems there is an error which stops the backup procedure. Would you please enable debug mode and check if there is any error? To enable debug mode please go to wp-config.php and change

    define( 'WP_DEBUG', false );

    to

    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_DISPLAY', false );
    define( 'WP_DEBUG_LOG', true );

    Now, run another backup. When it stucks for long time, that will create a file called debug.log inside wp-content folder. Open that file, check the very bottom and you will see the latest errors. Please send me those.

    Have a nice day!

    Cheers,
    Ash

  • Cats Media
    • WPMU DEV Initiate

    Trying to do managed backups, we use this for automatic backups for our clients so its important to get this fixed.

    Here is the errors i found in a different area, the way you described did not work, no file was created. Here are the PHP error logs. The JS paste you will see i disabled and tried it again and it had no effect. Seems like the first attempt i do will sit at 0% forever and then when i try a second time it goes to 2% and then gives me a failed notice.

    Errors are attached.
    Screen Cap Attached from failed backup attempt.

  • Cats Media
    • WPMU DEV Initiate

    i guess i cant send the log separate. here it is:

    [13-Aug-2019 13:35:06 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/bradmin/public_html/wp-includes/functions.php on line 4339
    [13-Aug-2019 13:35:08 UTC] PHP Notice: Undefined variable: hook in /home/bradmin/public_html/wp-content/plugins/simple-js-paste/simple-js-paste-includes/admin-settings.php on line 19
    [13-Aug-2019 13:35:08 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/bradmin/public_html/wp-includes/functions.php on line 4339
    [13-Aug-2019 13:35:28 UTC] PHP Notice: Undefined variable: hook in /home/bradmin/public_html/wp-content/plugins/simple-js-paste/simple-js-paste-includes/admin-settings.php on line 19
    [13-Aug-2019 13:35:28 UTC] PHP Notice: Undefined variable: hook in /home/bradmin/public_html/wp-content/plugins/simple-js-paste/simple-js-paste-includes/admin-settings.php on line 19
    [13-Aug-2019 13:35:49 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/bradmin/public_html/wp-includes/functions.php on line 4339
    [13-Aug-2019 13:35:52 UTC] PHP Notice: Undefined variable: hook in /home/bradmin/public_html/wp-content/plugins/simple-js-paste/simple-js-paste-includes/admin-settings.php on line 19
    [13-Aug-2019 13:36:08 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/bradmin/public_html/wp-includes/functions.php on line 4339
    [13-Aug-2019 13:36:59 UTC] PHP Notice: Undefined variable: hook in /home/bradmin/public_html/wp-content/plugins/simple-js-paste/simple-js-paste-includes/admin-settings.php on line 19
    [13-Aug-2019 13:37:22 UTC] PHP Notice: Undefined variable: hook in /home/bradmin/public_html/wp-content/plugins/simple-js-paste/simple-js-paste-includes/admin-settings.php on line 19
    [13-Aug-2019 13:37:27 UTC] PHP Notice: Undefined variable: hook in /home/bradmin/public_html/wp-content/plugins/simple-js-paste/simple-js-paste-includes/admin-settings.php on line 19
    [13-Aug-2019 13:37:49 UTC] PHP Notice: Undefined variable: response in /home/bradmin/public_html/wp-content/plugins/simple-js-paste/simple-js-paste-includes-update-checker.php on line 38
    [13-Aug-2019 13:38:36 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/bradmin/public_html/wp-includes/functions.php on line 4339
    [13-Aug-2019 13:42:10 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/bradmin/public_html/wp-includes/functions.php on line 4339
    [13-Aug-2019 13:42:12 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/bradmin/public_html/wp-includes/functions.php on line 4339
    [13-Aug-2019 13:42:46 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/bradmin/public_html/wp-includes/functions.php on line 4339
    [13-Aug-2019 13:42:49 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/bradmin/public_html/wp-includes/functions.php on line 4339
    [13-Aug-2019 13:42:54 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/bradmin/public_html/wp-includes/functions.php on line 4339
    [13-Aug-2019 13:42:56 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/bradmin/public_html/wp-includes/functions.php on line 4339
    [13-Aug-2019 13:43:04 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/bradmin/public_html/wp-includes/functions.php on line 4339
    [13-Aug-2019 13:43:06 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/bradmin/public_html/wp-includes/functions.php on line 4339
    [13-Aug-2019 13:48:39 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/bradmin/public_html/wp-includes/functions.php on line 4339
    [13-Aug-2019 13:48:39 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/bradmin/public_html/wp-includes/functions.php on line 4339
    [13-Aug-2019 14:02:30 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/bradmin/public_html/wp-includes/functions.php on line 4339
    [13-Aug-2019 14:02:55 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/bradmin/public_html/wp-includes/functions.php on line 4339
    [13-Aug-2019 14:02:56 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/bradmin/public_html/wp-includes/functions.php on line 4339
    [13-Aug-2019 14:04:18 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/bradmin/public_html/wp-includes/functions.php on line 4339
    [13-Aug-2019 14:26:24 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/bradmin/public_html/wp-includes/functions.php on line 4339
    [13-Aug-2019 14:37:02 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/bradmin/public_html/wp-includes/functions.php on line 4339
    [13-Aug-2019 14:40:31 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/bradmin/public_html/wp-includes/functions.php on line 4339
    [13-Aug-2019 14:43:37 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/bradmin/public_html/wp-includes/functions.php on line 4339
    [13-Aug-2019 14:46:03 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/bradmin/public_html/wp-includes/functions.php on line 4339
    [13-Aug-2019 14:46:47 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/bradmin/public_html/wp-includes/functions.php on line 4339
    [13-Aug-2019 15:13:40 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/bradmin/public_html/wp-includes/functions.php on line 4339
    [13-Aug-2019 15:13:43 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/bradmin/public_html/wp-includes/functions.php on line 4339
    [13-Aug-2019 15:14:09 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/bradmin/public_html/wp-includes/functions.php on line 4339
    [13-Aug-2019 15:19:36 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/bradmin/public_html/wp-includes/functions.php on line 4339

  • Nithin
    • Support Wizard

    Hi Cats Media,

    Please do note that we reply to tickets based on queue order so that all the tickets are looked upon equally, multiples replies in a ticket would bring the ticket down the queue.

    Thanks for sharing the debug log, however, I'm afraid, the logs don't help much in giving a better idea regarding the issue.

    We would like to further troubleshoot regarding this, could you please send us your website credentials, so that we could give a closer look.

    You can send credentials by using our secure contact form: https://premium.wpmudev.org/contact/#i-have-a-different-question

    - To Mark to my attention, the subject line should contain only: ATTN: Nithin Ramdas
    -WordPress admin username
    -WordPress admin password
    -login URL
    -FTP credentials (host/username/password)
    -link back to this thread for reference
    -any other relevant URLs

    Please do follow up on the ticket once you have sent the above credentials. Have a nice day.

    Kind Regards,
    Nithin

  • Nithin
    • Support Wizard

    Hi Cats Media,

    I do understand you, and sorry for any delays regarding this. Thanks for sending in the login credentials, regarding the Snapshot not creating Managed Backups issues noticed as shared in your previous screenshot.

    I went further and troubleshooted the issue, and could nice that the debug.log files aren't getting created. I added the following tweaks to improve the backup process in the wp-config.php file:

    define('SNAPSHOT_TABLESET_CHUNK_SIZE', 50);
    define('SNAPSHOT_FILESET_CHUNK_SIZE', 50);
    define('SNAPSHOT_FILESET_LARGE_FILE_SIZE', 104857600);
    define('SNAPSHOT_FILESET_USE_PRECACHE', true);
    define('SNAPSHOT_ATTEMPT_SYSTEM_BACKUP', true);
    define('SNAPSHOT_IGNORE_SYMLINKS', true);
    
    define( 'SNAPSHOT_FORCE_ZIP_LIBRARY', 'pclzip' );

    But I'm afraid the issue still exists. Also, tested further by excluding existing large zip files in your server-side, but it didn't improve the backup process.

    I have increased the server resources via the .user.ini file in the root directory by increasing the values for the respective:

    max_execution_time = 800
    memory_limit = 1024M
    post_max_size = 512M
    upload_max_filesize = 256M

    But I'm afraid, it didn't help much. This would require further troubleshooting, and I have escalated the ticket to our Second Level Support(SLS) to see what's being missed with the backup to works, and what further could be done to improve the process.

    Please do note that SLS works on complex issues, and have a slow response time. Will keep you posted once we get further feedback regarding the status of the issue asap.

    Kind Regards,
    Nithin

  • Nithin
    • Support Wizard

    Hi Cats Media,

    Thanks for sharing more details will let our team know regarding this. It's better to troubleshoot the issue one website at a time. Once the issue with the current reported website is troubleshooted further, you could check the same workaround helps with hobbyfarmforsaleontario.ca/ website too.

    If these websites are hosted on the same server, the issue might be related. Will keep you updated once we get further feedback from the SLS team asap.

    Regards,
    Nithin

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.