Skip to content

Conversation

@patricioxavier8
Copy link
Contributor

Problem

When a user configured a scheduled backup (e.g., hourly at 20:07), closing and reopening the app would cause the next backup time to be recalculated from the current time (e.g., 21:09 instead of 21:07). This happened because only the last completed backup time was persisted, not the scheduled next backup time.

Solution

  • Added NEXT_SCHEDULED_BACKUP_KEY to persist the next scheduled backup date
  • Modified startBackupTimer() to first check for a saved scheduled time before recalculating
  • Clear the scheduled backup key when:
    • A backup completes (so next schedule is based on completion time)
    • User changes the backup frequency

@patricioxavier8 patricioxavier8 added the bug Something isn't working label Feb 3, 2026
@patricioxavier8 patricioxavier8 self-assigned this Feb 3, 2026
@patricioxavier8 patricioxavier8 merged commit 99183d1 into release/2.6.3 Feb 4, 2026
1 check passed
@patricioxavier8 patricioxavier8 deleted the fix/backup-schedule-persistence branch February 4, 2026 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants