Commit Graph

13 Commits

Author SHA1 Message Date
Jerome Charaoui
b013dc759b restic: init repository if needed, by default
Add backup/init config directive (defaults to yes) to control whether
the repository should be initialized if it doesn't exist. Since we need
to attempt to connect to the repository to verify if init is needed,
remove the testconnect parameter so that the handler just tests the
connection every time it runs.
2021-01-11 20:46:12 -05:00
Jerome Charaoui
66f488c232 restic: enable testconnect by default and add to example 2021-01-11 18:22:11 -05:00
Jerome Charaoui
356ffa210f restic: support nicelevel and ionicelevel 2021-01-11 18:21:49 -05:00
Jerome Charaoui
9b262e5b7b restic: remove rebuild-index
The command rebuild-index should only be necessary as part of an attempt
to repair a malfunctioning repository. I could not find anywhere in the
documentation recommending to run this command at regular intervals.
2021-01-11 17:54:51 -05:00
Nicolas KAROLAK
4b1f361b4c fix retry_wait example 2021-01-10 16:26:22 -05:00
Nicolas KAROLAK
a8fa5f429b change(restic): add aws_session_token introduced in restic 0.9.2 2021-01-10 16:26:22 -05:00
Nicolas KAROLAK
b09529e96b Fix(restic) wait between retries
Too quick retry could lead to locking issue.
2021-01-10 16:26:22 -05:00
Nicolas KAROLAK
acee92fef5 Fix(restic) remove verbose option
BackupNinja does not capture command output so this option is useless,
plus it make check command fails.
2021-01-10 16:26:22 -05:00
Nicolas KAROLAK
bceee65ed8 restic: make number of retries configurable 2021-01-10 16:26:22 -05:00
Nicolas KAROLAK
570c3aae5e restic: do not run backup and forget by default 2021-01-10 16:26:22 -05:00
Nicolas KAROLAK
8082d3d04a restic: add missing swift region option 2021-01-10 16:26:22 -05:00
Nicolas KAROLAK
1661e23a11 restic: update example config file with all options 2021-01-10 16:26:22 -05:00
Nicolas KAROLAK
ca028e1959 init restic support 2021-01-10 16:26:22 -05:00