need to export here as well

This commit is contained in:
2020-11-25 19:49:50 +01:00
parent b037da1b1c
commit 958439b8b6

View File

@@ -1,6 +1,7 @@
#!/bin/bash
source $HOME/.bin/restic_common
. $HOME/.bin/restic_common
export RESTIC_PASSWORD="${RESTIC_PASSWORD}"
info "Pruning snapshots"
restic --cache-dir $CACHE_DIR -r $RESTIC_REPOSITORY prune