How do I schedule DB backups, using this module? It's much more important that it be done around a time where there are likely to be no users, than it is that it be done at some frequency (frequency is all I can find).

As an alternative to in-Drupal scheduling, is there a sure way to get it to simply run on every cron.php invocation?

Comments

ronan’s picture

Status: Active » Closed (duplicate)

There is currently no way to do cron-like scheduling (limit runs to certain times of day for example) but there's already a feature request for that so it's on my list #313134: Allow setting scheduled time similar to cron job

As for having it run whenever cron.php is invoked, just set the frequency lower than the frequency of your cron runs and that is what happen. If you set the module to backup every hour but only run cron at 3am on saturdays, then you'll only get 1 backup a week at 3am on saturday.

Hope this helps

cerbie’s picture

Thanks. I have root access, so yes, that helps a bunch.