export path and add curly braces

This commit is contained in:
2021-01-19 17:12:49 +01:00
parent 3e854fa178
commit e95a85df42
2 changed files with 6 additions and 4 deletions

View File

@@ -2,6 +2,7 @@
. $HOME/.bin/restic_common
export RESTIC_PASSWORD="${RESTIC_PASSWORD}"
export PATH="$HOME/.local/bin:$PATH"
info "Pruning snapshots"
restic --cache-dir $CACHE_DIR -r $RESTIC_REPOSITORY prune
restic --cache-dir ${CACHE_DIR} -r ${RESTIC_REPOSITORY} prune