Skip to content

Draft: schedule: Cross-check monitor start_scheduled_backup commands

Fina Wilke requested to merge fina/cross-check-monitor into main

schedule: Cross-check monitor start_scheduled_backup commands

We shouldn't run a scheduled backup when it's not due. Reasons on why the monitor and the app might disagree:

  • The daemon couldn't read the history file due to file corruption / file version incompatibility and considers this a reason to start the initial backup
  • The daemon has other bugs that have been fixed in a new version, but the daemon didn't restart with the new code

In theory #439 (closed) should restart the daemon. But this won't work for packaged versions of the app or in case of an error with restarting the daemon for whatever reason.

Edited by Fina Wilke

Merge request reports