From a2d15ccf200ae449a64cd895615a89ec42b4ab6a Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 12 Nov 2020 16:26:30 +0200 Subject: test: add scenario for smoke testing backup+restore --- obnam.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'obnam.md') diff --git a/obnam.md b/obnam.md index 348721e..26a4cfc 100644 --- a/obnam.md +++ b/obnam.md @@ -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 restore.db rest +then data in live and rest match +~~~ + +~~~{#smoke.yaml .file .yaml .numberLines} +root: live +dbname: tmp.db ~~~ ## Backups and restores -- cgit v1.2.1