Strange issue found today, It looks like daily backup schedule still runs if its been disabled. I was running this with Elisia cron in order to set the time that the backup needs to run (I.E 02:00 in the morning when the site is quite).

I think by setting up a time this way it bypasses the enabled checks and runs the backup anyway. I am not 100% sure this is the problem but from my limited digging this looks to be the cause.

Can we either ensure the checks are made wehn running this way or add the option to backup migrate to set the time the scheduled task runs as most people will only want the backups happening in the night for performance reasons.

Comments

mike dodd created an issue. See original summary.

DamienMcKenna’s picture

Status: Needs work » Postponed (maintainer needs more info)

I'm unable to reproduce this with the latest codebase. The module checks the is_enabled() method on each schedule configuration object before running it, and this should return FALSE for the configurations that are disabled. You might try updating to the latest dev release, just in case there was a bug affecting it. Also, you might check to make sure there isn't a variable hanging around that's overriding the setting. Please update the issue to let us know if the problem continues.

couturier’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

Closed due to non-response from the issue reporter.