• Resolved zimbo000

    (@zimbo000)


    Over the past couple of months I have been getting repeated backup failures wherein the backup does not finish. It happened yesterday and again today. The Existing Backups tab says the backup is ‘Not finished’ and is effectively hung. It usually completes the plugins and themes but fails / hangs doing the uploads, thus never starts on others.

    I have been using the plugin for a couple of years and this has only started to fail recently.

    The backup is set to copy plugins, themes, uploads and others every week but the last successful uploads backup was 10 days ago. I have tried manually the past two days in order to get a complete backup, but without success. The Updraft directory on the server contains various completed backup files plus some temp files where it had failed.

    Firstly, in this situation, no email is sent out because the plugin thinks the backup is still ongoing, so I am not aware of the failure. It is only when I remember to manually look that I find the backup has failed/hung. Shouldn’t the plugin realise something is wrong – given it’s saying Not Finished – and send a failure email out so I know it’s failed?

    The uploads backups cover 16 files for a total of 3.8 GB. Could this be a factor in the hanging? I have a 400 MB size set.

    I have a log file from yesterday but it is 43 pages long when opened in Word. Today’s got further and is 400 pages long. The log file for the last full successful backup of everything, includiing uploads, is 2MB and 596 pages in Word. ??

    Any ideas how I can get the backup to finish?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author David Anderson / Team Updraft

    (@davidanderson)

    Hi,

    Is the log file that long because of turning on ‘debug’ mode? It’d be best to turn that off, as that won’t help with speed. Could you post a zipped log file, which should be more manageable?

    David

    Thread Starter zimbo000

    (@zimbo000)

    Just tried again to backup the uploads on their own. Failed again with ‘Not finished’.

    Here’s the log: https://www.dropbox.com/s/5868bs2t8ozoztk/log.4a69a9448290.txt?dl=0

    The log file is still 1.7 MB with debug off. Max file size is 400 MB.

    Here’s a link to a screenshot of the wp-content/updraft directory showing the files left in the directory after the hang.

    Thread Starter zimbo000

    (@zimbo000)

    I have – apparently – finally managed to get the Uploads backup to complete after numerous failed attempts since first posting this problem and my last update.

    However, whilst the 20 zip files that comprise the uploads have been copied to remote storage (Google Drive)…
    – they have not been deleted from the server storage
    – there is an empty uploads6.zip.tmp file in the server updraft directory, and the apparent completed files uploaded to Drive does not have an uploads6.zip
    – there is a deleteflag…txt file there also, which is empty and has no content

    You can see the FileZilla record of what’s in the server storage /wp-content/updraft directory here

    You can view the 2.7 MB log file for this backup here

    Plugin Contributor DNutbourne

    (@dnutbourne)

    Hi,

    From the log, it appears that you have disabled the ‘Delete local copy’ option.
    This can be found in the ‘expert settings’ section of the Settings tab.

    It appears that the backup process is being killed off very early for many runs. Please could you ask your hosts/server admin to check the PHP error logs for any errors arounf the time of the backups?

    Thread Starter zimbo000

    (@zimbo000)

    Away on vacation for a week, reply on return.

    Thread Starter zimbo000

    (@zimbo000)

    I have removed the Delete local copy option.

    Whilst I was away an uploads backup was scheduled, which failed at uploads14.zip (the last successful uploads backup created 20 files). Both plugins and themes completed OK beforehand in the same batch run.

    I did a manual attempt today and got another Not Finished error. This only got to uploads8.zip before failing.

    Here’s that log file.

    Here’s a screenshot of the files that were created on local storage from FileZilla. None of these files have been copied to remote storage.

    I have PHP error logging permanently on with my hosting company as I was trying to analyse another plugin issue a couple of months ago, and we never turned it off. I cleared the log before starting the backup today but the log is empty.

    Thread Starter zimbo000

    (@zimbo000)

    I have increased PHP parameters as follows, but still no success. The backup keeps hanging.

    memory_limit=512M
    max_execution_time=180

    Plugin Author David Anderson / Team Updraft

    (@davidanderson)

    Hi,

    I can see from the log file that the web server provides too low resources to allow larger zip files to be manipulated in the time it makes available. You can make the backup succeed by doing this:

    1) Go to the UpdraftPlus settings tab

    2) Scroll to the bottom, and open the ‘expert’ section

    3) Reduce the ‘split’ size down to 50Mb, and then save the settings

    Then start a fresh backup.

    Best wishes,
    David

    Thread Starter zimbo000

    (@zimbo000)

    The uploads backup will still not complete with a file size of 50MB.

    Latest failure log file here

    My php.ini file has

    memory_limit=512M
    max_execution_time=240

    Any further suggestions?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Repeated ‘Not Finished’ backup failures’ is closed to new replies.