added backup scripts
This commit is contained in:
11
scripts/restic_prune.sh
Executable file
11
scripts/restic_prune.sh
Executable 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
|
||||
Reference in New Issue
Block a user