From 6f739229cbb30f0f5ded1c08804f8100d8814379 Mon Sep 17 00:00:00 2001 From: tofaz <64267878+tofazzz@users.noreply.github.com> Date: Fri, 2 Sep 2022 11:35:45 -0400 Subject: [PATCH 1/2] Update export.rst Updated with syntax from 0.9.20220216 as if running just bastille export TARGET it errors with: "Error: Stream can not be written to a terminal. You must redirect standard output. Error: An export option is required, see 'bastille export, otherwise the user must redirect to standard output." --- docs/chapters/subcommands/export.rst | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/chapters/subcommands/export.rst b/docs/chapters/subcommands/export.rst index db109204..b2ffb51d 100644 --- a/docs/chapters/subcommands/export.rst +++ b/docs/chapters/subcommands/export.rst @@ -16,4 +16,14 @@ can be exported only when the jail is not running. .. code-block:: shell - Usage: bastille export TARGET + Usage: bastille export | option(s) | TARGET | PATH + +Available options are: + + --gz -- Export a ZFS jail using GZIP(.gz) compressed image. + -r | --raw -- Export a ZFS jail to an uncompressed RAW image. + -s | --safe -- Safely stop and start a ZFS jail before the exporting process. + --tgz -- Export a jail using simple .tgz compressed archive instead. + --txz -- Export a jail using simple .txz compressed archive instead. + -v | --verbose -- Be more verbose during the ZFS send operation. + --xz -- Export a ZFS jail using XZ(.xz) compressed image. From a0abac97ff1732470cf649a6eb2f8748ee092bb5 Mon Sep 17 00:00:00 2001 From: tofaz <64267878+tofazzz@users.noreply.github.com> Date: Fri, 2 Sep 2022 11:36:43 -0400 Subject: [PATCH 2/2] Update export.rst --- docs/chapters/subcommands/export.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/chapters/subcommands/export.rst b/docs/chapters/subcommands/export.rst index b2ffb51d..3fb2b5ff 100644 --- a/docs/chapters/subcommands/export.rst +++ b/docs/chapters/subcommands/export.rst @@ -20,6 +20,8 @@ can be exported only when the jail is not running. Available options are: +.. code-block:: shell + --gz -- Export a ZFS jail using GZIP(.gz) compressed image. -r | --raw -- Export a ZFS jail to an uncompressed RAW image. -s | --safe -- Safely stop and start a ZFS jail before the exporting process.