1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-23 08:16:36 +00:00
restic/test/test-backup.sh

9 lines
202 B
Bash
Raw Normal View History

2014-08-06 18:09:51 +00:00
set -e
2014-08-05 21:13:19 +00:00
prepare
run khepri init
2014-08-06 18:09:51 +00:00
run khepri backup "${BASE}/fake-data"
run khepri restore "$(khepri list ref)" "${BASE}/fake-data-restore"
dirdiff "${BASE}/fake-data" "${BASE}/fake-data-restore"
2014-08-05 21:13:19 +00:00
cleanup