Rate-limit progress reports

This commit is contained in:
Julian Rother 2022-08-01 21:32:37 +02:00
parent 740ca41cf9
commit fb556ae0ad
No known key found for this signature in database
GPG key ID: 8F9B6AE9BAAE4899
2 changed files with 2 additions and 0 deletions

View file

@ -17,6 +17,7 @@ echo "Hooks done"
# restic backend # restic backend
source /etc/backup-client/restic.env source /etc/backup-client/restic.env
export RESTIC_PROGRESS_FPS=1
restic backup \ restic backup \
{{ restic_combined_flags }} \ {{ restic_combined_flags }} \
--verbose \ --verbose \

View file

@ -121,6 +121,7 @@ set -euo pipefail
{% if backup_backend == 'restic' %} {% if backup_backend == 'restic' %}
# restic backend # restic backend
source /etc/backup-client/restic.env source /etc/backup-client/restic.env
export RESTIC_PROGRESS_FPS=1
restic backup \ restic backup \
{{ restic_combined_flags }} \ {{ restic_combined_flags }} \
--verbose \ --verbose \