Browse Source

backup: fix prune archive name

master
Jim Paris 7 months ago
parent
commit
51c5b5e9ca
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      backup.py

+ 1
- 1
backup.py View File

@@ -433,7 +433,7 @@ def main(argv: typing.List[str]):
"--keep-daily=14",
"--keep-weekly=8",
"--keep-monthly=-1",
"--glob-archives", "hostname-????????-??????"])
"--glob-archives", hostname + "-????????-??????"])

# See if we had any errors
warnings = sum(1 for (letter, msg) in backup.logs if letter == 'W')


Loading…
Cancel
Save