• Resolved mariafrederick

    (@mariafrederick)


    I’m getting this error when the backup runs, any ideas?

    [STEP] [2021-04-30 22:51:46] Initializing backup...
    [INFO] [2021-04-30 22:51:46] Backup & Migration version: 1.0.9
    [INFO] [2021-04-30 22:51:46] Site which will be backed up: https://www.catholicsheep.com
    [INFO] [2021-04-30 22:51:46] PHP Version: 7.4.16
    [INFO] [2021-04-30 22:51:46] Web server: Apache
    [INFO] [2021-04-30 22:51:46] Max execution time (in seconds): 259200
    [INFO] [2021-04-30 22:51:46] Checking if backup dir is writable...
    [INFO] [2021-04-30 22:51:46] Initializing custom error handler
    [SUCCESS] [2021-04-30 22:51:46] Yup it is writable...
    [INFO] [2021-04-30 22:51:46] PHP CLI is available – plugin will try to run server script.
    [STEP] [2021-04-30 22:51:46] Scanning files...
    [STEP] [2021-04-30 22:51:50] Checking free space, reserving...
    [INFO] [2021-04-30 22:51:50] Requires at least 287448037 bytes. [274.13 MB]
    [INFO] [2021-04-30 22:51:50] Disk free space function is not disabled - using...
    [INFO] [2021-04-30 22:51:50] Checking this path/partition: /home4/mariahue/public_html/wp-content/backup-migration/backups
    [SUCCESS] [2021-04-30 22:51:50] There is 618,490.58 MB free. [603.99 GB]
    [SUCCESS] [2021-04-30 22:51:50] Great! We have enough space.
    [SUCCESS] [2021-04-30 22:51:50] Confirmed, there is more than enough space, checked: 287448037 bytes
    [INFO] [2021-04-30 22:51:50] Scanning done - found 10999 files...
    [SUCCESS] [2021-04-30 22:51:50] Backup initialized...
    [STEP] [2021-04-30 22:51:50] Initializing archiving system...
    [SUCCESS] [2021-04-30 22:51:50] Archive system initialized...
    [STEP] [2021-04-30 22:51:50] Preparing map of files...
    [SUCCESS] [2021-04-30 22:51:50] Files prepared.
    [INFO] [2021-04-30 22:51:50] Starting compression process...
    [STEP] [2021-04-30 22:51:50] Smart memory calculation...
    [INFO] [2021-04-30 22:51:50] There is 384 MBs of memory to use
    [INFO] [2021-04-30 22:51:50] WordPress memory limit: 256 MBs
    [SUCCESS] [2021-04-30 22:51:50] Setting the safe limit to 86 MB
    [STEP] [2021-04-30 22:51:50] Making database backup
    [INFO] [2021-04-30 22:51:50] Iterating database...
    [INFO] [2021-04-30 22:51:53] Database size: 5.48 MB
    [SUCCESS] [2021-04-30 22:51:53] Database backup finished
    [STEP] [2021-04-30 22:51:53] Making archive
    [INFO] [2021-04-30 22:51:53] Compressing...
    [INFO] [2021-04-30 22:51:53] Using PclZip module to create the backup
    [INFO] [2021-04-30 22:51:53] Legacy setting: Using default modules depending on user server
    [STEP] [2021-04-30 22:51:53] Running PHP CLI process - it should be confirmed with next messages
    [WARN] [2021-04-30 22:51:58] Could not find any response from the server, trying again in 3 seconds.
    [WARN] [2021-04-30 22:52:01] Still nothing backup probably is not running.
    [STEP] [2021-04-30 22:52:01] Reverting backup, removing file...
    [ERROR] [2021-04-30 22:52:01] There was an error during backup...
    [ERROR] [2021-04-30 22:52:01] Backup could not run on your server, please check global logs.
    [STEP] [2021-04-30 22:52:01] Aborting backup...
    [DOWNLOAD GENERATED] File downloaded on (server time): 2021-04-30 22:52:05
    [DOWNLOAD GENERATED] Last update (seconds): 19 seconds ago
    [DOWNLOAD GENERATED] Last update (date): 2021-04-30 22:51:46
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support backupsupport

    (@backupsupport)

    Hi @mariafrederick

    Looks like your PHP CLI is not configured properly on the server.

    Could you please try two different backup techniques (you can find them in ?other options” section) at the bottom:

    • “Bypass web server timeout directive – backup process may be slower”
    • …or “Bypass web server limits – it will disable automatic backup and possibility to run it in the background”
    • Don’t forget to save the settings ??

    You can also try to disable PHP CLI (then don’t change above method mentioned):

    • Pick default Backup Method (in other settings section)
    • Add this define(“BMI_CLI_ENABLED”, false); to your wp-config.php
    • Make sure quotes are not copied and type them manually (WP forum replaces them)
    • Once you do that default method will switch to one-request backup which depends on your web server timeout.

    Or if you want to use PHP CLI:

    • Update your default “php” command on your server
    • You can check current version with “php –version”
    • The version has to match at least 5.6 or above.
    • In future version we will try to detect new version automatically.

    Let me know if that helps.
    Thank you

    Thread Starter mariafrederick

    (@mariafrederick)

    Hi, I’m trying them. When I do the Bypass Web Service directive, I get this:

    [STEP] [2021-05-05 00:03:58] Initializing backup...
    [INFO] [2021-05-05 00:03:58] Backup & Migration version: 1.0.9
    [INFO] [2021-05-05 00:03:58] Site which will be backed up: https://www.catholicsheep.com
    [INFO] [2021-05-05 00:03:58] PHP Version: 7.4.16
    [INFO] [2021-05-05 00:03:58] Web server: Apache
    [INFO] [2021-05-05 00:03:58] Max execution time (in seconds): 259200
    [INFO] [2021-05-05 00:03:58] Checking if backup dir is writable...
    [INFO] [2021-05-05 00:03:58] Initializing custom error handler
    [SUCCESS] [2021-05-05 00:03:58] Yup it is writable...
    [INFO] [2021-05-05 00:03:58] PHP CLI is available – plugin will try to run server script.
    [STEP] [2021-05-05 00:03:58] Scanning files...
    [STEP] [2021-05-05 00:03:59] Checking free space, reserving...
    [INFO] [2021-05-05 00:03:59] Requires at least 278228205 bytes. [265.34 MB]
    [INFO] [2021-05-05 00:03:59] Disk free space function is not disabled - using...
    [INFO] [2021-05-05 00:03:59] Checking this path/partition: /home4/mariahue/public_html/wp-content/backup-migration/backups
    [SUCCESS] [2021-05-05 00:03:59] There is 541,328.02 MB free. [528.64 GB]
    [SUCCESS] [2021-05-05 00:03:59] Great! We have enough space.
    [SUCCESS] [2021-05-05 00:03:59] Confirmed, there is more than enough space, checked: 278228205 bytes
    [INFO] [2021-05-05 00:03:59] Scanning done - found 10872 files...
    [SUCCESS] [2021-05-05 00:03:59] Backup initialized...
    [STEP] [2021-05-05 00:03:59] Initializing archiving system...
    [SUCCESS] [2021-05-05 00:03:59] Archive system initialized...
    [STEP] [2021-05-05 00:03:59] Preparing map of files...
    [SUCCESS] [2021-05-05 00:03:59] Files prepared.
    [INFO] [2021-05-05 00:03:59] Starting compression process...
    [STEP] [2021-05-05 00:03:59] Smart memory calculation...
    [INFO] [2021-05-05 00:03:59] There is 384 MBs of memory to use
    [INFO] [2021-05-05 00:03:59] WordPress memory limit: 256 MBs
    [SUCCESS] [2021-05-05 00:03:59] Setting the safe limit to 86 MB
    [STEP] [2021-05-05 00:03:59] Making database backup
    [INFO] [2021-05-05 00:03:59] Iterating database...
    [INFO] [2021-05-05 00:04:00] Database size: 5.53 MB
    [SUCCESS] [2021-05-05 00:04:00] Database backup finished
    [STEP] [2021-05-05 00:04:00] Making archive
    [INFO] [2021-05-05 00:04:00] Compressing...
    [INFO] [2021-05-05 00:04:00] Using PclZip module to create the backup
    [INFO] [2021-05-05 00:04:00] Legacy setting: Using server-sided script and cURL based loop for better capabilities
    [INFO] [2021-05-05 00:04:00] Starting background process on server-side...
    [SUCCESS] [2021-05-05 00:04:00] Request sent successfully, without error returned.
    [WARN] [2021-05-05 00:04:02] Could not find any response from the server, trying again in 3 seconds.
    [WARN] [2021-05-05 00:04:05] Still nothing backup probably is not running.
    [STEP] [2021-05-05 00:04:05] Reverting backup, removing file...
    [ERROR] [2021-05-05 00:04:05] There was an error during backup...
    [ERROR] [2021-05-05 00:04:05] Backup could not run on your server, please check global logs.
    [STEP] [2021-05-05 00:04:05] Aborting backup...
    [DOWNLOAD GENERATED] File downloaded on (server time): 2021-05-05 00:04:07
    [DOWNLOAD GENERATED] Last update (seconds): 9 seconds ago
    [DOWNLOAD GENERATED] Last update (date): 2021-05-05 00:03:58
    Thread Starter mariafrederick

    (@mariafrederick)

    OK the second option to Bypass Web Server limits worked! Thank you!

    Thread Starter mariafrederick

    (@mariafrederick)

    Marking as resolved.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Backup Error’ is closed to new replies.