• Resolved diegora

    (@diegora)


    I’ve been using Updraft for years, never had a problem. All of a sudden my scheduled backups started failing. I tried a manual backup and it also fails.
    I have a subdomain on the SAME SERVER and it backups without any problem, so it’s not a server config thing.
    I’ve managed to identify that the backup is failing during the backup of the plugins folder every time. If I update all the others “parts” of the site without the “plugins”, it completes successfully.
    Clearly something is wrong with the latest update, you can see by the amount of “failed backups” reports here.

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

    (@bcrodua)

    Hi,

    Can you please 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 diegora

    (@diegora)

    Failed backup https://pastebin.com/m4ae1z6B
    Successful backup by not selecting to backup Plugins https://pastebin.com/tfzt0qf2

    PS: Backup also fails if I select to backup ONLY the Plugins, so I know it’s something with it.

    Plugin Contributor bcrodua

    (@bcrodua)

    Hi,

    Thank you!

    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.

    If the issue persists, please ask your hosts/server admin to investigate their PHP error logs. These logs should contain more information on the exact issue that is causing the backup process to halt.

    Kind Regards,
    Bryle

    Thread Starter diegora

    (@diegora)

    What would that solve? My uploads folder is at least 10x bigger than the plugins folder and it backups without problems in 400Mb files. 25Mb sounds rather small.

    Plugin Contributor bcrodua

    (@bcrodua)

    Hi,

    By reducing the split archive size, it will reduce the resources used on your server. You could try higher split size like 100mb. Please let us know if that helps resolve the issue.

    Thanks,
    Bryle

    Thread Starter diegora

    (@diegora)

    Still didn’t work, neither 100mb nor 25mb split size.
    As I said, backups are failing ONLY on the “plugins” folder, if I do a backup without the “plugins” it completes no problem, even with 400mb split size. So it’s not a file size issue.
    Waiting for you guys to solve this current problem since I can see by the amount of complaints in this forum it’s not just me.

    Plugin Contributor bcrodua

    (@bcrodua)

    Hi,

    If that is the case, please ask your hosts/server admin to increase your server resources such as I/O limit, maximum_execution_timeout and site memory.

    Kind Regards,
    Bryle

    Thread Starter diegora

    (@diegora)

    I’m really hoping you would address the issue instead of giving me automated answers.
    Again,
    My plugins folder is 185MB
    My Uploads folder is 2GB
    But I can backup my Uploads folder without any problems, even with 400mb split size. But I can’t back up my Plugins folder, even if I lower the split size to 25MB. This is clearly not a “resources” issue and apparently you can’t pinpoint what is causing it by just looking at the log files. What more info can I provide you to try to fix this issue?

    Plugin Contributor bcrodua

    (@bcrodua)

    Hi @diegora

    Apologies, I will consult my colleague on this issue.

    Regards,
    Bryle

    Plugin Contributor DNutbourne

    (@dnutbourne)

    Hi

    It appears that the backup processing is either not able to run long enough each pass to be able to process the plugin backup file, or an error is occurring when trying to do so.

    Please could you try adding the following to your wp-config.php file? This will hopefully override anything which is reducing the PHP maximum execution time:

    set_time_limit(900);

    If the issue persists, please could you or your server admin also check the PHP error logs for any fatal errors occurring around the time of the backup?

    Best Wishes,
    Dee

    Thread Starter diegora

    (@diegora)

    added line to wp-config.php, it didn’t solve the issue.
    I still can backup everything except the Plugins. Including the plugins in the backup or backing it up by itself results in Backup Error/Fail.
    The only thing related to UpdraftPlus on my error logs is this

    [Sun Jun 06 18:20:08 2021] [warn] [client 177.135.27.139] mod_fcgid: read data timeout in 45 seconds, referer: https://meusiteelima.pe.com.br/wp-admin/options-general.php?page=updraftplus
    [Sun Jun 06 18:20:08 2021] [warn] [client 177.135.27.139] (110)Connection timed out: mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: https://meusiteelima.pe.com.br/wp-admin/options-general.php?page=updraftplus
    Plugin Contributor DNutbourne

    (@dnutbourne)

    Hi,

    Apologies for the delay.

    It appears that the attempt to process the backup files is being timed out by FastCGI on server.

    Please could you ask your hosts/server admin if it is possible to increase the value of the FcgidIOTimeout directive?
    This should allow the backup process the time to handle the plugins.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Backup failing during plugin folder stage’ is closed to new replies.