diff options
Diffstat (limited to 'subplot')
-rw-r--r-- | subplot/client.py | 12 | ||||
-rw-r--r-- | subplot/client.yaml | 2 |
2 files changed, 12 insertions, 2 deletions
diff --git a/subplot/client.py b/subplot/client.py index d89b7d4..1dcbe8c 100644 --- a/subplot/client.py +++ b/subplot/client.py @@ -28,7 +28,17 @@ def run_obnam_restore(ctx, filename=None, genid=None, todir=None): genid = ctx["vars"][genid] runcmd_run( - ctx, ["env", "RUST_LOG=obnam", "obnam", "restore", filename, genid, todir] + ctx, + [ + "env", + "RUST_LOG=obnam", + "obnam", + "--config", + filename, + "restore", + genid, + todir, + ], ) diff --git a/subplot/client.yaml b/subplot/client.yaml index 63033c3..f8e89b6 100644 --- a/subplot/client.yaml +++ b/subplot/client.yaml @@ -4,7 +4,7 @@ - given: "a client config based on {filename}" function: configure_client -- when: "I invoke obnam restore {filename} <{genid}> {todir}" +- when: "I invoke obnam --config {filename} restore <{genid}> {todir}" function: run_obnam_restore - then: "backup generation is {varname}" |