Migrate from Rocket.Chat to Mattermost

A planning guide to moving users, channels, messages and files from Rocket.Chat to a self-hosted Mattermost using the documented mongodump, mmetl and mmctl path, with trial runs before cutover.

On this page

Migrate from Rocket.Chat to Mattermost: what the move involves

A team running Rocket.Chat that wants a self-hosted Mattermost should know that the documented path exports the MongoDB database with mongodump, transforms it with mmetl, and imports the result with mmctl. Mattermost describes this migration as best effort, and it says manual adjustments are often required, so the work is a data project with testing, not a simple file copy. Rocket.Chat has no hosted export feature, which is why the source data is read directly from its database.

The move requires a running target Mattermost server on infrastructure you control, a restored copy of the Rocket.Chat MongoDB database that the migration tools can read, and a staging environment where the transform and import can run before production. The documented migration carries users, channels, messages, threads, direct messages, reactions and file attachments. Your team needs access to MongoDB, the ability to run the Mattermost admin tools, and someone who can check results in both systems. No effort figure or duration is supplied for this migration, so ask any provider for a written scope rather than a generic estimate.

Confirm three things about your own environment before scoping. First, the size of the MongoDB database and the attachment store, since both drive export time, transform time and storage on the target. Second, the number of users, channels and direct messages, because Mattermost recommends planning multiple trial runs in staging for larger deployments. Third, the integrations and bots connected to Rocket.Chat, because the documented path does not replace them, and each one needs a decision about rebuilding or retiring it on the Mattermost side. Also confirm which Rocket.Chat and MongoDB versions you run, and whether the Rocket.Chat server remains available for reference during cutover. Check the current Mattermost Rocket.Chat migration documentation before you build the plan, because the steps and tool versions may change.

What maps cleanly from Rocket.Chat and what needs manual work

This table compares the Rocket.Chat objects that Mattermost's documented path carries across with their Mattermost equivalents, and marks the items the documented path does not cover as points to confirm. Read the rows as a planning checklist: the documented path is best effort, and manual adjustments are often required after import.

Rocket.Chat itemMattermost equivalentMigration note
UsersUsers and accountsCarried by the documented path. Confirm how passwords, roles and authentication method are handled before cutover.
ChannelsPublic and private channelsCarried by the documented path. Check channel names, purposes and membership after import.
MessagesPosts in channelsCarried by the documented path. Spot-check message timestamps and formatting in a trial run.
ThreadsReply threadsCarried by the documented path. Verify that replies stay attached to their parent posts.
Direct messagesDirect and group messagesCarried by the documented path. Confirm group DM membership and history in the test workspace.
ReactionsPost reactionsCarried by the documented path. Confirm that emoji reactions display correctly for users.
File attachmentsFile attachmentsCarried by the documented path. Confirm that files are reachable in the configured Mattermost file store.
Integrations, apps and botsIntegrations and plugins, configured againTo confirm. Not covered by the supplied migration facts. Plan to rebuild and retest each one.
OmnichannelNo direct equivalent confirmedTo confirm. Not covered by the supplied migration facts. Decide the replacement before cutover.
Custom roles, settings and custom emojiManual configuration in the System ConsoleTo confirm. Not covered by the supplied migration facts. Document and recreate them by hand.

Documented tools for the Rocket.Chat export and import

The documented Rocket.Chat path uses four tools in sequence, each producing the input for the next. Because Rocket.Chat has no hosted export feature, the MongoDB database itself is the source, so every step below starts from a dump of that database rather than from a Rocket.Chat export file.

Dump the MongoDB database

The first step is mongodump run against the MongoDB replica set that backs your Rocket.Chat instance. The dump is the only complete copy of users, rooms, messages, threads and uploaded file metadata, so the output must be stored separately from the production database. Confirm with your database team which user account, authentication source and network path the dump uses, and whether the dump runs against a secondary member to limit load on the primary.

Mattermost migration docs

Validate with a dry run

Run mmetl transform rocketchat --dry-run against the dump before any transformation output is written. The dry run is the cheapest place to find structural problems, such as missing collections or unexpected records, and it shows what will be mapped before anyone imports data. Record the output in your migration log so the trial runs in staging can be compared against it.

Review the bulk import file

The transform step writes a bulk import file in JSONL format, along with any attachments it needs. This file is the artifact your team reviews: user mappings, channel names, direct message participants and thread ordering all appear here in Mattermost terms. Plan a review of a sample of channels and users, since Mattermost describes the Rocket.Chat migration as best effort and says manual adjustments are often required.

Import with mmctl

The final step uploads and processes the bulk import file with mmctl against your target Mattermost server. Run it first in a staging environment built from the same version you will run in production, and keep the import logs for each run. Larger deployments should plan multiple trial runs before a production cutover, so budget for repeated dump, transform and import cycles.

Import procedure

How the migration runs from inventory to decommission

The sequence turns a best-effort, tool-driven move into a repeatable process, with each phase producing evidence that the next phase depends on. It ends with Rocket.Chat retired only after the team has confirmed the data and the users have moved.

  1. Inventory users, channels, integrations and storage

    Your team lists what Rocket.Chat holds: active and deactivated users, public and private channels, direct and group messages, threads, reactions, file attachments, and every integration, webhook, bot and app that posts or reads data. The owner of each integration decides whether it is rebuilt on Mattermost, retired or left behind, because Mattermost documents that migration brings across users, channels, messages, threads, direct messages, reactions and file attachments. The step is done when you have a written list with an owner for each item and a record of the MongoDB database size and file storage location.

  2. Build the Mattermost target on a supported version

    Install a self-hosted Mattermost server on a server version that is still within its support window, with PostgreSQL as the database and file storage configured for your environment. Confirm the release you choose against the Mattermost server releases page before you start, since support end dates differ between monthly releases and Extended Support Releases. Your team configures authentication, teams and the System Console settings that the imported users will depend on. The step is done when a test user can sign in, post and upload a file on the target server.

  3. Dump MongoDB and validate with a dry run

    Because Rocket.Chat has no hosted export feature, the database administrator takes a mongodump of the Rocket.Chat MongoDB database, ideally from a consistent point in time agreed with the business owners. The team then runs mmetl transform rocketchat --dry-run against the dump to surface data problems before any transformation is written. Keep the dump and the dry-run output with the inventory so every later run can be compared with this one. The step is done when the dry run completes and the team has reviewed every warning it reports.

  4. Transform and import in staging

    Run the transformation to produce the bulk import file and its attachments, then load them into a staging Mattermost with mmctl. Check imported users, channel membership, thread structure, reactions and file links against the inventory, and record each discrepancy with its cause. Expect manual adjustments, because Mattermost describes the migration as best effort. Repeat the dump, transform and import cycle until the output matches what your business owners accept. The number of trial runs depends on deployment size, so larger deployments with more channels, files and integrations need more cycles. The step is done when a final staging run has a signed-off list of known differences.

  5. Run a parallel period with clear ownership

    Before cutover, announce the target and agree which system is the record for each team. Some teams may keep working in Rocket.Chat while pilot groups use Mattermost, and the owners of each channel and integration are named in the inventory so questions have a clear destination. Your team monitors sign-in, notifications and integration behavior on Mattermost and fixes issues found during this period. The step is done when pilot users have used the target for normal work and the open issues list has an owner and a status for each item.

  6. Cut over with a final delta import

    At the agreed cutover window, stop writes to Rocket.Chat, take a final mongodump, and transform and import only the data created since the previous dump, following the same validated procedure used in staging. Check the delta against the Rocket.Chat source, switch users and integrations to Mattermost, and confirm that the parallel period has ended for every team. The step is done when the final import is reconciled, the owners have signed off and users can reach Mattermost without Rocket.Chat.

  7. Decommission Rocket.Chat after retention

    Keep the Rocket.Chat server, its MongoDB database and the final dumps in read-only retention for a period set by your legal, records and security requirements, and confirm that backups and retention policies cover them. Remove the Rocket.Chat integrations, DNS entries, mobile and desktop client references and access paths when the period ends, then delete data according to your policy. Rocket.Chat versions that are past end of life receive no security fixes, so the retention period should not depend on an unsupported server staying in production. The step is done when the retention record shows the approved end date, the data disposal is documented and the server is removed.

How data flows from MongoDB to Mattermost

The export starts at the Rocket.Chat MongoDB replica set, where mongodump writes a copy of the database to a working directory. The dump then passes through mmetl transform rocketchat with --dry-run as a gate: problems found there are fixed at the source or in the mapping before any bulk import file is written. The transform produces a bulk import file and attachments, which mmctl loads into a PostgreSQL-backed staging Mattermost. Results from staging feed back into the transform, and the loop repeats until the team accepts the outcome, since Mattermost describes this migration as best effort.

Data path from the Rocket.Chat database to a staging Mattermost, with the validation gate and trial loop.

What drives the cost and duration of the migration

This table lists the factors that change how much work a Rocket.Chat to Mattermost migration takes and what you pay for it. Read each row for who carries the effort, whether the cost is one-time or recurring, and what to ask a partner to put in the written quote. The main takeaway is that history volume, custom integrations and the number of staging trial runs usually matter more than user count alone.

DriverWhy it changes cost or effortOne-time or recurring, and what to ask for in a quote
Users and message history volumeThe MongoDB dump size, the number of channels, direct messages and threads all increase transform and import run time and the amount of validation needed.One-time. Ask for the quote to state the assumed dump size, user count and whether history is in scope from the start.
File attachment volume and storage locationAttachments are exported separately and must be reachable during import, so large or inaccessible file stores add copy and verification steps.One-time. Ask where files are stored today, how they will be copied to the target file store, and who verifies a sample after import.
Custom integrations, bots and webhooksRocket.Chat integrations do not carry over automatically, so each one must be inventoried, rebuilt for Mattermost and tested against the new server.One-time for the rebuild, recurring if bots need maintenance. Ask for a per-integration list with the owner named for each.
Identity and SSO re-pointingUsers must sign in to Mattermost through the chosen identity provider, so mappings from Rocket.Chat accounts to identities need planning and testing.One-time for setup, recurring for account changes. Ask whether the quote covers SSO configuration, test accounts and user mapping review.
Number of staging trial runsMattermost advises larger deployments to plan multiple trial runs in staging, and each run repeats dump, transform, import and manual fixes.One-time, but it repeats per run. Ask how many trial runs are priced, what each run must prove and what happens if a run fails.
Target Mattermost plan and deploymentChoosing a plan with SSO, high availability or air-gapped deployment, and whether the target is a single server or a clustered deployment, adds infrastructure and configuration work.One-time for build, recurring for subscription and infrastructure. Ask which plan is assumed and which deployment design the quote covers.
State of the source Rocket.Chat versionOlder Rocket.Chat releases past end of life may hold data in a shape that needs more transform work, and an unsupported source limits what can be tested before cutover.One-time. Ask which Rocket.Chat version is running, its support status and whether a supported upgrade on the source is in scope.

What usually goes wrong in a Rocket.Chat to Mattermost move

Most problems in this move come from expecting more precision than the documented path provides. The cards below cover the risks that recur across Rocket.Chat migrations, and each one names the check that prevents it before cutover.

Treating the migration as exact

Mattermost describes the Rocket.Chat migration as best effort and says manual adjustments are often required. Teams that plan for a clean, one-pass import usually find mismatched message types, altered formatting or missing metadata after go-live. Before scheduling cutover, list the data types that matter most to your users, then compare them message by message in staging. Budget time for manual fixes, and ask your partner or Mattermost to confirm what the importer does not carry.

Migrate from Rocket.Chat docs

Skipping trial runs in staging

Mattermost advises larger deployments to plan multiple trial runs in staging. A single test import hides problems with large collections, unusual characters, and transformation errors that appear only at full volume. Run mmetl transform rocketchat --dry-run first, then complete full imports against a restored copy of the MongoDB dump. Record the time each run takes and the errors it produces, so the production window is based on evidence rather than estimates.

Losing file attachments outside the database

A MongoDB dump captures message records and file metadata, but the file contents may sit in a separate store on the Rocket.Chat side. If attachments are not copied and referenced correctly, messages import with broken links and users lose the files they shared. Confirm where your Rocket.Chat files are stored, copy them alongside the dump, and sample-check downloads in the imported Mattermost instance before users are invited back.

Unmapped users and identity mismatches

Imported messages must be attributed to accounts that exist in Mattermost. Users whose email addresses, usernames or authentication methods differ between the two systems can end up as orphaned authors, duplicate accounts or people who cannot sign in. Build a user mapping table from the Rocket.Chat export, decide how each identity provider will be configured in Mattermost, and confirm sign-in for a pilot group before the full import.

Integrations that do not carry over

Bots, webhooks, slash commands and app connections are configured in Rocket.Chat and do not move with the message history. Services that post into channels will stop working until they are re-created and re-pointed at Mattermost. Inventory every integration before cutover, record its owner and purpose, and plan a rebuild and test for each one that matters to daily operations.

Unsupported Rocket.Chat versions during the work

Rocket.Chat says that after end of life a version receives no security or bug fixes, and unsupported versions may lose the ability to connect with official mobile and desktop clients. Running the migration on an out-of-support source can therefore turn a routine export into a troubleshooting exercise. Check your version against the Rocket.Chat support lifecycle before starting, and plan an upgrade on the source system if it has fallen out of support.

Rocket.Chat version durability

Choosing the target Mattermost plan and version before the import

Before you dump anything from Rocket.Chat, decide which Mattermost edition and server version you will import into, because the plan determines which features exist on the target and the version determines how long you will receive fixes. Mattermost publishes its server binaries under the MIT license and sells Professional, Enterprise and Enterprise Advanced plans as prepaid annual subscriptions priced by seat licenses, with no public prices on its pricing page. SSO (SAML, OIDC, OAuth) and AD/LDAP user sync start at the Professional plan, so if your Rocket.Chat deployment relies on directory sync or single sign-on, confirm that those users can sign in to the target before the cutover. High availability clustering and FIPS 140-3 compliance require Enterprise, and air-gapped deployment requires Enterprise Advanced. Ask the Mattermost sales team for a written quote that names each plan feature you need, and treat the quote as the source of truth for recurring license cost.

Mattermost releases a new server version in binary form on the 16th of each month, so a monthly release may fall outside your change window by the time you are ready. For a migration that will run for years, the Extended Support Release is usually the safer target. Mattermost v11.7 is an ESR released on 2026-05-15 with support ending 2027-05-15, while v11.11 is a monthly release supported until 2026-12-15 and v12.0 until 2027-01-15. Check the Mattermost server releases page for the current status before you pick a version, because support windows and newer ESRs change over time. If you plan a high availability cluster, confirm that the shared file storage on Amazon S3, an S3-compatible service or NAS is in place on every node before the target is built, since local storage is not supported for clusters. Record the chosen version and plan in the migration plan so the trial runs in staging use the same build as production.

Questions buyers ask before moving from Rocket.Chat to Mattermost

How much does a Rocket.Chat to Mattermost migration cost?

The cost follows from the written scope, and DeployOpen does not publish a price list. The main drivers are the number of users, channels and messages, the volume of file attachments, the number of trial runs in staging, and whether the target needs high availability, which Mattermost limits to the Enterprise and Enterprise Advanced plans. Some costs are one-time, such as conversion, import and cutover work. Others recur, such as your Mattermost subscription and the infrastructure you run. Mattermost sells prepaid annual subscriptions by seat license and lists no public prices, so ask for your seat count and plan before requesting a quote. Ask that the quote separate migration work, trial runs and post-cutover support so you can compare it with the cost of doing the work in-house.

How long does a Rocket.Chat to Mattermost migration take?

The duration depends on data volume, the number of trial runs and how much manual cleanup the data needs, so confirm it against your own environment before committing. Mattermost describes the Rocket.Chat migration as best effort and says manual adjustments are often required. For larger deployments, Mattermost advises planning multiple trial runs in staging. Each run exposes different problems, such as users that do not map cleanly, channels with unexpected membership, attachments that fail to load or message content that needs adjustment. Each run also rehearses the cutover window, so the production run repeats a tested procedure. Ask the scope to state the number of trial runs, the staging environment and the acceptance checks each run must pass before production.

What does the migration need from our own team?

Plan for access and decisions from several people before work starts. The migration reads the Rocket.Chat MongoDB database, so you need someone who can run a dump against it and provide a copy. Rocket.Chat 8.x requires MongoDB 8.0 or later running as a replica set, so confirm your database version and topology first. You also need a staging Mattermost server, an administrator for the target and a named owner who approves how users, channels and file attachments map across. Someone must decide how users will sign in on the target, because identity setup is separate from the data move. Finally, agree a cutover window with the people who depend on the chat. Ask the engagement to list each access request, decision and environment it expects from your side, along with the date each is needed.

Can our internal team run the migration without an outside partner?

Yes, if your team has database, Linux and Mattermost administration skills to run the documented steps and judge the results. The path is documented: dump the Rocket.Chat MongoDB database with mongodump, validate it, convert it with mmetl and import it with mmctl. The documentation does not remove the judgment work. Because the migration is best effort and manual adjustments are often required, someone must review dry-run output, decide how exceptions are handled and sign off each trial run. Larger deployments with several trial runs multiply that effort, and teams often underestimate it. DeployOpen engagements are fixed-scope, so a written scope can cover one trial run, several or the full cutover. Decide based on who will own the result after go-live and how many people can take on that work during the cutover period.

Does everything move from Rocket.Chat to Mattermost?

No, not everything, so the scope should state what is in and what is out. The documented path brings users, channels, messages, threads, direct messages, reactions and file attachments into a self-hosted Mattermost. Anything outside that list needs confirmation before you commit. Check custom integrations, bots, apps and Rocket.Chat-specific features against the Mattermost documentation, and plan a replacement or manual rebuild where no equivalent exists. Your Mattermost plan also limits some capabilities, such as high availability, which requires Enterprise or Enterprise Advanced. Because the migration is best effort, verify a sample of channels, direct messages and attachments in staging before production, and agree in writing which gaps you accept.

What happens to Rocket.Chat during the parallel run?

Rocket.Chat keeps running as the live system until you decide on cutover, so keep it supported and patched throughout. The dump step reads a copy of the database, and you should confirm with your MongoDB setup how the source is affected during the dump. Rocket.Chat standard releases are supported for 6 months and LTS releases for 12 months. After end of life, a version gets no security or bug fixes, and cloud services such as the push notification gateway, Marketplace and Omnichannel integrations stop working. Rocket.Chat also says unsupported versions may lose the ability to connect with its official mobile and desktop clients. Schedule any source upgrades before the parallel run, and define a freeze point after which new messages go only to Mattermost so users know where to post during cutover.

How is the Rocket.Chat database checked before import?

The data is dumped, validated with a dry run, converted into a bulk import file and then imported with mmctl, so errors appear before users see any data. Start with mongodump against a copy of the Rocket.Chat database. Next, run the mmetl conversion step with its dry-run option to validate the dump without writing the import file. Fix what the dry run reports, then generate the bulk import JSONL and attachments. Import into staging with mmctl, and compare user counts, channel membership, message counts and sample attachments against the source. Keep the logs and output from each run so the production run repeats the same tested steps. Confirm exact flags and versions on the Mattermost migration page for your release, since command details can change between releases.

Does licensing block a move from Rocket.Chat to Mattermost?

Licensing rarely blocks the move, but each product's license terms must be checked against how you plan to use and modify the software. Rocket.Chat code is MIT licensed except the apps/meteor/ee and ee directories, which fall under a separate Rocket.Chat enterprise license. Mattermost licenses its compiled binaries under the MIT license, source code for custom builds under AGPL v3.0 with a commercial alternative from Mattermost, Inc., and admin tools and configuration files under Apache 2.0. If you plan custom builds or modifications, the AGPL terms and any enterprise features matter most. Confirm which license applies to the edition you will run with your legal team and with Mattermost before you sign a scope.

How DeployOpen scopes and delivers the migration

DeployOpen plans, implements, tests and documents Rocket.Chat to Mattermost migrations inside your own infrastructure. Because Mattermost treats this path as best effort with manual adjustments, the work centers on a written scope, repeated trial runs in staging and a clear record of what moved and what needs manual follow-up.

How we scope

  • Inventory the Rocket.Chat version, MongoDB replica set and data types to be carried across.
  • Agree in writing which users, channels, direct messages, threads, reactions and file attachments are in the migration.
  • Record what is out of scope, such as data types the documented path does not carry, so manual work is visible before build starts.

How we build

  • Set up a staging Mattermost server with PostgreSQL and file storage matching the target environment.
  • Dump the MongoDB database, validate it with the mmetl dry run, then transform it into a bulk import file.
  • Import with mmctl, repeat the trial runs in staging and log every error, warning and manual fix needed for each run.

How we hand over

  • Deliver the migration runbook with exact steps, commands, cutover order and rollback points used in staging.
  • Provide a reconciliation report comparing user, channel and message counts and listing known gaps and manual adjustments.
  • Walk your administrators through the imported workspace, authentication settings and post-migration checks before sign-off.

How we support

  • Offer ongoing support, upgrades and continuous testing for the Mattermost server as a retainer after cutover.
  • Plan Mattermost server upgrades against the monthly release schedule and the Extended Support Release timeline.
  • Confirm with your team which support window, response expectations and retainer terms apply before work starts.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.