bcgov / bcgov/backup-container
Notification when there is no backup for today
- Dominant language
- Shell
- Stars
- 44
- Forks
- 65
- PR merge metrics
- No merged PRs in 30d
Description
When performing scheduled backup and verification, it is possible for a backup to fail due to a variety of reasons such as connectivity or storage issues. The scheduled verification for that day will verify the most recent backup, which will be the previously successful backup, which is likely to have already been verified. Without close inspection of the date stamp on the archive that was verified this produces what could easily be mistaken as a positive verification for the day (even though there should have been a failure notification for the backup).
For scheduled verifications:
- Detect whether the backup being verified is recent (for today, for example).
- Fail verification and send a notification if the archive is not recent.
- Add configuration parameters (flags and environment variables) to allow this functionality to be turned on or off.
Contributor guide
Research direction
Start by locating the scheduled backup and verification entry points in the repository, then trace how archive dates and verification failures are handled. Identify the existing configuration flags and environment variables used by the schedules. Done means an outdated archive causes verification and notification failure, with documented controls to enable or disable the behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- devops, infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100