diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-11-13 07:36:34 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-11-13 07:36:34 +0000 |
commit | 179993f3bdd5e5d4dd728fc2a8f5d63274f95966 (patch) | |
tree | 5595fe6c724a15d445dd64f46fefaa94db846174 /subplot/obnam.yaml | |
parent | 39e23fb3b16cb6777d8e63e9e2dc59ab6f908d67 (diff) | |
parent | a2d15ccf200ae449a64cd895615a89ec42b4ab6a (diff) | |
download | obnam2-179993f3bdd5e5d4dd728fc2a8f5d63274f95966.tar.gz |
Merge branch 'subplot' into 'main'
Subplot
See merge request larswirzenius/obnam!9
Diffstat (limited to 'subplot/obnam.yaml')
-rw-r--r-- | subplot/obnam.yaml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/subplot/obnam.yaml b/subplot/obnam.yaml index c2a3608..7d2d85b 100644 --- a/subplot/obnam.yaml +++ b/subplot/obnam.yaml @@ -1,3 +1,9 @@ +- given: "an installed obnam" + function: install_obnam + +- given: "a client config based on {filename}" + function: configure_client + - given: "a chunk server" function: start_chunk_server cleanup: stop_chunk_server @@ -33,6 +39,12 @@ - when: "I back up {dirname} with obnam-backup" function: back_up_directory +- when: "I invoke obnam-backup {filename}" + function: run_obnam_backup + +- when: "I invoke obnam-restore {filename} <{genid}> {dbname} {todir}" + function: run_obnam_restore + - then: "HTTP status code is {status}" function: status_code_is @@ -51,3 +63,9 @@ - then: "backup command is successful" function: command_is_successful + +- then: "backup generation is {varname}" + function: capture_generation_id + +- then: "data in {live} and {restore} match" + function: live_and_restored_data_match |