added backup scripts

This commit is contained in:
John Lancaster
2024-05-19 20:11:37 -05:00
parent b22f4a436b
commit 29079011d7
5 changed files with 143 additions and 2 deletions

11
scripts/restic_prune.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
set -e
SCRIPT_DIR=$(readlink -f $(dirname "${BASH_SOURCE[0]}"))
$SCRIPT_DIR/restic_command.sh forget --prune \
--keep-last 5 \
--keep-weekly 8 \
--keep-monthly 12 \
--keep-yearly 7