1
0
mirror of https://github.com/restic/restic.git synced 2025-08-22 02:44:04 +00:00
Files
backend
chunker
cmd
debug
doc
testsuite
fake-data.tar.gz
run.sh
test-backup-missing-file.sh
test-backup.sh
test-key-add-remove.sh
LICENSE
Makefile
README.md
archiver.go
archiver_test.go
blob.go
generic_test.go
key.go
key_int_test.go
key_test.go
map.go
map_test.go
node.go
node_darwin.go
node_linux.go
node_windows.go
pools.go
progress.go
restorer.go
scanner.go
server.go
snapshot.go
snapshot_darwin.go
snapshot_linux.go
snapshot_test.go
snapshot_windows.go
testsuite.sh
tree.go
tree_test.go
wercker.yml
zerrors_linux.go
restic/testsuite/test-backup-missing-file.sh
Alexander Neumann fb95f02af6 Refactor testsuite
2015-01-17 16:32:24 +01:00

17 lines
260 B
Bash
Executable File

set -em
# setup restic
prepare
run restic init
# start backup, break before saving files
DEBUG_BREAK=Archiver.Snapshot run restic.debug backup "${BASE}/fake-data" && debug "done"
# remove file
rm -f "${BASE}/fake-data/0/0/9/37"
# resume backup
fg
cleanup