Commit 8f5cd3a3 authored by kaiyou's avatar kaiyou

Specify the cache dir for backup and pruning

parent 5f06d998
......@@ -7,6 +7,7 @@ export RESTIC_REPOSITORY RESTIC_PASSWORD AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY
restic backup \
--verbose \
--cache-dir $CACHE_DIR \
--one-file-system \
--exclude-if-present .nobackup \
${*:-$(find $BACKUP_PATHS -maxdepth 1 -mindepth 1 -type d)} &
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment