mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
docs: Add docs for exporting from gitlab omnibus mattermost.
This commit is contained in:
@@ -88,6 +88,32 @@ running Mattermost inside a Docker container. Replace `<username>` and
|
|||||||
scp <username>@<server_ip>:mattermost-docker/volumes/app/mattermost/data/export.tar.gz .
|
scp <username>@<server_ip>:mattermost-docker/volumes/app/mattermost/data/export.tar.gz .
|
||||||
```
|
```
|
||||||
|
|
||||||
|
{tab|mm-gitlab-omnibus}
|
||||||
|
|
||||||
|
1. SSH into your GitLab Omnibus server.
|
||||||
|
|
||||||
|
2. Run the following commands to export the data from all teams on your server as a tar file.
|
||||||
|
|
||||||
|
```
|
||||||
|
cd /opt/gitlab/embedded/service/mattermost
|
||||||
|
sudo -u \
|
||||||
|
mattermost /opt/gitlab/embedded/bin/mattermost \
|
||||||
|
--config=/var/opt/gitlab/mattermost/config.json \
|
||||||
|
export bulk export.json --all-teams
|
||||||
|
mkdir -p exported_emoji
|
||||||
|
tar --transform 's|^|mattermost/|' -czf export.tar.gz \
|
||||||
|
exported_emoji/ export.json
|
||||||
|
```
|
||||||
|
|
||||||
|
3. Now exit out of the server.
|
||||||
|
|
||||||
|
`exit`
|
||||||
|
|
||||||
|
4. Finally copy the exported tar file from GitLab Omnibus to your local computer.
|
||||||
|
|
||||||
|
```
|
||||||
|
scp <username>@<server_ip>:/opt/gitlab/embedded/bin/mattermost/export.tar.gz .
|
||||||
|
```
|
||||||
{end_tabs}
|
{end_tabs}
|
||||||
|
|
||||||
### Import into zulipchat.com
|
### Import into zulipchat.com
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ TAB_DISPLAY_NAMES = {
|
|||||||
|
|
||||||
'mm-default': 'Default installation',
|
'mm-default': 'Default installation',
|
||||||
'mm-docker': 'Docker installation',
|
'mm-docker': 'Docker installation',
|
||||||
|
'mm-gitlab-omnibus': 'Gitlab Omnibus',
|
||||||
|
|
||||||
'send-email-invitations': 'Send email invitations',
|
'send-email-invitations': 'Send email invitations',
|
||||||
'share-an-invite-link': 'Share an invite link',
|
'share-an-invite-link': 'Share an invite link',
|
||||||
|
|||||||
Reference in New Issue
Block a user