Ensure we only remove old backups after successfully creating a new one #13

Open
opened 2021-04-27 11:01:42 +02:00 by Jef Roosens · 0 comments

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.

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.
Jef Roosens added this to the 1.0.0 milestone 2021-04-27 11:01:42 +02:00
Jef Roosens added the
bug
label 2021-04-27 11:01:42 +02:00
Jef Roosens self-assigned this 2021-04-27 11:01:42 +02:00
Jef Roosens added this to the 1.0.0 project 2021-04-27 11:01:42 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Chewing_Bever/backup-tool#13
There is no content yet.