From 5ad41b087c68e0b139689f5ee78fb5fe68d76940 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Sat, 13 Apr 2019 20:33:07 -0700 Subject: [PATCH] docs: Do an edit pass on the Mattermost data import documentation. --- .../zerver/help/import-from-mattermost.md | 24 ++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/templates/zerver/help/import-from-mattermost.md b/templates/zerver/help/import-from-mattermost.md index 49f3b3d9e5..d47b1d7f9d 100644 --- a/templates/zerver/help/import-from-mattermost.md +++ b/templates/zerver/help/import-from-mattermost.md @@ -10,9 +10,9 @@ into an existing Zulip organization. ## Import from Mattermost -First, export your data. The following instructions assume you're -running Mattermost inside a Docker container. Replace `` and -`` with appropriate values accordingly. +First, export your data from Mattermost. The instructions below have +the commands for the various common ways to run Mattermost. Replace +`` and `` with appropriate values accordingly. {start_tabs} @@ -31,7 +31,7 @@ running Mattermost inside a Docker container. Replace `` and cd /opt/mattermost/bin ``` -3. Run the following commands to export the data from all teams on your server as a tar file. +3. Run the following commands to export the data: ``` sudo ./mattermost export bulk export.json --all-teams @@ -40,12 +40,13 @@ running Mattermost inside a Docker container. Replace `` and exported_emoji/ export.json ``` -4. Now exit out of the Mattermost server. +4. Exit your shell on the Mattermost server. `exit` -5. Finally copy the exported tar file from the server to your local computer. Make sure to - replace `/opt/mattermost/bin/` with the correct directory if it is different in your case. +5. Finally, copy the exported tar file from the server to your local + computer. You may need to replace `/opt/mattermost/bin/` with the + path to your Mattermost installation. ``` scp @:/opt/mattermost/bin/export.tar.gz . @@ -53,7 +54,7 @@ running Mattermost inside a Docker container. Replace `` and {tab|mm-docker} -1. SSH into your Mattermost server running the docker containers. +1. SSH into the server hosting your Mattermost docker container. ``` ssh @> @@ -77,12 +78,13 @@ running Mattermost inside a Docker container. Replace `` and exported_emoji/ export.json ``` -4. Now exit out of the Mattermost server. +4. Exit your shell on the Mattermost server. `exit` -5. Finally copy the exported tar file from the server to your local computer. Make sure to replace - `mattermost-docker` with the correct directory if it is different in your case. +5. Finally, copy the exported tar file from the server to your local + computer. You may need to replace `mattermost-docker` with the + appropriate path for your installation. ``` scp @:mattermost-docker/volumes/app/mattermost/data/export.tar.gz .