need to export here as well
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
source $HOME/.bin/restic_common
|
. $HOME/.bin/restic_common
|
||||||
|
export RESTIC_PASSWORD="${RESTIC_PASSWORD}"
|
||||||
|
|
||||||
info "Pruning snapshots"
|
info "Pruning snapshots"
|
||||||
restic --cache-dir $CACHE_DIR -r $RESTIC_REPOSITORY prune
|
restic --cache-dir $CACHE_DIR -r $RESTIC_REPOSITORY prune
|
||||||
|
|||||||
Reference in New Issue
Block a user