1
0
mirror of https://github.com/restic/restic.git synced 2024-07-15 10:44:20 +02:00
restic/test/test-backup.sh

10 lines
258 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-11-30 22:43:34 +01:00
run khepri fsck all
2014-08-05 23:13:19 +02:00
cleanup