WordPress.org

Forums

All In One WP Security & Firewall
[resolved] Automated backup time (6 posts)

  1. crashtest
    Member
    Posted 9 months ago #

    Hi,

    how can i set the automated backup starting time? I have a daily backup set, but i would like to make it start at 4:00 am, where the time of backup is stored (no matter if i have to set it manually)?

    Is it in some plugin's file or in db? (i have no access to server cron)

    https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/

  2. wpsolutions
    Member
    Plugin Author

    Posted 9 months ago #

    Hi,
    The auto backup feature uses the native wordpress cron functionality.
    This doesn't work exactly like a normal cron process you might normally use in a UNIX environment.

    The plugin will attempt to do hourly checks for any scheduled cron processes based on the "aiowps_hourly_cron_event" hook which is set when the plugin is activated.

    So in your case, if you activated the plugin at 13:00 (your local time) and you configured the auto DB backup settings to do once daily backups, the plugin will theoretically* do the backups at 13:00 daily.

    * I say theoretically, because the way in which the WP cron functionality works is that in order for the scheduled job to fire at the expected time, you will need to have some kind of activity on your site around the same time to trigger the processes. By activity I mean either people visiting your site on front end or backend.

    The more your site has a regular constant traffic stream the more reliably consistent the WP cron will work.

  3. crashtest
    Member
    Posted 9 months ago #

    it works now, but there's something i can't explain: day after day the backup is done one (exact) hour later.
    I've set the backup once a day, it seems something decided that a day is of 25 hours :)

  4. mbrsolution
    Member
    Plugin Contributor

    Posted 9 months ago #

    Hi @crashtest under WP Admin >> Settings >> General what timezone do you have set up on your website?

  5. crashtest
    Member
    Posted 9 months ago #

    Roma

  6. mra13
    Member
    Plugin Author

    Posted 9 months ago #

    Give it a few more days to see what happens.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.