1
0
mirror of https://github.com/restic/restic.git synced 2024-07-16 10:47:34 +02:00
restic/test/test-backup.sh

9 lines
238 B
Bash
Raw Normal View History

2014-08-06 20:09:51 +02:00
set -e
2014-08-05 23:13:19 +02:00
prepare
run khepri init
2014-08-06 20:09:51 +02:00
run khepri backup "${BASE}/fake-data"
run khepri restore "$(basename "$KHEPRI_REPOSITORY"/snapshots/*)" "${BASE}/fake-data-restore"
2014-09-23 22:39:12 +02:00
dirdiff "${BASE}/fake-data" "${BASE}/fake-data-restore/fake-data"
2014-08-05 23:13:19 +02:00
cleanup