Automatic backup still running after 24 hours

Hi,

I have setup automatic managed backups with snapshot and almost all site is working with automatic backup, but one site still running backup after 24 hours.

Backup was set to start yesterday and still running now, and i dont see any backups in The Hub.

I have granted access for site, so you will be able to take a look at site.

BR

  • Nithin

    Hi Mikkel,

    Hope you are doing good today. :slight_smile:

    We'll have to debug this further, in order to troubleshoot this issue. Could you please deactivate, and re-enable the automatic schedule, and check whether you are still having issues with automatic backups.

    If that didn't work, please check whether the manual Managed Backup works, ie clicking the Backup now button, which will be visible once you deactivate the schedule backup.

    Please do make sure to enable debug mode, while you perform the above instructions. To enable it, open your wp-config.php file located in your root directory, and look for define(‘WP_DEBUG’, false);. Change it to:

    define('WP_DEBUG', true);

    In order to enable the error logging to a file on the server you need to add:

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

    After making the above changes, please make sure to perform the above instructions. Related errors will be saved to a debug.log log file inside the /wp-content/ directory.

    Please attach these in your next reply in txt format file, so that we could give a closer look. You can find more details about debugging here.

    Please let us know how that goes, have a nice weekend. :slight_smile:

    Kind Regards,
    Nithin

    • Mikkel

      I have added the code to the wp-config file, but i can't see any logfile after backup is stopped running.
      I only found the following text from log in the plugin:

      [snapshot][2017-01-09 01:00:06][Info] Starting backup
      [snapshot][2017-01-09 01:00:09][Info] Created the backup and added the queues
      [Cron][2017-01-09 01:00:09][Info] Next process kickstart action scheduled for Mon, 09 Jan 2017 01:05:09 +0000
      [snapshot][2017-01-09 01:00:33][Warning] There was an error processing the files
      [Queue][2017-01-09 01:00:35][Notice] Fetching [250] files as chunk 1
      [snapshot][2017-01-09 01:01:57][Info] Successfully processed backup files chunk
      [Queue][2017-01-09 01:02:00][Notice] Fetching [250] files as chunk 2
      [snapshot][2017-01-09 01:03:22][Info] Successfully processed backup files chunk
      [Queue][2017-01-09 01:03:24][Notice] Fetching [250] files as chunk 3
      [snapshot][2017-01-09 01:04:50][Info] Successfully processed backup files chunk
      [Queue][2017-01-09 01:04:52][Notice] Fetching [250] files as chunk 4
      [Cron][2017-01-09 01:05:30][Warning] Immediate hook misfired, kickstart backup processing
      [snapshot][2017-01-09 01:06:26][Info] Successfully processed backup files chunk
      [Queue][2017-01-09 01:06:28][Notice] Fetching [250] files as chunk 5
      [snapshot][2017-01-09 01:08:04][Info] Successfully processed backup files chunk
      [Queue][2017-01-09 01:08:07][Notice] Fetching [250] files as chunk 6
      [snapshot][2017-01-09 01:09:47][Info] Successfully processed backup files chunk

      The process stopped at step 301 and then gave me an empty response.

      I have granted access for site, so you can try have a look yourself.

      BR

  • Rupok

    Hi Mikkel,

    So sorry for the inconvenience you are having. And thanks for granting Support Access. I tried to run managed backup on your site but the process was not stuck at chunk 6. At this moment, it's on step 56 and everything seems to be going fine. So I believe, it will go fine till the end, and that's why I'm closing that page.

    If it gets stuck again, can you please try disabling caching for your site and try again? If this doesn't help, can you please try increasing the memory limit and try again? Can you please also try adding the following line in your "wp-config.php" file and check if it helps?
    if (!defined('SNAPSHOT_FILESET_CHUNK_SIZE')) define('SNAPSHOT_FILESET_CHUNK_SIZE', 100);

    To know how you can increase your memory limit, you can check this blog: https://premium.wpmudev.org/blog/increase-memory-limit/

    Please let us know how these go. If you are having the same issue even after trying all these, please let us know. We will be glad to investigate further and will try to resolve this issue for good.

    Have a nice day. Cheers!
    Rupok

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.