Commit Graph

1031 Commits

Author SHA1 Message Date
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
0b9117b39f Fix(restic) getconf retry_run 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
b148b3c9ef restic add retry function 2021-01-10 16:26:22 -05:00
Nicolas KAROLAK
45a04e485c restic: start working on handler 2021-01-10 16:26:22 -05:00
Nicolas KAROLAK
d295851b78 restic: contrib 2021-01-10 16:26:22 -05:00
Nicolas KAROLAK
7e3537d869 restic: add into examples build 2021-01-10 16:26:22 -05:00
Nicolas KAROLAK
6f9a988cca restic: add in manpage 2021-01-10 16:26:22 -05:00
Nicolas KAROLAK
76043a056e restic: add build target 2021-01-10 16:26:22 -05:00
Nicolas KAROLAK
052f45ebb1 restic: rename file with .in extension 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
7e55bb789a restic: fix some shellscript warnings 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
c0426653fc restic: add dry_run option on check command 2021-01-10 16:26:22 -05:00
Nicolas KAROLAK
3d84e15c27 restic: fix var conflict & add export_debug function 2021-01-10 16:26:22 -05:00
Nicolas KAROLAK
aa76a363ad restic: add options & cleanup some sebug/fatal messages 2021-01-10 16:26:22 -05:00
Nicolas KAROLAK
d6bbe6635c change indent from 3 to 2 2021-01-10 16:26:22 -05:00
Nicolas KAROLAK
3103b6bf32 fix missing quotes around repo & passwd variables 2021-01-10 16:26:22 -05:00
Nicolas KAROLAK
ca028e1959 init restic support 2021-01-10 16:26:22 -05:00
Jerome Charaoui
568dbaa9fd whitespace fixes 2021-01-09 23:29:29 -05:00
Jerome Charaoui
21f75544e8 borg: use autotools abstraction for sed path 2021-01-09 23:29:20 -05:00
Jerome Charaoui
c18404eb3a borg: add new setting sshoptions, fixes #11310 2021-01-09 17:21:29 -05:00
Jerome Charaoui
fe8778618f borg: fix connection test when remote dir exists
When testing the connection via ssh forced command, if the remote path
is an empty directory (instead of nonexistent), the handler bails even
tough the connection is successful.

Co-authored-by: Emil Breiner <emil.breinr@krumedia.com>
2021-01-08 23:35:21 -05:00
Jerome Charaoui
69df0f16f6 borg: implement ignore_missing option 2021-01-08 20:31:31 -05:00
Jerome Charaoui
e1b4a823d3 borg: emit warning if rc=1, fixes #11311 2021-01-08 14:19:13 -05:00
Jerome Charaoui
387eb85d70 Merge branch 'tests' into 'master'
Add a testsuite

See merge request liberate/backupninja!46
2021-01-07 05:51:06 -08:00
Jerome Charaoui
2f78a8d720 tests: improve cli options tests
Use test values with whitespace to catch quoting issues.
2021-01-06 22:41:25 -05:00
Jerome Charaoui
142274d950 tests: use parentdir config in sys handler 2021-01-06 22:36:20 -05:00
Jerome Charaoui
4287819043 tests: adjust sh labels and runaction call 2021-01-06 22:36:20 -05:00
Jerome Charaoui
49b27f154f tests: fix typos 2021-01-06 22:36:20 -05:00
Jerome Charaoui
e057de58c3 tests: add some docs 2021-01-06 22:36:20 -05:00
Jerome Charaoui
1107fb666b tests: fix duplicity archive directory path 2021-01-06 22:36:20 -05:00
Jerome Charaoui
6b517acacc tests: don't fail if remote /var/backups unmounted 2021-01-06 22:36:20 -05:00
Jerome Charaoui
5ecd87566e tests: improve rsync handler tests 2021-01-06 22:36:20 -05:00
Jerome Charaoui
ad38ad49d1 tests: only unmount backupdir if necessary 2021-01-06 22:36:20 -05:00
Jerome Charaoui
10ed1b575f tests: overhaul rdiff handler tests 2021-01-06 22:36:20 -05:00
Jerome Charaoui
5bcaea00b8 tests: use globals and common functions in tar test 2021-01-06 22:36:20 -05:00
Jerome Charaoui
3733864bfb tests: make filename optional in set/delconfig 2021-01-06 22:36:20 -05:00
Jerome Charaoui
bf612c9390 tests: implement runaction in other tests 2021-01-06 22:36:20 -05:00
Jerome Charaoui
6564cff1ce tests: resolve function name collision 2021-01-06 22:36:20 -05:00
Jerome Charaoui
893419125e tests: remove extraneous test command 2021-01-06 22:36:20 -05:00
Jerome Charaoui
20ea06b603 tests: improve testaction and runaction
Auto-find test component/file and check status code.
2021-01-06 22:36:20 -05:00
Jerome Charaoui
5bc6b9c1b5 tests: improve setconfig_repeat 2021-01-06 22:36:20 -05:00
Jerome Charaoui
b3ca5e956c tests: overhaul dup tests 2021-01-06 22:36:20 -05:00
Jerome Charaoui
70365ec658 tests: split verification from creation 2021-01-06 22:36:20 -05:00
Jerome Charaoui
30c9c7391e tests: better tests names for borg 2021-01-06 22:36:20 -05:00
Jerome Charaoui
eae7f4fe98 rdiff: log execution steps 2021-01-06 22:36:20 -05:00
Jerome Charaoui
b93af54bed dup: log execution steps 2021-01-06 22:36:20 -05:00