backups: Implement scheduled backups
All threads resolved!
All threads resolved!
This MR proposes simplified approach for scheduling backups:
- Each repository is assigned to exactly one schedule. Schedule can be disabled (default).
- There are only three periods for backup: daily, weekly and monthly. Each can be disabled.
- Backups are cleaned up automatically based on return values.
- Borgmattic a backup scheduler for Borg was considered and rejected. Provided value is not worth the integration effort.
- Notifications are shown for errors and to encourage a new user to setup a backup schedule.
Merge request reports
Activity
changed milestone to %Bullseye Soft Freeze
added 6 commits
- 9ed1d8af - backups: Introduce backup scheduling
- 324bf017 - backups: Add a schedule to each repository
- 6d3cea35 - backups: Trigger schedules every hour
- 7e15124b - backups: Add UI to edit schedules
- 94f512b0 - backups: Add a notification to suggest users to enable schedules
- 196f4895 - backups: Show notification on error during scheduled backups
Toggle commit listadded 6 commits
- 4707df7c - backups: Introduce backup scheduling
- 0095f37f - backups: Add a schedule to each repository
- 7a03b2be - backups: Trigger schedules every hour
- 9e597595 - backups: Add UI to edit schedules
- 965e0209 - backups: Add a notification to suggest users to enable schedules
- 006a263f - backups: Show notification on error during scheduled backups
Toggle commit listTwo changes:
- I have added code to dismiss the notification when a schedule is enabled.
- The name of the scheduled backup archives was not changing unless the list of periods changes. This leads to Borg rejecting the schedule backup for the second time for same list of periods. So, I appended the time stamp to the name of the archive to fix this.
- Resolved by Sunil Mohan Adapa
- Resolved by Sunil Mohan Adapa
- Resolved by Sunil Mohan Adapa
- Resolved by Sunil Mohan Adapa
- Resolved by Sunil Mohan Adapa
added 10 commits
- 768d7732 - backups: Allow comments to be added to archives during backup
- ac9a5d70 - backups: Allow storing root repository details
- f18cce1b - backups: repository: Introduce a prepare method
- 80a0dd38 - backups: repository: Simplify handling of remote repo properties
- 6b231639 - backups: Introduce backup scheduling
- 00135ec6 - backups: Add a schedule to each repository
- 61aac506 - backups: Trigger schedules every hour
- 7a7b6809 - backups: Add UI to edit schedules
- 42f573c5 - backups: Add a notification to suggest users to enable schedules
- a352bedd - backups: Show notification on error during scheduled backups
Toggle commit listmentioned in issue #1742 (closed)
Please register or sign in to reply