Add retries and retry-wait

Signed-off-by: Leonidas Avdelas <avdelasleonidas@gmail.com>
This commit is contained in:
Leonidas Avdelas 2025-11-14 17:38:23 +02:00 committed by Manu
parent a960af0cf4
commit 88dc6da60e

View File

@ -89,6 +89,19 @@ storage:
remote_rate_limit: {{ borg_remote_rate_limit }}
{% endif %}
# Number of times to retry a failing backup before giving up.
# Defaults to 0 (i.e., does not attempt retry).
{% if borgmatic_retries is defined %}
retries: {{ borgmatic_retries }}
{% endif %}
# Wait time between retries (in seconds) to allow transient
# issues to pass. Increases after each retry as a form of
# backoff. Defaults to 0 (no wait).
{% if borgmatic_retry_wait is defined %}
retry_wait: {{ borgmatic_retry_wait }}
{% endif %}
# Command to use instead of just "ssh". This can be used to specify ssh options.
# ssh_command: ssh -i ~/.ssh/id_ed25519
{% if borg_ssh_command %}