restic/test/test-backup.sh
2014-08-06 20:09:51 +02:00

7 lines
186 B
Bash
Executable file

set -e
prepare
run khepri backup "${BASE}/fake-data"
run khepri restore "$(khepri list ref)" "${BASE}/fake-data-restore"
dirdiff "${BASE}/fake-data" "${BASE}/fake-data-restore"
cleanup