Skip to content

Commit

Permalink
fix monthly backup rotation: dont check for existing full backup if n…
Browse files Browse the repository at this point in the history
…ew monthly directory is created
  • Loading branch information
abbbi committed Jan 26, 2022
1 parent 45d1803 commit 468fec1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion qmpbackup
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,11 @@ if action == "backup":
)

if argv.level == "auto":
if device.has_bitmap and not common.has_full(targetdir):
if (
device.has_bitmap
and not common.has_full(targetdir)
and NEWMONTHLYBACKUP is False
):
log.error(
"Bitmap exists, but target directory does not contain full backup."
)
Expand Down

0 comments on commit 468fec1

Please sign in to comment.