diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-12-30 15:06:30 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-12-30 15:25:49 +0200 |
commit | 6bc74795a009a35a0c1a27426b619b9f20a2db8e (patch) | |
tree | 682655b00b49a3ad477cfee0b4271344e30b3170 /subplot/client.yaml | |
parent | 776b2c134c3096b8a7cf1742cbcda13f0527e415 (diff) | |
download | obnam2-6bc74795a009a35a0c1a27426b619b9f20a2db8e.tar.gz |
feat: allow restoring latest generation
Diffstat (limited to 'subplot/client.yaml')
-rw-r--r-- | subplot/client.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/subplot/client.yaml b/subplot/client.yaml index f8e89b6..e526304 100644 --- a/subplot/client.yaml +++ b/subplot/client.yaml @@ -7,6 +7,9 @@ - when: "I invoke obnam --config {filename} restore <{genid}> {todir}" function: run_obnam_restore +- when: "I invoke obnam --config {filename} restore latest {todir}" + function: run_obnam_restore_latest + - then: "backup generation is {varname}" function: capture_generation_id |