Prevent incomplete backups from blocking progress
- Dominant language
- Perl
- Stars
- 2.1k
- Forks
- 139
- PR merge metrics
- No merged PRs in 30d
Description
Sometimes there is an existing "incomplete backup" in the target location, which stops automatic backups from proceeding. The solutions I can think of are
- delete the existing incomplete backup
- use a different name for the new backup, such as with a suffix like `.1`, `.2`...
- for the original backup attempt, send the file to a temporary random filename and then atomically rename it when finished, so this problem doesn't arise in the first place
What do you think would be a good solution?
---
Related: https://github.com/digint/btrbk/issues/489 https://github.com/digint/btrbk/issues/282 https://github.com/digint/btrbk/issues/570
Contributor guide
No contributing guide indexed for this repository
Research direction
Review the related issues #489, #282, and #570 before choosing an approach, since this issue presents several possible solutions without naming files or tests. Done means automatic backups no longer remain blocked by an existing incomplete backup, with the chosen behavior validated against the relevant backup workflow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- perl
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100