summaryrefslogtreecommitdiff
path: root/subplot/client.yaml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-12-30 15:06:30 +0200
committerLars Wirzenius <liw@liw.fi>2020-12-30 15:25:49 +0200
commit6bc74795a009a35a0c1a27426b619b9f20a2db8e (patch)
tree682655b00b49a3ad477cfee0b4271344e30b3170 /subplot/client.yaml
parent776b2c134c3096b8a7cf1742cbcda13f0527e415 (diff)
downloadobnam2-6bc74795a009a35a0c1a27426b619b9f20a2db8e.tar.gz
feat: allow restoring latest generation
Diffstat (limited to 'subplot/client.yaml')
-rw-r--r--subplot/client.yaml3
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