remove jq from restic script

This commit is contained in:
Nikolai Rodionov 2022-04-08 18:18:41 +02:00
parent 5698948778
commit f8bb329ad5
1 changed files with 2 additions and 2 deletions

View File

@ -7,8 +7,8 @@ set -o pipefail
# -- Logic:
# -- 1. Do a backup with restic
# -----------------------------------------------
restic backup $@ --json | jq 'select(.message_type == "summary")'
restic backup $@
# -----------------------------------------------
# -- 2. Remove old backups
# -----------------------------------------------
restic forget --keep-last $RESTIC_KEEP_LAST --prune
restic forget --keep-last $RESTIC_KEEP_LAST --prune