Support » Plugin: BackWPup - WordPress Backup Plugin » Site Backup fails to complete

  • Resolved jviseur

    (@jviseur)


    Hi,

    We are having an issue in that our weekly backup fails to run to completion. The daily database backup runs fine.

    We are not sure what the errors are. Any assistance is greatly appreciated

    —————————————
    Max retries = 5
    Max Execution time = 90 (increased because first full backup failed)
    Reduce Server Load = Maximum

    The error we are getting is
    [INFO] BackWPup 3.6.0; A project of Inpsyde GmbH
    [INFO] WordPress 4.9.8 on http://cccnz.club/
    [INFO] Log Level: Normal
    [INFO] BackWPup job: Weekly Site
    [INFO] Logfile is: backwpup_log_7aa5d9_2018-08-26_03-05-24.html
    [INFO] Backup file is: 2018-08-26_03-05-24_5N5KLWKD02.zip
    [26-Aug-2018 03:05:24] 1. Trying to make a list of folders to back up …
    [26-Aug-2018 03:05:32] Added “wp-config.php” to backup file list
    [26-Aug-2018 03:05:32] 1376 folders to backup.
    [26-Aug-2018 03:05:34] 1. Trying to generate a file with installed plugin names …
    [26-Aug-2018 03:05:34] Added plugin list file “cccnz.pluginlist.2018-08-26.txt.gz” with 2.03 KB to backup file list.
    [26-Aug-2018 03:05:34] 1. Trying to generate a manifest file …
    [26-Aug-2018 03:05:34] Added manifest.json file with 9.73 KB to backup file list.
    [26-Aug-2018 03:05:34] 1. Trying to create backup archive …
    [26-Aug-2018 03:05:34] Compressing files as ZipArchive. Please be patient, this may take a moment.
    [26-Aug-2018 03:41:26] WARNING: Signal “SIGTERM” (Termination signal) is sent to script!
    [26-Aug-2018 03:41:26] WARNING: Signal “SIGTERM” (Termination signal) is sent to script!
    [26-Aug-2018 03:41:27] 2. Trying to create backup archive …
    [26-Aug-2018 03:50:58] WARNING: Job restarts due to inactivity for more than 5 minutes.
    [26-Aug-2018 03:50:58] 3. Trying to create backup archive …
    [26-Aug-2018 04:13:53] WARNING: Job restarts due to inactivity for more than 5 minutes.
    [26-Aug-2018 04:13:53] ERROR: Step aborted: too many attempts!
    [26-Aug-2018 04:13:53] ERROR: Job has ended with errors in 4109 seconds. You must resolve the errors for correct execution.

    ——————————
    Debug Info
    WordPress version: 4.9.8
    BackWPup version: 3.6.0
    PHP version: 7.0.31 (64bit)
    MySQL version: 5.6.40
    cURL version: 7.60.0
    cURL SSL version: OpenSSL/1.0.2k
    WP-Cron url: https://cccnz.club/wp-cron.php
    Server self connect: Response Test O.K.
    Document root: /home/viseu487/public_html/cccnz.club
    Temp folder: /home/viseu487/public_html/cccnz.club/wp-content/uploads/backwpup-7aa5d9-temp/
    Log folder: /home/viseu487/public_html/cccnz.club/wp-content/uploads/backwpup-7aa5d9-logs/
    Server: Apache
    Operating System: Linux
    PHP SAPI: litespeed
    Current PHP user: viseu487
    Maximum execution time: 30 seconds
    BackWPup maximum script execution time: 90 seconds
    Alternative WP Cron: Off
    Disabled WP Cron: Off
    CHMOD Dir: 0755
    Server Time: 5:9
    Blog Time: 17:09
    Blog Timezone: Pacific/Auckland
    Blog Time offset: 12 hours
    Blog language: en-NZ
    MySQL Client encoding: utf8mb4
    PHP Memory limit: 256M
    WP memory limit: 40M
    WP maximum memory limit: 256M
    Memory in use: 96.00 MB
    Loaded PHP Extensions:: Core, PDO, Phar, Reflection, SPL, SimpleXML, bcmath, bitset, bz2, calendar, ctype, curl, date, dom, eio, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, ionCube Loader, json, libxml, litespeed, mbstring, mcrypt, mysqli, mysqlnd, openssl, pcntl, pcre, pdo_mysql, pdo_sqlite, pspell, readline, session, shmop, soap, sockets, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, yaml, zip, zlib

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support duongcuong96

    (@duongcuong96)

    Hi @jviseur
    Please try to set Max Execution time to 25 secs then try again.
    If this didn’t help you, enable debug log, BackWPUp -> Settings -> Logs -> Logging Level -> Debug(not translated), re-run the job again and send us latest debug log.
    Thanks!

    Thread Starter jviseur

    (@jviseur)

    Hi @duongcuong96

    Sorry for responding so late. We have been very busy. I have set the Max Execution time to 25 Seconds as requested and am manually running backup now. Where do I send the debug log to if it fails (you can email me using viseurj@gmail.com if need be)

    Thread Starter jviseur

    (@jviseur)

    Hi @duongcuong96

    Here is the log

    <!DOCTYPE html>
    <html lang=”en-NZ”>
    <head>
    <meta charset=”UTF-8″ />
    <title>BackWPup log for Weekly Site from 15/09/2018 at 19:11</title>
    <meta name=”robots” content=”noindex, nofollow” />
    <meta name=”copyright” content=”Copyright © 2012 – 2018 Inpsyde GmbH” />
    <meta name=”author” content=”Inpsyde GmbH” />
    <meta name=”generator” content=”BackWPup 3.6.0″ />
    <meta http-equiv=”cache-control” content=”no-cache” />
    <meta http-equiv=”pragma” content=”no-cache” />
    <meta name=”date” content=”2018-09-15T07:11:39+00:00″ />
    <meta name=”backwpup_errors” content=”0″ />
    <meta name=”backwpup_warnings” content=”2″ />
    <meta name=”backwpup_jobid” content=”2″ />
    <meta name=”backwpup_jobname” content=”Weekly Site” />
    <meta name=”backwpup_jobtype” content=”FILE+WPPLUGIN” />
    <meta name=”backwpup_backupfilesize” content=”0″ />
    <meta name=”backwpup_jobruntime” content=”0″ />
    </head>
    <body style=”margin:0;padding:3px;font-family:monospace;font-size:12px;line-height:15px;background-color:black;color:#c0c0c0;white-space:nowrap;”>
    [INFO] BackWPup 3.6.0; A project of Inpsyde GmbH<br />
    [INFO] WordPress 4.9.8 on https://gw.cccnz.club/<br />
    [INFO] Log Level: Normal <br />
    [INFO] BackWPup job: Weekly Site<br />
    [INFO] Logfile is: backwpup_log_0ee631_2018-09-15_19-11-39.html<br />
    [INFO] Backup file is: 2018-09-15_19-11-39_RQHOMML202.zip<br />
    <span datetime=”2018-09-15T07:11:39+00:00″ >[15-Sep-2018 19:11:39]</span> 1. Trying to make a list of folders to back up …<br />
    <span datetime=”2018-09-15T07:11:40+00:00″ >[15-Sep-2018 19:11:40]</span> Added "wp-config.php" to backup file list<br />
    <span datetime=”2018-09-15T07:11:40+00:00″ >[15-Sep-2018 19:11:40]</span> 1361 folders to backup.<br />
    <span datetime=”2018-09-15T07:11:40+00:00″ >[15-Sep-2018 19:11:40]</span> 1. Trying to generate a file with installed plugin names …<br />
    <span datetime=”2018-09-15T07:11:41+00:00″ >[15-Sep-2018 19:11:41]</span> Added plugin list file "GW-CCCNZ.pluginlist.2018-09-15.txt.gz" with 2.05 KB to backup file list.<br />
    <span datetime=”2018-09-15T07:11:41+00:00″ >[15-Sep-2018 19:11:41]</span> 1. Trying to generate a manifest file …<br />
    <span datetime=”2018-09-15T07:11:41+00:00″ >[15-Sep-2018 19:11:41]</span> Added manifest.json file with 10.20 KB to backup file list.<br />
    <span datetime=”2018-09-15T07:11:41+00:00″ >[15-Sep-2018 19:11:41]</span> 1. Trying to create backup archive …<br />
    <span datetime=”2018-09-15T07:11:41+00:00″ >[15-Sep-2018 19:11:41]</span> Compressing files as ZipArchive. Please be patient, this may take a moment.<br />
    <span datetime=”2018-09-15T08:14:42+00:00″ >[15-Sep-2018 20:14:42]</span> <span style=”background-color:#ffc766;color:black;padding:0 2px;”>WARNING: Job restarts due to inactivity for more than 5 minutes.</span><br />
    <span datetime=”2018-09-15T08:14:42+00:00″ >[15-Sep-2018 20:14:42]</span> 2. Trying to create backup archive …<br />
    <span datetime=”2018-09-15T08:23:17+00:00″ >[15-Sep-2018 20:23:17]</span> <span style=”background-color:#ffc766;color:black;padding:0 2px;”>WARNING: Job restarts due to inactivity for more than 5 minutes.</span><br />
    <span datetime=”2018-09-15T08:23:17+00:00″ >[15-Sep-2018 20:23:17]</span> 3. Trying to create backup archive …<br />

    Thread Starter jviseur

    (@jviseur)

    Hi @duongcuong96,

    Have you managed to find the reason as to why our full backups fail?

    Thanks,
    John Viseur

    lucio7

    (@lucio7)

    In my case it’s the cron job which was the issue.

    I still want to find the root cause though because I prefer keeping the “real” cron instead of the WordPress standard

    Plugin Support duongcuong96

    (@duongcuong96)

    Hi @jviseur
    Sorry for my delayed response, did the issue resolved for you now?
    if not, please try the following solution:
    First, you must enable debug log by go to BackWPUp -> Settings -> Logs -> Logging Level -> Debug(not translated)
    – Using another backup archive like Tar, TarGzip …
    – Go to BackWPUp -> Settings -> Job tab -> Reduce server load and choose medium(set to maximum if the issue still happens) and then try again

    If these steps didn’t help, give me latest debug log file at BackWpUp -> Logs

    Thread Starter jviseur

    (@jviseur)

    @duongcuong96

    Thank you for responding.

    Because it wasn’t working we set it to run manually and hence it didn’t run.

    I have set all the settings as suggested and it will run around 3:00 am

    Tomorrow I shall see what the results are and come back to you.

    Thread Starter jviseur

    (@jviseur)

    Hi @duongcuong96,

    I switched the debug log on as requested but found nothing at all in the debug logs in the specified directory.

    When I go into the job and click on Log I get the entries below which is what I reported right at the beginning. I could attempt to enter this in the cron provided by the host but would need to know what to enter.

    [INFO] BackWPup 3.6.0; A project of Inpsyde GmbH
    [INFO] WordPress 4.9.8 on https://gw.cccnz.club/
    [INFO] Log Level: Normal
    [INFO] BackWPup job: Weekly Site
    [INFO] Logfile is: backwpup_log_0ee631_2018-09-15_19-11-39.html
    [INFO] Backup file is: 2018-09-15_19-11-39_RQHOMML202.zip
    [15-Sep-2018 19:11:39] 1. Trying to make a list of folders to back up …
    [15-Sep-2018 19:11:40] Added “wp-config.php” to backup file list
    [15-Sep-2018 19:11:40] 1361 folders to backup.
    [15-Sep-2018 19:11:40] 1. Trying to generate a file with installed plugin names …
    [15-Sep-2018 19:11:41] Added plugin list file “GW-CCCNZ.pluginlist.2018-09-15.txt.gz” with 2.05 KB to backup file list.
    [15-Sep-2018 19:11:41] 1. Trying to generate a manifest file …
    [15-Sep-2018 19:11:41] Added manifest.json file with 10.20 KB to backup file list.
    [15-Sep-2018 19:11:41] 1. Trying to create backup archive …
    [15-Sep-2018 19:11:41] Compressing files as ZipArchive. Please be patient, this may take a moment.
    [15-Sep-2018 20:14:42] WARNING: Job restarts due to inactivity for more than 5 minutes.
    [15-Sep-2018 20:14:42] 2. Trying to create backup archive …
    [15-Sep-2018 20:23:17] WARNING: Job restarts due to inactivity for more than 5 minutes.
    [15-Sep-2018 20:23:17] 3. Trying to create backup archive …
    [15-Sep-2018 20:29:47] WARNING: Job restarts due to inactivity for more than 5 minutes.
    [15-Sep-2018 20:29:47] 4. Trying to create backup archive …
    [15-Sep-2018 20:36:00] WARNING: Job restarts due to inactivity for more than 5 minutes.
    [15-Sep-2018 20:36:00] 5. Trying to create backup archive …
    [15-Sep-2018 20:46:01] WARNING: Job restarts due to inactivity for more than 5 minutes.
    [15-Sep-2018 20:46:01] ERROR: Step aborted: too many attempts!
    [15-Sep-2018 20:46:02] One old log deleted
    [15-Sep-2018 20:46:02] ERROR: Job has ended with errors in 5663 seconds. You must resolve the errors for correct execution.

    Plugin Support duongcuong96

    (@duongcuong96)

    @jviseur
    Could you please update the plugin to the latest version now to check if the issue is gone?
    Thanks!

    Plugin Support duongcuong96

    (@duongcuong96)

    @jviseur

    since we haven’t heard back from you, I’m going to mark it as resolved.
    If you’re still having problems, feel free to let us know ;),

    Btw, If you find BackWPUp is useful for you, we would really appreciate if you leave a positive review and rating.
    This would encourage us to develop new free features and provide free support 😀
    https://wordpress.org/support/plugin/backwpup/reviews/

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Site Backup fails to complete’ is closed to new replies.