mirror of
https://github.com/octoleo/restic.git
synced 2024-11-22 04:45:15 +00:00
Test incremental backup
This commit is contained in:
parent
caf00f6087
commit
d2cda159e1
@ -5,5 +5,11 @@ run khepri init
|
||||
run khepri backup "${BASE}/fake-data"
|
||||
run khepri restore "$(basename "$KHEPRI_REPOSITORY"/snapshots/*)" "${BASE}/fake-data-restore"
|
||||
dirdiff "${BASE}/fake-data" "${BASE}/fake-data-restore/fake-data"
|
||||
|
||||
SNAPSHOT=$(run khepri list snapshots)
|
||||
run khepri backup "${BASE}/fake-data" $SNAPSHOT
|
||||
run khepri restore "$(basename "$KHEPRI_REPOSITORY"/snapshots/*)" "${BASE}/fake-data-restore-incremental"
|
||||
dirdiff "${BASE}/fake-data" "${BASE}/fake-data-restore-incremental/fake-data"
|
||||
|
||||
run khepri fsck all
|
||||
cleanup
|
||||
|
Loading…
Reference in New Issue
Block a user