• Hi, BackWPup worked with no problem for several years. Since some days I have a problem.
    The job is scheduled to run once every night at 3am in the morning. Now it it running at 3am and then two more times directly after. So now I have three backups instead of one. The logs show no problem. What can I do?

    Thanks
    Chris

Viewing 15 replies - 16 through 30 (of 30 total)
  • Plugin Support happyAnt

    (@duongcuong96)

    @here
    We really have the problem with WordPress Cron messed up.
    Please change using another(free) CRON service like cron-job.org, set up your job to start a job with a link ( BackWPUp -> Jobs -> edit your job -> Schedule tab -> tick with a link ).
    Anyone please did a test?

    mamebart

    (@mamebart)

    @duoncuong96 just tested this on my instance: running the backup job via the link is working fine (no multiple copies of the backup are created).

    Plugin Support happyAnt

    (@duongcuong96)

    @mamebart, @here
    Thanks, for now, please use another Cron service because we are having this problem because of WP Cron not run correctly, we will try to workaround this problem in the near future.

    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://www.ads-software.com/support/plugin/backwpup/reviews/

    chenryahts

    (@chenryahts)

    I am also having this problem sending jobs via ftp in a multisite installation.

    I’ll add here that

    (1) I’m getting failure notices about jobs that appear to be completing successfully, and

    (2) The failure notices are for subsites (when the plugin is activated network wide)

    Some example first errors from logs:

    ERROR: Cannot write progress to working file. Job will be aborted.
    and

    WARNING: ftp_nb_continue(): Accepted data connection
    ERROR: Cannot transfer backup to FTP server!

    Maybe they’re related?

    Plugin Support happyAnt

    (@duongcuong96)

    @chenryahts,
    Please test @mamebart’s solution:

    just tested this on my instance: running the backup job via the link is working fine (no multiple copies of the backup are created).

    Hope that helps ??

    @duongcuong96,

    Yes! Will you update us once the old method is working?

    Thank you!

    @duongcuong96,

    I am waiting for a good news, too.
    Our company develop and manage many multisite WP installs.
    When we first noticed this problem, we also noticed that we lost some old backups.
    We usually limit the number of backup copies to 30, which is enough to hold backups for the one-month span if the backup is scheduled once per day.
    For the install with 5 blogs, since we have 5 backup copies daily after the Core was updated, the oldest backup copy remained was that of 6 days ago.

    Plugin Support happyAnt

    (@duongcuong96)

    @kaz-nishimura
    For now, could you try @mamebart‘s solution:

    just tested this on my instance: running the backup job via the link is working fine (no multiple copies of the backup are created).

    Update: still getting multiple daily backups for multisite sites.

    The wp-config.php modification using ALTERNATE_WP_CRON as suggested by @duongcuong96 at https://www.ads-software.com/support/topic/multisite-backups/ did not work, at least not for multisite.

    Increasing settings for Max No Retries and Max Script Execution Time did not help.

    The alternate scheduling service at cron-job.org suggested by @duongcuong96 above did not work for me as, two different months, did not receive confirming email to set up an account (checked spam). Also did not receive replies to emails I sent to their contact address (checked spam). Site says no phone support, plus it is an overseas call.

    Unfortunately the most recent WP upgrade still did not resolve the multiple BackWPup runs. Any hope for a fix with a BackWPup upgrade?

    Otherwise very thankful for this backup plugin with depth of options. Sticking with it for awhile in hopes the over-scheduling gets sorted out.

    • This reply was modified 6 years, 11 months ago by wilderbee.

    I just noticed this has been happening on my multisite site for a while, not sure how long. There’s not an exact pattern either.

    BackWPUp is network activated.

    I have 2 backups configured: a daily backup and a weekly backup.

    The daily backup has created 4 to 5 backups per day.

    The weekly backup has created 2 to 4 backups per week.

    This is not a cron issue for me, as I know these sites get enough traffic to trigger the jobs. It worked well for years and appears to have started just recently. I can’t tell exactly when because I prune the backups. I keep 7 weeks of weekly backups and 15 days of daily backups. Because of the duplicate backup files, the date range of my backups is now a lot less than expected.

    Happy to help support folks dig in, if needed, via email or something like that.

    i have exactly the same problem. i have 2 sites in my network and 2 backups are generated.

    Plugin Support happyAnt

    (@duongcuong96)

    @sourcenova @mindctrl @wilderbee
    here is the working solution, could you please try to see if it work?
    https://www.ads-software.com/support/topic/multi-site-wpcron-multiple-backups/page/2/#post-10204816
    Thank you!

    @duongcuong96, thanks. I’ll give that a shot and report back.

    @duongcuong96, adding the if (get_current_blog_id() != get_main_site_id()){ check seems to have fixed it. Is this something you will implement in an update?

    Plugin Support happyAnt

    (@duongcuong96)

    @mindctrl
    I’m going to tell our devs about that ??
    I think this hotfix will be added to the next 3.5 release ??

Viewing 15 replies - 16 through 30 (of 30 total)
  • The topic ‘Three backups in a row instead of one’ is closed to new replies.