updates to make better use of restic-scripts

This commit is contained in:
John Lancaster
2024-05-27 19:21:20 -05:00
parent 76efdb0274
commit 5483502675
7 changed files with 40 additions and 11 deletions

10
scripts/prune_backups.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
python -m restic.forget \
--keep-last 5 \
--keep-weekly 8 \
--keep-monthly 12 \
--keep-yearly 7
# --json | jq .
python -m restic.prune