Ensure we only remove old backups after successfully creating a new one #13
Labels
No labels
Brainstorm
Parent
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Chewing_Bever/backup-tool#13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The specs currently remove the older backups before creating the new one. This creates the problem that a backup can fail, therefore storing one less backup.
This can be fixed quite easily, by just move the
remove_backups()call to after the creation of the new one.