• Resolved Dave Hill

    (@hillcroftdave)


    For the last couple of weeks Updraft has not emailed me to tell me that the backups are complete, but looking at the plugin page, it says all is OK (and the files do appear in Dropbox and a test unzip shows they are OK).

    The last few lines of the log file say:

    7855.696 (6) Saving backup history. Total backup size: Unknown
    7855.699 (6) Resume backup (a951f3e1db19, 6): finish run
    7855.701 (6) There were no more files that needed uploading
    7855.702 (6) PHP event: code E_NOTICE: Undefined index: dropbox (line 3715, wp-content/plugins/updraftplus/class-updraftplus.php)
    7855.704 (6) There were no errors in the uploads, so the ‘resume’ event (7) is being unscheduled
    7855.707 (6) No email will be sent – this backup set was empty.
    7855.708 (6) The backup apparently succeeded and is now complete

    It seems that what is happening (from my quick look at the log) is that it takes so long to copy the “uploads” ZIP file to Dropbox that another Updraft job comes along and tries to work out what is happening and that’s when things start to go awry.

    Please let me know the best way to get the log file to you.

    Dave Hill

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Contributor bcrodua

    (@bcrodua)

    Hi,

    Please could you send us a copy of the latest full backup log?

    This can be found in the UpdraftPlus Existing Backups tab.
    The contents will be too long to post here directly, but you can use an online service such as Dropbox or Pastebin, and post the link here.

    Regards,
    Bryle

    Thread Starter Dave Hill

    (@hillcroftdave)

    Plugin Contributor bcrodua

    (@bcrodua)

    Hi Dave,

    Could you try to reduce the backup archive split size? This will split the backup into smaller, more manageable files.

    To do this, open the ‘expert settings’ section of the UpdraftPlus Settings tab, and find the ‘split backups every’ option. Set this to 25Mb save your settings and run a new process.

    Do you get an email notification this time?

    Thanks,
    Bryle

    Thread Starter Dave Hill

    (@hillcroftdave)

    Hi Bryle,

    I have done this and I kicked off a backup at 16:06 UK time and it’s still running six hours later. It’s uploaded all the files (apparently) but it thinks there is an error so it’s now on “resumption 7”.

    Log file (so far): https://www.dropbox.com/s/0yhvhw6xis60o5f/log.73214b34032d.txt?dl=0

    There are a few large movies in the uploads folder – this caused some of the split files to be much bigger than 25MB. I can exclude them from the backup which would bring the size down a lot.

    Dave

    Thread Starter Dave Hill

    (@hillcroftdave)

    Finally got the email at 21:36!

    Latest status: The backup attempt has finished, apparently unsuccessfully

    * Dropbox: failed to upload file to backup_2020-01-06-1606_BECG_73214b34032d-uploads12.zip (see log file for more)

    But the file exists in my Dropbox and appears to be complete (at least it’s an undamaged ZIP file).

    I have replaced the log file in Dropbox with the latest one, it looks like the same link will work to retrieve it.

    Dave

    @hillcroftdave

    The recent log shows:
    0289.002 (0) PHP event: code E_WARNING: Error while sending QUERY packet. PID=25506 (line 1924, wp-includes/wp-db.php)

    The most likely cause is that the database server drops the connection to WordPress after a set amount of time, and as a result UpdraftPlus isn’t able to update the record of backup progress. You could avoid that by adding this to your wp-config.php, which causes UpdraftPlus to kill itself after 90 seconds (which appears to be the time after which the errors start) – when it resumes, it then will get another 90 seconds (and will continue until it completes):

    define('UPDRAFTPLUS_SET_TIME_LIMIT', 90);

    Thanks,
    Harshad

    Thread Starter Dave Hill

    (@hillcroftdave)

    Hi Harshad,

    Thanks for the information.

    I have excluded the movie files from the backup and re-set the chunk size to 100MB but it still failed the same way, but I’ll see what happens tomorrow evening when the backup runs, now that I have added the line to the wp-config file.

    Dave

    Thread Starter Dave Hill

    (@hillcroftdave)

    Hi Harshad,

    The backup worked and I got the email, but the database errors are still there.

    Latest log: https://www.dropbox.com/s/t54vkeqkkhcimq2/log.4bc91d8ba78a.txt?dl=0

    Dave

    Plugin Contributor bcrodua

    (@bcrodua)

    Hi Dave,

    The backup appears to have successfully completed. The errors do not affect the backup in this case.

    Regards,
    Bryle

    Thread Starter Dave Hill

    (@hillcroftdave)

    Hi,

    I had still been getting random occurrences of the email not being sent even though the backup is complete.

    I recently moved hosting and (touch wood) it seems much better, the problem has not recurred.

    Dave

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Backup apparently succeeded, no email’ is closed to new replies.