mirror of
https://github.com/octoleo/restic.git
synced 2024-11-16 10:05:25 +00:00
11 lines
195 B
Bash
11 lines
195 B
Bash
|
set -em
|
||
|
|
||
|
# setup restic
|
||
|
prepare
|
||
|
run restic init
|
||
|
|
||
|
# start backup with non existing dir
|
||
|
run timeout 10s restic.debug backup "${BASE}/fake-data/0/0/"{0,1,foobar,5} && debug "done" || false
|
||
|
|
||
|
cleanup
|