remove jq from restic script
This commit is contained in:
parent
5698948778
commit
f8bb329ad5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue