• Resolved CurtisN

    (@curtisn)


    Thank you for this great extension. Everything about it is great but I’m having this one issue with the backup now feature.

    Backup Now works in that it schedules a backup for UTC however, I am in the US Pacific time zone and have my timezone under WP Settings->General set to Los Angeles.

    Updraft seems to be ignoring the WP timezone setting with respect to the backup now feature.

    The regular scheduled backups run without a problem.

    I have read through the FAQ and forum entries and have not seen anything that addresses my issue. Is there anything I have missed or can do anything to resolve my issue? I like to run a backup before making major site changes but the way this is working now Id have to click backup now and wait 7 hours for the backup to run before updating my site.

    Thanks for any help you can give.

    Curtis

    https://www.ads-software.com/plugins/updraftplus/

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

    (@davidanderson)

    Hi Curtis,

    Time zones don’t come into “Backup Now” – it just tells the WordPress scheduler “do it 5 seconds from now”, and never looks into any time zones. Are you being misled by the fact that the “Last log” line records the time of the log message in UTC (which is for standardisation, since the logs are to help debugging problems)?

    David

    Thread Starter CurtisN

    (@curtisn)

    David,

    Thanks for your reply. Yes I completely misread that as being when the backup was scheduled for. Sorry about that.

    After reading your response I went back to look and sure enough the backup did run but it took over 30 minutes for it to do so.

    EG. when I got your response I logged in and clicked backup now to see how long it would take. As of 2:32 pn PST the last log entry says “A backup run has been scheduled (Aug 08 21:16:02)” and the backup job run says “Thu, August 8, 2013 13:52”.

    It seems like if this was working as expected, a backup should have already run.

    Is there something I need to do to trigger the backup once I have clicked backup now?

    Thanks again for your time and help.

    Curtis

    Plugin Author David Anderson

    (@davidanderson)

    Hi Curtis,

    The WordPress scheduler relies upon visits to the site to give it time to run – is it a development or little-visited site you’re working on? You’d need to read the log file, though, to see the full chronology of how it starts, progresses, stops, restarts, etc.

    David

    Thread Starter CurtisN

    (@curtisn)

    David,

    Ok. I reviewed the log file and feel like I have a better understanding of how it works.

    It seems like there is some sort of limit to how often the WP scheduler will run which makes sense.

    Is there a way to trigger a backup without using the WP scheduler? What I’d like to have happen is that when I click ‘Backup Now’ the application runs a backup now as opposed to adding a backup to the WP scheduler which may not be fired for 20 minutes or more.

    Thanks for your help.

    Curtis

    Plugin Author David Anderson

    (@davidanderson)

    Hi CurtisN,

    If your WP scheduler isn’t getting fired for 20 minutes then the likely cause is that there are no visitors to the site – is it a development site? On a site that’s in use, things usually run within a few seconds of when they’re scheduled for.

    David

    Thread Starter CurtisN

    (@curtisn)

    David,

    This is a new site and does not have much traffic yet. However, after clicking backup now, waiting a minute or two, and loading the front of the site, nothing happens. Over the last few tests I reloaded the front of the site every minute or so and it still took in excess of 20 minutes before the backup was run even when loading the site from a different browser to make sure cookies, cache, etc. were not an issue.

    Is there any way to trigger a backup without the WP scheduler being a factor? I like your extension, it’s by far the best I’ve found of its type, but this issue causes a situation where I cannot make a backup before updating the site without waiting for several minutes to a half hour or more for the backup to happen. Which in turn makes site maintenance more time consuming than it should be.

    I realize that this is not an error or issue directly caused by your extension but rather by WP scheduler taking it’s sweat time to run the scheduled task, but it seems like there should be a way to execute the backup immediately without waiting for some other WP process or function to be run.

    Is there anything I can do to get the backup to fire immediately?

    Thanks for your time and help.

    Curtis

    Plugin Author David Anderson

    (@davidanderson)

    Hi Curtis,

    There’s a ‘debug backup’ button down in the ‘expert settings’ section that runs a backup outside of the scheduler.

    David

    Thread Starter CurtisN

    (@curtisn)

    David,

    This is perfect.

    Thank you for taking the time to help me out. I really appreciate it.

    Have a great weekend!

    Curtis

    Plugin Author David Anderson

    (@davidanderson)

    Hi Curtis,

    You’re welcome! If you find UD useful, then please take a minute to give us a good review: https://www.ads-software.com/support/view/plugin-reviews/updraftplus?rate=5#postform

    Best wishes,
    David

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Backup Now scheduling backup for future time’ is closed to new replies.