disable cache for local repos
This commit is contained in:
parent
eed938b1b1
commit
f0a5477790
5 changed files with 6 additions and 2 deletions
|
|
@ -5,7 +5,8 @@ set -euo pipefail
|
|||
# restic backend
|
||||
source /etc/backup-client/restic.env
|
||||
|
||||
restic check --read-data --cleanup-cache
|
||||
restic check --read-data \
|
||||
--cleanup-cache{% if not backup_restic_cache %} --no-cache{% endif %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue