2021-07-24 23:39:05 +02:00
|
|
|
# Import from Rocket.Chat
|
|
|
|
|
2022-11-27 01:41:40 +01:00
|
|
|
You can import your current workspace into a Zulip organization. It's a great
|
|
|
|
way to preserve your workspace history when you migrate to Zulip, and to make
|
|
|
|
the transition easy for the members of your organization.
|
2021-07-24 23:39:05 +02:00
|
|
|
|
2022-11-27 01:41:40 +01:00
|
|
|
The import will include your organization's:
|
2021-07-24 23:39:05 +02:00
|
|
|
|
2022-11-27 01:41:40 +01:00
|
|
|
* **Name**
|
|
|
|
* **Message history**, including attachments and emoji reactions
|
|
|
|
* **Users**, including names, emails, roles, and teams
|
|
|
|
* **Channels**, including discussions and all user subscriptions
|
|
|
|
* **Custom emoji**
|
2021-07-24 23:39:05 +02:00
|
|
|
|
2022-11-27 01:41:40 +01:00
|
|
|
## Import process overview
|
|
|
|
|
|
|
|
To import your Rocket.Chat organization into Zulip, you will need to take the
|
|
|
|
following steps, which are described in more detail below:
|
|
|
|
|
|
|
|
{start_tabs}
|
|
|
|
|
|
|
|
1. [Export your Rocket.Chat data](#export-your-rocketchat-data).
|
|
|
|
|
|
|
|
1. [Import your Rocket.Chat data into Zulip](#import-your-data-into-zulip).
|
|
|
|
|
|
|
|
1. [Get your organization started with Zulip](#get-your-organization-started-with-zulip)!
|
|
|
|
|
|
|
|
{end_tabs}
|
|
|
|
|
|
|
|
## Import your organization from Rocket.Chat into Zulip
|
|
|
|
|
|
|
|
### Export your Rocket.Chat data
|
|
|
|
|
|
|
|
Rocket.Chat does not provide an official data export feature, so the Zulip
|
|
|
|
import tool works by importing data from a Rocket.Chat database dump.
|
2021-07-24 23:39:05 +02:00
|
|
|
|
|
|
|
If you're self-hosting your Rocket.Chat instance, you can create a
|
2024-08-14 16:13:43 +02:00
|
|
|
database dump using the `mongodump` utility. Make sure your Rocket.Chat
|
|
|
|
server is **NOT** shut down while creating database dump using `mongodump`.
|
2021-07-24 23:39:05 +02:00
|
|
|
|
|
|
|
If your organization is hosted on Rocket.Chat Cloud or another hosting
|
|
|
|
provider that doesn't provide you with database access, you will need
|
2022-11-27 01:41:40 +01:00
|
|
|
to request a database dump by contacting their
|
|
|
|
[support](https://docs.rocket.chat/resources/frequently-asked-questions/cloud-faqs#data-export).
|
2021-07-24 23:39:05 +02:00
|
|
|
|
|
|
|
In either case, you should end up with a directory containing many
|
|
|
|
`.bson` files.
|
|
|
|
|
2022-11-27 01:41:40 +01:00
|
|
|
### Import your data into Zulip
|
|
|
|
|
|
|
|
{!import-your-data-into-zulip.md!}
|
|
|
|
|
|
|
|
At this point, you should go to the directory containing all the `.bson` files
|
|
|
|
from your database dump and rename it to `rocketchat_data`. This directory will
|
|
|
|
be your **exported data** file in the instructions below.
|
|
|
|
|
|
|
|
{start_tabs}
|
|
|
|
|
|
|
|
{tab|zulip-cloud}
|
|
|
|
|
|
|
|
{!import-into-a-zulip-cloud-organization.md!}
|
|
|
|
|
|
|
|
{!import-zulip-cloud-organization-warning.md!}
|
|
|
|
|
|
|
|
{tab|self-hosting}
|
|
|
|
|
|
|
|
{!import-into-a-self-hosted-zulip-server.md!}
|
|
|
|
|
|
|
|
1. To import into an organization hosted on the root domain
|
|
|
|
(`EXTERNAL_HOST`) of the Zulip installation, run the following
|
|
|
|
commands.
|
|
|
|
|
2023-03-18 07:32:22 +01:00
|
|
|
{!import-self-hosted-server-tips.md!}
|
2022-11-27 01:41:40 +01:00
|
|
|
|
|
|
|
```
|
|
|
|
cd /home/zulip/deployments/current
|
|
|
|
./scripts/stop-server
|
|
|
|
./manage.py convert_rocketchat_data /tmp/rocketchat_data --output /tmp/converted_rocketchat_data
|
|
|
|
./manage.py import '' /tmp/converted_rocketchat_data
|
|
|
|
./scripts/start-server
|
|
|
|
```
|
|
|
|
|
|
|
|
Alternatively, to import into a custom subdomain, run:
|
|
|
|
|
|
|
|
```
|
|
|
|
cd /home/zulip/deployments/current
|
|
|
|
./scripts/stop-server
|
|
|
|
./manage.py convert_rocketchat_data /tmp/rocketchat_data --output /tmp/converted_rocketchat_data
|
|
|
|
./manage.py import <subdomain> /tmp/converted_rocketchat_data
|
|
|
|
./scripts/start-server
|
|
|
|
```
|
|
|
|
|
|
|
|
1. Follow [step 4](https://zulip.readthedocs.io/en/stable/production/install.html#step-4-configure-and-use)
|
|
|
|
of the guide for [installing a new Zulip
|
|
|
|
server](https://zulip.readthedocs.io/en/stable/production/install.html).
|
|
|
|
|
|
|
|
{end_tabs}
|
|
|
|
|
|
|
|
#### Import details
|
|
|
|
|
|
|
|
Whether you are using Zulip Cloud or self-hosting Zulip, here are a few notes to
|
|
|
|
keep in mind about the import process:
|
|
|
|
|
|
|
|
- Rocket.Chat does not export workspace settings, so you will need to [configure
|
|
|
|
the settings for your Zulip organization](/help/customize-organization-settings).
|
|
|
|
This includes settings like [email
|
2023-02-07 06:29:11 +01:00
|
|
|
visibility](/help/configure-email-visibility),
|
2023-02-09 05:17:34 +01:00
|
|
|
[message editing permissions](/help/restrict-message-editing-and-deletion),
|
2022-11-27 01:41:40 +01:00
|
|
|
and [how users can join your organization](/help/restrict-account-creation).
|
|
|
|
|
|
|
|
- Rocket.Chat does not export user settings, so users in your organization may
|
|
|
|
want to [customize their account settings](/help/getting-started-with-zulip).
|
|
|
|
|
|
|
|
- Rocket.Chat user roles are mapped to Zulip's [user
|
|
|
|
roles](/help/roles-and-permissions) in the following way:
|
|
|
|
|
|
|
|
| Rocket.Chat role | Zulip role |
|
|
|
|
|------------------|------------|
|
|
|
|
| Admin | Owner |
|
|
|
|
| User | Member |
|
|
|
|
| Guest | Guest |
|
|
|
|
|
|
|
|
- User avatars are not imported.
|
|
|
|
|
|
|
|
- Default channels for new users are not imported.
|
|
|
|
|
|
|
|
- Starred messages are not imported.
|
|
|
|
|
|
|
|
- Messages longer than Zulip's limit of 10,000 characters are not
|
|
|
|
imported.
|
|
|
|
|
2024-08-01 14:32:22 +02:00
|
|
|
- Livechat channels/messages are not imported.
|
|
|
|
|
2022-11-27 01:41:40 +01:00
|
|
|
- Messages from Rocket.Chat Discussions are imported as topics
|
2024-05-06 09:20:58 +02:00
|
|
|
inside the Zulip channel corresponding to the parent channel of the
|
2022-11-27 01:41:40 +01:00
|
|
|
Rocket.Chat Discussion.
|
|
|
|
|
|
|
|
- Messages from Rocket.Chat Discussions having direct channels
|
2023-02-10 08:04:36 +01:00
|
|
|
(i.e. direct messages) as their parent are imported as normal
|
|
|
|
direct messages in Zulip.
|
2022-11-27 01:41:40 +01:00
|
|
|
|
|
|
|
- While Rocket.Chat Threads are in general imported as separate
|
|
|
|
topics, Rocket.Chat Threads within Rocket.Chat Discussions are
|
|
|
|
imported as normal messages within the topic containing that
|
|
|
|
Discussion, and Threads in Direct Messages are imported as normal
|
2023-02-10 08:04:36 +01:00
|
|
|
Zulip direct messages.
|
2021-08-14 12:30:57 +02:00
|
|
|
|
|
|
|
Additionally, because Rocket.Chat does not provide a documented or
|
|
|
|
stable data export API, the import tool may require small changes from
|
|
|
|
time to time to account for changes in the Rocket.Chat database
|
|
|
|
format. Please [contact us](/help/contact-support) if you encounter
|
|
|
|
any problems using this tool.
|
2021-07-24 23:39:05 +02:00
|
|
|
|
2022-11-27 01:41:40 +01:00
|
|
|
## Get your organization started with Zulip
|
|
|
|
|
|
|
|
{!import-get-your-organization-started.md!}
|
|
|
|
|
|
|
|
## Decide how users will log in
|
|
|
|
|
|
|
|
{!import-how-users-will-log-in.md!}
|
|
|
|
|
|
|
|
## Related articles
|
|
|
|
|
|
|
|
* [Choosing between Zulip Cloud and self-hosting](/help/zulip-cloud-or-self-hosting)
|
|
|
|
* [Setting up your organization](/help/getting-your-organization-started-with-zulip)
|
|
|
|
* [Getting started with Zulip](/help/getting-started-with-zulip)
|