Skip to content

Commit

Permalink
Added new mmctl export command
Browse files Browse the repository at this point in the history
  • Loading branch information
cwarnermm committed Jul 21, 2023
1 parent 738feca commit b023b5c
Showing 1 changed file with 35 additions and 1 deletion.
36 changes: 35 additions & 1 deletion source/manage/mmctl-command-line-tool.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2248,6 +2248,7 @@ Manage exports.
- `mmctl export create`_ - Create an export file
- `mmctl export delete`_ - Delete an export file
- `mmctl export download`_ - Download export files
- `mmctl export generate-presigned-url`_ - Generate a pre-signed URL for an export file
- `mmctl export job`_ - List, show, and cancel export jobs
- `mmctl export job cancel`_ - Cancel export job
- `mmctl export job list`_ - List export jobs
Expand Down Expand Up @@ -2376,7 +2377,40 @@ Download export files.
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
mmctl export generate-presigned-url
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
**Description**
Generate a pre-signed URL for an export file in cases where a Mattermost Cloud export is large and challenging to download from the Mattermost server.
**Format**
.. code-block:: sh
mmctl export generate-presigned-url [exportname] [flags]
**Options**
.. code-block:: sh
-h, --help help for generate-presigned-url
**Options inherited from parent commands**
.. code-block:: sh
--config string path to the configuration file (default "$XDG_CONFIG_HOME/mmctl/config")
--disable-pager disables paged output
--insecure-sha1-intermediate allows to use insecure TLS protocols, such as SHA-1
--insecure-tls-version allows to use TLS versions 1.0 and 1.1
--json the output format will be in json format
--local allows communicating with the server through a unix socket
--quiet prevent mmctl to generate output for the commands
--strict will only run commands if the mmctl version matches the server one
--suppress-warnings disables printing warning messages
mmctl export job
~~~~~~~~~~~~~~~~
Expand All @@ -2388,7 +2422,7 @@ List, show, and export jobs.
.. code-block:: sh
-h, --help help for job
-h, --help help for job
**Options inherited from parent commands**
Expand Down

0 comments on commit b023b5c

Please sign in to comment.