Mattermost migration from Slack and other platforms

Moving from Slack, Rocket.Chat or GitLab Omnibus to Mattermost is a bounded project with known gaps, mainly integrations. This page covers scope, cost drivers, risks and cutover planning.

On this page

Mattermost migration from Slack and other platforms: when it is worth outsourcing

Moving an existing team onto a self-hosted Mattermost server is a bounded project. An in-house platform team or an outside implementation partner can run it, and the scope is set by a few questions: how many workspaces and channels move, how much history and how many files must come across, and which identity provider users will sign in with afterward. The documented migration paths cover Slack, Rocket.Chat and GitLab Omnibus, and Mattermost also documents moving a database to PostgreSQL. Teams usually pull the work in-house when they have one source platform, a modest archive, and an engineer who has already run the mmctl command line tool. They bring in a partner when several sources must merge, when legal or residency rules dictate how the archive is handled, or when the migration has to land on a clustered deployment that the team has not operated before.

The Slack path shows where the effort sits. Mattermost documents it as an export from Slack, a transformation with the mmetl tool into a bulk import JSONL file plus attachments, and then an upload and processing step with mmctl. Each stage has its own failure modes: export completeness depends on the plan and permissions of the account that runs it, transformation has to map Slack users, channels and file references onto Mattermost accounts, and processing can reject records that do not match the expected format. Integrations do not come across, because the Slack export does not contain them. Every bot, webhook and app that posted into the old workspace has to be rebuilt or replaced on the Mattermost side, and that rebuild is often the largest unplanned task. Confirm the exact export options, plan requirements and the current mmetl release with the Mattermost Slack migration documentation before you size the work.

Ask any partner, or your own team, for a written inventory before quoting: source platforms and versions, channel and user counts, total file volume, the integrations that post or read data, and the retention and legal-hold obligations that apply to the archive. Those inputs decide whether a fixed-scope engagement is the right fit or whether the work can stay in-house with a short advisory review. A migration that is a single clean import into a single-node test server is a different job from a staged cutover of a production cluster, and the quote should say which one is being priced.

What a Mattermost migration project includes

A migration moves channels, messages, users, teams and files from the source platform into Mattermost, and each step produces something your team can review. The cards below follow the order of work, from export through validation and cutover, and note where Rocket.Chat, GitLab Omnibus or database moves may add their own steps.

Source export and inventory

The project starts with a complete export from the source platform and an inventory of what it contains: public and private channels, direct messages, threads, edited or deleted content, file attachments and user records. Slack documents its export as the input to the conversion step, and the export does not carry integrations. Ask the vendor or your own workspace administrator to confirm which data types the export includes for your plan and retention settings, and record anything that will not come across before the conversion begins.

Slack migration docs

Transformation with mmetl

The mmetl tool converts the source export into a bulk import JSONL file plus an attachments folder that Mattermost can process. This step is where channel names, user identifiers and team structure are rewritten to Mattermost's format, so mapping errors surface here. Keep the converter version, its configuration and the input export together so the same run can be repeated after a fix.

Upload and processing with mmctl

The JSONL file and attachments are uploaded to the Mattermost server and processed with mmctl, the command-line admin client. Processing runs against the target server, so the team should plan it in a test environment first, then repeat it on the production system during the agreed window. Record the command output and any rejected records, because those rejects are the main input to the validation report.

User, team and channel mapping

Source users must be matched to Mattermost accounts, and source workspaces must be matched to Mattermost teams and channel names. Decide in advance whether accounts are created from the import or come from SSO and directory sync, and who approves the mapping for shared, archived and bot accounts. Duplicate people, renamed channels and departed staff are the most common sources of mismatches, so the mapping should be signed off by the business owners of each team.

Integrations that do not transfer

Integrations are not included in the Slack export and cannot be migrated, so bots, slash commands, incoming and outgoing webhooks and app-based workflows must be rebuilt or replaced in Mattermost. Inventory these before cutover, assign an owner for each, and confirm which ones still matter. Rebuilding them is separate work with its own testing, and it is often the largest unplanned item in a migration.

Validation reports and cutover runbook

Validation compares record counts, channel membership, file counts and sample threads between source and target, then records every exception with a decision. The cutover runbook sets out the freeze window, the final incremental export, the sequence of steps, the rollback point and the people who sign off. Ask for both documents in writing as deliverables, and confirm whether Rocket.Chat, GitLab Omnibus or PostgreSQL database moves need their own runbook sections.

What drives migration effort and how to keep it down

This table lists the factors that most change the size of a Slack or Rocket.Chat move to Mattermost, why each one adds work, and the steps that reduce it. Read each row as a lever: the more history, integrations and compliance evidence in scope, the more the plan has to account for before cutover.

DriverWhy it changes effortHow to keep it down
Users and identity sourceEvery imported user needs a matching Mattermost account, and mismatched emails or usernames break message attribution and membership.Clean the user list before export, decide the identity source early, and confirm how accounts will be matched to SSO or AD/LDAP identities.
Message and history volumeLarge histories increase transformation time, upload size and validation work, and older data is rarely read after cutover.Set a history cutoff date, import only active periods, and agree with stakeholders which older content stays in the source archive.
File and attachment volumeAttachments are transformed and uploaded separately, so file count and total size drive processing time and storage needs.Remove duplicates and obsolete files, exclude large media that has a retention path elsewhere, and confirm storage capacity on the target.
Teams and channelsEach team, channel, membership list and privacy setting must be mapped, and archived or empty channels still need a decision.Archive dormant channels, merge overlapping ones, and agree a naming and privacy map before the first test import.
Integrations and botsSlack integrations are not included in the export and cannot be migrated, so each one must be rebuilt, replaced or retired.Inventory every integration, rank by business use, and rebuild only those still in use using webhooks, slash commands or plugins.
Custom data mappingsCustom fields, nonstandard message types and renamed entities need transformation rules that someone must write and test.Limit mappings to data that users need after cutover, and document each rule so the test run can confirm it.
Environments (staging and production)Each test import, validation pass and rollback rehearsal runs in a separate environment, which multiplies run time and coordination.Use a staging environment that matches production settings, and reuse the same transformation files for every run so results are comparable.
Compliance and evidence needsRecords retention, audit trails and proof of import completeness may require reports and sign-off that go beyond a successful load.Agree evidence requirements with compliance staff before scoping, and define which counts, checksums and sample reviews will be kept.
Source platform typeRocket.Chat and GitLab Omnibus paths differ from Slack in export format and data model, so the tooling and checks change.Confirm the documented path for the source platform and test it on a small sample before committing to a full plan.

Migration phases and what each produces

The sequence moves a team from an inventory of what exists in the source platform to a validated Mattermost workspace and a controlled cutover, with a written artifact at each phase so every decision can be reviewed before users are affected. Each phase closes with a deliverable that the next phase depends on.

  1. Inventory the source data and integrations

    Catalog the source workspace before any export: channels (public, private, archived, direct and group messages), user accounts and their roles, file attachments and their total size, retention rules, and every integration, bot, app and webhook in use. Name an owner for each channel group and each integration, since integrations will not transfer and each one needs a replacement decision. The output is an inventory document that lists what will migrate, what will be rebuilt, and what will be retired. The step is done when the business owners have signed off on that list.

  2. Prepare the target environment and identity

    Stand up the Mattermost server and PostgreSQL in the staging environment that matches the planned production topology, and connect the identity provider so that imported users can sign in through the intended method (SSO, AD/LDAP or local accounts). Create the team and channel structure that the mapping will target, and confirm the file storage backend is in place. The output is a working staging instance with a team and channel layout, and a short record of the identity settings that were tested. Confirm the server version and plan features against the current release information before building, since the release cadence affects the upgrade path after cutover.

  3. Export and transform a sample

    Export a representative sample from the source, such as one busy channel, one private channel, a direct message thread with attachments, and a set of users with mixed roles. Run the transformation with mmetl to produce the bulk import JSONL file and the attachments folder, then review the output by hand against the source. Check that user emails, display names, timestamps, threading and file references map as expected. The output is a mapping file and a sample import log that record every transformation warning. Fix mapping rules here, where re-runs are cheap, rather than during the full run.

  4. Run the full transformation and import into staging

    Transform the full source export with the corrected mapping, then upload and process the bulk import with mmctl against staging. Capture the complete import log, including skipped users, unmatched channels, failed attachments and any messages that could not be attributed. Confirm that the import finishes without unexplained errors and that the counts of users, channels, posts and files match the source inventory within the explained exceptions. The output is an import log and a reconciliation table that lists each exception and its disposition. Plan for more than one full run, because the first complete import usually reveals edge cases the sample did not contain.

  5. Validate against a written checklist

    Work through a validation checklist with business owners and admins, covering user sign-in through the chosen identity method, channel membership and permissions, message history and threading in sampled channels, file downloads and previews, search results, and the replacement status of each retired integration. Record each check with a pass or fail result, the tester, and the date. The output is a validation report that lists open defects with owners and a clear go or no-go recommendation. Do not proceed to cutover while any check that affects access to data remains open.

  6. Communicate with users and run the cutover

    Send users a timeline, a sign-in guide, and a list of what will and will not carry over, including integrations that must be rebuilt. Freeze writes in the source platform, run the final incremental transformation and import into production, repeat the critical validation checks, and then open access. The output is a cutover runbook that records each step, the person responsible, the rollback point, and the time of each action. Agree the rollback criteria in advance so the decision to revert is made on evidence rather than under pressure.

  7. Clean up after cutover

    After users are active on Mattermost, watch sign-in failures, support requests and notifications for an agreed period, then rebuild the priority integrations and remove imported temporary files, staging data and any credentials used for the import. Archive the source export, the import logs and the validation report under the organization's retention policy. The output is a closure record that lists the rebuilt integrations, the retired source workspace status, and the archived evidence. Close the migration only when the owners confirm the closure record is complete.

How data moves from the source platform into Mattermost

The path starts with an export from Slack, Rocket.Chat or GitLab Omnibus. The mmetl tool transforms that export into a bulk import JSONL file plus attachments, which the team reviews and maps to Mattermost teams, channels and users. mmctl then uploads and processes the import into a staging server, where validation of users, channels, messages and files happens before any production import. Integrations take a separate path: they are not in the Slack export and must be rebuilt in Mattermost rather than moved.

Data moves through transformation and staging before production, while integrations are rebuilt separately.

What does not transfer, and how teams handle the gap

Mattermost's documentation for the Slack migration path states that integrations are not included in the Slack export and cannot be migrated. Apps, bots and third-party connections that posted into Slack channels or read from them do not move with the message history. The migrated channels will contain the old messages, but nothing will keep posting into them until a replacement is configured. Treat each integration as a new deployment in Mattermost, with its own owner, credentials and test plan.

  • Inventory first: List every installed app and bot in the source workspace, along with the channels it posts to and the people who depend on its output.
  • Assign a decision owner: The application owner or business team should decide whether each integration is rebuilt, replaced with a Mattermost plugin, or retired.
  • Check Mattermost equivalents: Confirm whether an official or community plugin covers the same function in your Mattermost version before planning custom work.
  • Plan credential issuance: New tokens and service accounts must be created in Mattermost and stored in the systems that use them.
  • Test before cutover: Run each rebuilt integration in a staging workspace with migrated data.

Confirm the exact integration behavior for your source platform and Mattermost version against the Mattermost migration documentation before you finalize the inventory.

What usually goes wrong in a Mattermost migration

Most failed migrations fail on details that look minor during planning: integrations, user identities, attachments, timestamps, permissions and the cutover itself. Each card below names one risk, why it matters for a move from Slack or another platform, and the check that catches it before users see it. A sample import run against a non-production server is the common thread, because it exposes these problems while they are still cheap to fix.

Underestimating integration rebuilds

The Slack export does not carry integrations, and they cannot be migrated. Bots, slash commands, webhooks and app connections that posted alerts or ran approvals in Slack must be identified, inventoried and rebuilt or replaced in Mattermost. Ask each channel owner which integrations they depend on, and schedule rebuilds before cutover so alerts do not silently stop on the day users switch.

Slack migration docs

User mapping errors and duplicate accounts

The import matches users by their username and email, and a mismatch creates a second account for the same person. Duplicates split message history, notifications and channel membership across two identities. Build the user mapping file from your identity source, confirm email addresses match your directory, and check on a sample import that each migrated user resolves to exactly one account before the full run.

Attachments missing or mis-linked

File attachments are transformed into a separate set of files that must be uploaded and linked to the right posts. Paths with special characters, renamed files or incomplete exports can leave posts with broken references or no file at all. Pick several posts with attachments from the sample, open them in Mattermost, and confirm the file downloads and opens. Count attachments in the source and in the target for the sample channels.

Time zone and timestamp drift

Messages imported with the wrong time zone or timestamp format appear shifted, which breaks search by date, thread ordering and audit timelines. The problem is easy to miss because the messages still exist. On the sample, compare the time of several messages posted near a day boundary against the original Slack record, and confirm the server and import tooling use the time zone your teams expect.

Channel permission mismatches

Public, private and archived channels in the source do not always map to the same visibility, membership or admin roles in Mattermost. A private channel can become public, or a team admin can lose access to channels they must manage. Review the channel and team structure in the sample, verify who can see and post in each migrated channel, and compare that against the access list agreed with the channel owners.

Cutover without a rollback plan

Switching users to Mattermost without a tested way back leaves teams stranded if the import has defects discovered after go-live. Define the freeze point on the source, the final delta import, the validation steps that must pass, and the conditions and owner for a rollback decision. Rehearse the full sequence on the sample environment so the steps, timings and sign-offs are known before the production cutover.

How to validate a migrated workspace before cutover

Validation starts before the cutover date, and the test is a dry run of the full import in staging using the same mmetl output and mmctl commands you will run in production. Pick a set of sample channels with known message counts from the source export, including a large channel, a private channel, an archived channel and a channel with long threads. After import, compare message counts per channel and check that thread replies still sit under their parent posts. Spot check a sample of file attachments by opening them from Mattermost and confirming the file names and sizes match the source. Compare team and channel membership lists against the source, paying attention to users who were deactivated or left the company, and confirm that system administrators, team admins and channel admins were mapped to the correct roles. Record every discrepancy with its channel or user, because a repeatable list of failures tells you whether the import script or the source data needs fixing. Integrations, bots and slash commands will not appear in the workspace, so list them separately and confirm each has a replacement or an owner before cutover.

Cutover planning turns the dry run into a schedule. Announce a freeze window on the source workspace, during which posting is disabled or the workspace is set to read-only, and record the time the freeze starts. Plan for the final delta: messages and files posted between the last full export and the freeze need a second, smaller export and import, so decide in advance who runs it and how long it has to complete. Decide how users will reach the new workspace, either by changing the server URL in the clients or by redirecting a stable DNS name, and confirm the TLS certificate and reverse proxy are live before the switch. Tell users in advance which day they will sign in with their corporate identity, what happens to their old messages, and where to report missing content. Write down a rollback path before you start: the conditions that trigger it, who approves it, how the DNS or client redirect is reversed, and whether the source workspace can be reopened without losing messages posted in the new one. Confirm the exact steps and any import limits with the Mattermost migration documentation, and ask your implementation partner to rehearse the rollback in staging as well as the import.

Which migration tasks teams keep in-house and which they outsource

This table compares the main tasks in a Mattermost migration from Slack, Rocket.Chat or GitLab Omnibus, the skills each one needs, and where an outside partner usually adds value. Read each row as a question of who has the skills and capacity to own that task, since the answer depends on your team's experience and timeline. Cutover and validation are the tasks most often shared, so plan them early.

Migration taskSkills neededWhere a partner usually adds value
Deciding what to migrateData owners, records retention policy, team leads who know which channels matterFacilitating scope workshops and documenting what is archived versus imported
Export access on the source platformSource platform admin rights, understanding of export plans and data residency limitsConfirming what the export contains and what it omits before work starts
Transformation scripting with mmetlScripting, JSON handling, familiarity with the bulk import formatWriting and testing repeatable transformation runs against sample data
Import operations with mmctlLinux administration, command-line use, Mattermost server administrationRunning staged imports and troubleshooting failed batches
Identity and SSO setupIdentity provider administration, SAML or OIDC configuration, user mappingMapping users to accounts and aligning SSO before the first import
Rebuilding integrationsKnowledge of existing Slack apps, webhooks and bots, and developer time for replacementsInventorying integrations and planning replacements, since integrations do not transfer
Validation of migrated dataTest plans, sampling methods, business user review of channels and filesStructured reconciliation checks and a written pass or fail record
Cutover planning and supportChange management, communications, rollback planning, on-call coverageDrafting the cutover runbook and supporting the switch window

How the migration changes by source platform and environment

Slack is the most fully documented source. Mattermost describes a path in which you export from Slack, convert the export with the mmetl tool into a bulk import JSONL file plus attachments, then upload and process that file with mmctl. The export is the first constraint: the data you can move is the data Slack includes in its export, so plan around that boundary from the start.

  • Export scope: Confirm which channels, direct messages and files your Slack plan and export settings include before you promise users a complete history.
  • Integrations: Slack integrations are not in the export and cannot be migrated, so bots, slash commands and webhooks must be rebuilt in Mattermost.
  • Transformation: mmetl maps Slack users, channels and attachments into the import format, so user matching and channel naming need a review pass.
  • Processing: Import with mmctl is a separate stage from transformation, so test it on a copy of the target server before the production run.
  • Documented path: Slack is covered by the migration guide linked below, which is the next read for step-level detail.

Confirm the current mmetl and mmctl steps against your source and target server versions before you run anything.

What the client needs to provide before migration starts

The client has to supply the source access and the decisions that the import cannot make on its own. On the Slack side, that means an administrator who can run the workspace export, plus a written decision on scope: which teams, which public and private channels, how much history, and whether direct messages are in or out. Those choices shape the bulk import file, so they must be settled before anyone runs the transformation step. Each team also needs a named owner who confirms that their channels map to the right Mattermost teams and who signs off on the validation results afterward. Ask the source administrator to confirm, in writing, the export date and the export type they will provide, since that determines which attachments and history are included.

The target environment is the second input. The client should confirm the Mattermost server version and deployment method, the PostgreSQL instance that will hold imported data, and the file storage that will receive attachments. Attachments are copied with the import, so the storage must have enough free capacity for the full export and must be reachable from the machine running mmctl. Identity details are the third input: the identity provider used for SSO, how users will be matched by email address, and whether accounts must exist before the import so that posts are attributed correctly. Integrations do not transfer, so the client should also list the bots, webhooks and slash commands that teams rely on, because they will need to be rebuilt on the target.

Finally, the client must name one approver for cutover, with authority to freeze the source workspace, accept the validation report and approve the switch of users to Mattermost. Without that person, the import tends to stall at the point where discrepancies appear. Ask the approver to define what counts as an acceptable result before the first test import, such as which channels must match in member count and message count, so the decision is made against a standard rather than after the results are in.

Questions buyers ask about Mattermost migration cost, time and effort

What drives the cost of a Mattermost migration from Slack?

The cost follows the amount of history to move, the number of channels, users and files, and how much cleanup the data needs before import. Mattermost documents Slack migration as a four-part process: export from Slack, transform the export with the mmetl tool into a bulk import JSONL file plus attachments, then upload and process it with mmctl. Each step takes skilled hours, and the transform and validation steps usually take the most. Other cost drivers include the number of source platforms, custom mapping of users and teams, and whether integrations must be rebuilt. Ask any provider for a written scope that lists each of these items separately, plus the cost of the target server, PostgreSQL and file storage, which are paid to your cloud or hosting provider rather than to the migration team.

Can our in-house team run a Mattermost migration without a partner?

Yes, if you have engineers who can operate Linux, PostgreSQL and command-line tools, and who can test before cutover. The Mattermost documentation covers the Slack path end to end, so the core workflow is documented. The risk sits in the parts the documentation cannot decide for you: user and email mapping, channel structure, file handling and validation against your own retention and access rules. Teams that do this in-house usually need a test run on a copy of real data, a clear owner for each validation check and time set aside for rework. A partner makes sense when the team lacks that capacity or the migration must finish inside a fixed window.

What does our organization need to provide for a migration?

The work depends on access and decisions that only your organization can give. Typical inputs include: an export from the source platform made by an owner with admin rights, a list of users and how they map to your identity provider, a decision on which channels, direct messages and files to keep, and the target Mattermost server with PostgreSQL and file storage already provisioned. You also need a test environment that matches production, named reviewers for each business unit, and an approved cutover window. Confirm early which teams hold these permissions, because delays in access usually extend the schedule more than technical work does.

How long does a Mattermost migration take?

Duration depends on scope, and no reliable figure can be given without a written scope. The main variables are the total volume of messages and files, the number of teams and channels, how many users need mapping, how many test rounds are planned and how much cleanup the data needs. Ask for a timeline that breaks the work into export, transform, test import, validation, user acceptance and cutover, with an owner and a date for each stage. Also ask how the plan handles a failed test run, since the first import often reveals data issues that take additional rounds to resolve.

Can integrations and bots move from Slack to Mattermost?

No. Mattermost documents that integrations are not included in the Slack export and cannot be migrated. Slack apps, webhooks, slash commands and bots must be rebuilt or replaced on the Mattermost side, using Mattermost's own integration options. Make an inventory of every integration before planning the cutover, noting the owner, the data it reads and writes, and whether the business still needs it. Treat the rebuild as separate work with its own testing, because it often affects alerting, approvals and automation that teams depend on from day one.

What happens if a migration fails before cutover?

Before cutover, a failed migration affects only the test environment, so the source Slack workspace keeps running and no users have moved. The practical response is to find the cause, correct the transform or mapping, clear the target data and run the import again. The Mattermost import process is designed for repeated test runs, so plan for several rounds rather than one. Ask the provider how many rounds the quote includes, how each failure is logged and who signs off before a retry. Keep the source platform read-only only when cutover begins, not during testing, so that users can keep working until the final decision.

Does a migration to Mattermost require a paid license?

It depends on the features you need after migration, not on the migration itself. Mattermost sells Professional, Enterprise and Enterprise Advanced plans as prepaid annual subscriptions based on seat licenses, and its pricing page lists no public prices, so you must contact sales for figures. SSO and AD/LDAP sync start at the Professional plan, while high availability and FIPS 140-3 compliance require Enterprise, and air-gapped deployment requires Enterprise Advanced. Confirm which plan covers your identity, availability and compliance needs before you finalize the target design.

How DeployOpen scopes, delivers and hands over a Mattermost migration

DeployOpen plans and runs Mattermost migrations from Slack, Rocket.Chat and GitLab Omnibus inside the client's own infrastructure. Each engagement starts with a written scope that separates what moves from what must be rebuilt, then follows a documented build, validation and cutover sequence the client's team can review and keep.

How we scope

  • Inventory the source workspace: channels, direct messages, users, files, retention settings and admin roles.
  • List integrations, bots and slash commands that will not transfer and agree how each is rebuilt or retired.
  • Agree the written, fixed scope, deliverables and timeline with you before any migration work begins.

How we build

  • Export from the source, transform with mmetl into a bulk import file with attachments, then load with mmctl.
  • Run test imports against a non-production Mattermost server and record every error and skipped record.
  • Reconcile user mapping, team and channel structure, and file counts before any production load.

How we hand over

  • Deliver runbooks for the import, validation checks, cutover steps and rollback decisions in writing.
  • Document the mapping decisions, excluded data and integration rebuild list so your team can audit them.
  • Walk your administrators through the migrated workspace and the post-cutover checks before sign-off.

How we support

  • Provide hypercare after cutover for issues found in users' first weeks on the new platform.
  • Offer ongoing support, upgrades and continuous testing as a retainer after the migration closes.
  • Confirm with us during scoping which post-migration support level fits your compliance and change-control needs.

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.