diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-11-12 16:26:30 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-11-13 09:35:48 +0200 |
commit | a2d15ccf200ae449a64cd895615a89ec42b4ab6a (patch) | |
tree | 5595fe6c724a15d445dd64f46fefaa94db846174 /obnam.md | |
parent | 4737919229d6785a08bbf4b54c12c20b20359e7b (diff) | |
download | obnam2-a2d15ccf200ae449a64cd895615a89ec42b4ab6a.tar.gz |
test: add scenario for smoke testing backup+restore
Diffstat (limited to 'obnam.md')
-rw-r--r-- | obnam.md | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -306,10 +306,20 @@ and their metadata are identical to the original. This is the simplest possible, but still useful requirement for a backup system. ~~~scenario -given a chunk server +given an installed obnam +and a chunk server +and a client config based on smoke.yaml and a file live/data.dat containing some random data -when I back up live with obnam-backup +when I invoke obnam-backup smoke.yaml then backup command is successful +and backup generation is GEN +when I invoke obnam-restore smoke.yaml <GEN> restore.db rest +then data in live and rest match +~~~ + +~~~{#smoke.yaml .file .yaml .numberLines} +root: live +dbname: tmp.db ~~~ ## Backups and restores |