Ensure we only remove old backups after successfully creating a new one #13
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Chewing_Bever/backup-tool#13
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. 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.