Migrate from Rocket.Chat Cloud to a self-managed workspace: what the move involves
If you need to bring a Rocket.Chat Cloud workspace in house, the move is a MongoDB export restore, a file move to Amazon S3 and a re-registration of the workspace, run as a planned cutover rather than a live switch. The documented path is the baseline for that work: admins disable email two-factor authentication, request a MongoDB export from Rocket.Chat support, deploy a self-managed workspace on the same Rocket.Chat version and restore the export with mongorestore --drop --db rocketchat. Uploaded files and avatars then go to an S3 bucket, their paths are updated in the database with mongosh, and the instance is registered as a new workspace to clear the Unique ID change warning.
Effort depends less on the restore commands than on what surrounds them. Data volume drives the export size, the time to transfer it and the time to move every file. Integrations, such as identity providers, webhooks, Marketplace apps and any Omnichannel setup, each need to be reconfigured or retested on infrastructure you now run. Identity is a separate decision, because LDAP, SSO and MFA settings must match what your users already sign in with. Ask the support team for the export format and timing before you commit to a cutover date, and confirm which Cloud-only features your workspace uses so you can plan replacements.
Plan the client side early. Desktop and mobile users connect to the server you choose, so the number of people who must switch clients and the schedule for doing so shape the cutover window more than the database does. Confirm the exact Rocket.Chat version your Cloud workspace runs with the support team, then check that your self-managed build uses the same release line before restoring. Version durability matters after the move: Rocket.Chat states that unsupported versions can lose connectivity with its official clients, so the self-managed workspace needs an upgrade plan from its first day. Review the Rocket.Chat cloud to self-managed guide against your own environment before you agree a written scope and timeline with any partner.
Which Cloud capabilities carry over and which need rebuilding
This table compares each part of a Rocket.Chat Cloud workspace with what happens to it after a move to a self-managed workspace. Use it to separate data that comes across in the MongoDB export from services and settings you must rebuild or replace. The main takeaway is that the database export carries content, while Cloud-only services, plan entitlements and infrastructure are your responsibility from the start.
| Capability | Carries over in the database export | What you must rebuild or confirm |
|---|---|---|
| Messages and rooms | Yes, as stored in the rocketchat database restored with mongorestore | Confirm room membership, retention settings and channel permissions after restore on the same version |
| Users and roles | Yes, user records and role assignments are part of the export | Check login methods, since SSO and LDAP links depend on your new identity provider configuration |
| Uploaded files | Records carry over, but the binary files must be copied to object storage | Upload files to an Amazon S3 bucket and update file paths in the database with mongosh |
| Avatars | Avatar records carry over with the export | Move avatar files to the same S3 bucket and correct their paths as part of the file migration |
| Push notification gateway | No, it is a Cloud service | Plan how mobile clients receive notifications in your environment and confirm the option with Rocket.Chat before cutover |
| Marketplace apps and Omnichannel integrations | Configuration may appear in the data, but Cloud-hosted services are not included | Reinstall or reconfigure each app and integration, and confirm that it runs on your target plan and version |
| Plan-tier features | No, entitlements belong to the Cloud subscription | Check each feature such as SSO, MFA, LDAP group mapping and audit trails against the plan you choose, including Starter user limits |
| MongoDB, TLS and identity | No, these are your own infrastructure | Provide a MongoDB replica set running a supported version, TLS certificates for your domain and an identity setup that matches your users |
Which documented paths move the data
The Cloud path starts with a MongoDB export that you request from Rocket.Chat support. You do not pull the database yourself from the Cloud service, so the request should be raised early because the export is a dependency for every later step. Before you ask, confirm the Rocket.Chat version your Cloud workspace runs, since the self-managed instance must match it.
- Request early: Ask support for the MongoDB export and confirm the delivery format and the date it will be ready.
- Disable email 2FA first: The documented steps ask admins to disable email two-factor authentication before leaving Cloud, so plan that change for the cutover window.
- Record the version: Note the exact Rocket.Chat version of the Cloud workspace so the self-managed deployment can match it.
- Keep the export private: The export contains messages, user records and workspace settings, so store it in controlled storage with access limited to the migration team.
- Plan a fresh copy: Confirm with support whether a second export is needed if the cutover slips.
Check that the export arrives complete, that the version matches your target deployment, and that your team knows who at Rocket.Chat support owns the request.
The restore loads the exported MongoDB data into the self-managed instance. The documented command uses mongorestore --drop --db rocketchat, which replaces the contents of the target database, so it must run only against the new, empty workspace database. Running it against a database that holds data you need will destroy that data.
- Deploy the target first: Stand up the self-managed workspace on the same Rocket.Chat version before restoring, as the documented path requires.
- Confirm the database name: The restore targets the
rocketchatdatabase, so check the name in your target environment before running the command. - Understand
--drop: The flag drops existing collections in the target database before loading the export, which is why the target must be disposable at this point. - Match the MongoDB requirements: Rocket.Chat 8.x requires MongoDB 8.0 or later running as a replica set, so confirm your MongoDB tier meets this before the restore.
- Snapshot the target: Take a snapshot of the empty target so you can rebuild it if the restore goes wrong.
After the restore, confirm that users, channels and message counts look right in the admin console before moving to files.
The database holds references to uploaded files and avatars, but the binary files themselves do not live in MongoDB. The documented path uploads those files to an Amazon S3 bucket and then updates the stored file paths with mongosh, so the references point to the new storage location. Until this step finishes, users may see broken images and attachments even though messages and channels restored correctly.
- Set up the bucket first: Create the S3 bucket and credentials the instance will use, and confirm the instance can reach it from your network.
- Upload from the export: Copy the uploaded files and avatars from the export into the bucket, keeping the structure the update step expects.
- Update paths with mongosh: Run the documented path updates against the restored database, and test a small sample before running them across all records.
- Verify in the client: Open a sample of old files and avatars in the web client to confirm the paths resolve.
- Back up before changes: Take a database backup before editing records so a bad update can be reversed.
Confirm the exact update commands against the current documentation, and check that the bucket access policy matches your data handling rules.
Once the database is restored, the self-managed instance will report a Unique ID change warning because it no longer matches the Cloud workspace it was copied from. The documented resolution is to register the instance as a new workspace. This step matters because the registration status affects which cloud-dependent services the instance can use afterward.
- Expect the warning: The Unique ID change warning is normal after a restore from Cloud and is not a sign of corruption.
- Register as a new workspace: Follow the documented registration step to connect the instance as a new workspace rather than reusing the Cloud identity.
- Check the plan: Confirm which plan the new workspace is on, since some features and services depend on it.
- Review cloud-dependent services: Confirm push notifications, Marketplace and any Omnichannel integrations you use still work, because these depend on the cloud services available to your plan.
- Keep the old workspace: Do not shut down the Cloud workspace until the registration and client checks pass.
Before cutover, confirm the registration status and test client sign-in, since end users rely on the official mobile and desktop clients.
Rocket.Chat's data import tools are documented for other sources, such as Slack exports, Slack user CSV files and a generic CSV importer used for platforms like Mattermost. They do not replace the Cloud path. Using the CSV importer for a Cloud workspace would rebuild users and messages as imported records and would not carry over the full database state, files and workspace identity that the Cloud export holds.
- Different source, different path: The import tools accept Slack and CSV-format data, while the Cloud path uses a MongoDB export from support.
- Identity is not rebuilt: The Cloud path keeps the workspace data as it was, so do not treat it as a user-by-user re-import.
- Sibling guides apply to other sources: Mattermost and other chat platforms follow their own importer guides.
- Snap and Bitnami cases differ: Existing self-hosted installs that need a database or packaging change follow separate documented migrations.
- Confirm the scope: Ask Rocket.Chat support and your own team which path applies before any data moves.
The key check is that your migration team has named the Cloud export path as the only route for this source, and that no one runs an import tool against a restored database.
How the cutover runs from export to decommission
The sequence moves a Rocket.Chat Cloud workspace into infrastructure you control in an order that keeps the data consistent, the files reachable and the old workspace available until the new one is verified. Each step closes with a check that tells the team whether to move on.
Inventory users, apps and integrations
Before anyone touches the Cloud workspace, the admin team lists active users, admin and moderator accounts, installed Marketplace apps, outgoing and incoming webhooks, SSO and LDAP settings, and any external services that post into channels. Each item is marked as carried over, reconfigured or dropped. Confirm with Rocket.Chat support which Cloud-only services stop working on the self-managed side, since push notification gateway and Marketplace features depend on the Cloud service. The step is done when the list is reviewed by the people who own each integration.
Disable email two-factor authentication
An admin disables email-based two-factor authentication in the Cloud workspace before the export is requested, as the migration documentation requires. Users who rely on email codes are told in advance that their sign-in method will change. The step is complete when a test account confirms that sign-in no longer asks for an email code.
Request the MongoDB export from support
The admin opens a request with Rocket.Chat support to receive a MongoDB export of the Cloud workspace. Support delivers the data, so the team does not run a backup against the Cloud database itself. Record the date and the Rocket.Chat version reported for the Cloud workspace, because the target must match it. The step is done when the export file is received and its checksum or size is recorded for later comparison.
Deploy the target on the same version
The team deploys a self-managed workspace on the same Rocket.Chat version as the Cloud workspace, on MongoDB 8.0 or later running as a replica set, as the system requirements specify for 8.x. Rocket.Chat's version durability policy means a version that is out of support loses security fixes and client compatibility, so the target should be upgraded only after the data is restored and verified. The step is done when the empty workspace starts, reports the expected version and connects to its MongoDB replica set.
Restore the database with mongorestore
The team runs mongorestore with the --drop flag against the rocketchat database, so existing collections are replaced by the exported data. Restoring into an empty target or the wrong database name leaves the workspace without its history, so the database name is checked first. The step is done when the restore finishes without errors and mongosh shows the expected counts for users, rooms and messages.
Move files and avatars to S3 and update paths
Uploaded files and avatars from the export are uploaded to an Amazon S3 bucket that the new workspace can reach. The team then updates the stored file paths in the database with mongosh so that links resolve to the bucket. Test a sample of old messages with attachments and a few user avatars. The step is done when those samples load from the new storage without broken links.
Re-register the workspace and test clients
The restored database carries the Cloud workspace identity, so the Unique ID change warning appears. The admin resolves it by registering the instance as a new workspace. Then the team signs in with desktop, mobile and browser clients, checks SSO or LDAP sign-in, and sends messages, calls and notifications from test accounts. The step is done when every test case in the cutover checklist passes on the new workspace.
Run a parallel period and decommission Cloud
The Cloud workspace stays available in read mode for a period agreed by the business owners while users work in the self-managed workspace and any gaps are logged. Once the team confirms that data, integrations and access are complete, the Cloud workspace is shut down and access credentials are revoked. The step is done when the decommission record lists the final export date, the registration of the new workspace and the owner who signed off.
How the export, restore, file move and registration fit together
The diagram starts with the support-run MongoDB export from Rocket.Chat Cloud, which crosses into your infrastructure and is restored with mongorestore into a self-managed workspace on the same version. Uploads and avatars then go to your Amazon S3 bucket, where mongosh updates the file paths in the database. Registering the instance as a new workspace clears the Unique ID warning, and clients reconnect last. Check each hand-off before moving on, because the export is the only copy of the data Rocket.Chat Cloud holds for you.
Data and file hand-offs from Rocket.Chat Cloud into your infrastructure, ending with client reconnection.
What drives the effort and duration of the move
This table lists the factors that change how much work the move involves, from data volume to target architecture and client rollout. Use it to scope your own move and to ask a partner what each factor will cost in effort. No duration is given here, because the written scope sets the quote.
| Driver | Why it changes effort | How to keep it down or what to confirm |
|---|---|---|
| Database and file volume | Larger MongoDB exports take longer to transfer and restore with mongorestore, and more uploads add time to the S3 upload and path update steps. | Ask support for the export size and file count early, and check your own storage usage before requesting it. |
| Number of uploads and avatars | Each file or avatar must be uploaded to the S3 bucket and its path updated in the database with mongosh, so counts drive scripting and checking work. | Count files and avatars in the export and plan a sample check of links after the move. |
| Target architecture | A single instance with a MongoDB replica set is simpler than load-balanced instances or Kubernetes, which add components to configure and test. | Confirm the design against the reference architectures and the plan needed for multi-instance or microservice setups. |
| Plan requirements for the target | Multi-instance and microservice designs need a paid plan, which changes licensing and the account setup before cutover. | Confirm the plan tier with Rocket.Chat before design work starts. |
| Identity and SSO reconfiguration | Accounts from the export must sign in through your own identity provider, and SSO, LDAP or SAML settings must be rebuilt and tested. | List the identity sources and test sign-in with a pilot group before the cutover date. |
| S3 bucket design | Bucket naming, region, access policy, credentials and lifecycle rules must be set before any file is copied, and mistakes are costly to fix later. | Decide access, encryption and retention rules with your security team first, and confirm the S3-compatible service you use supports the required API. |
| Client rollout to users | Users on desktop and mobile clients must point to the new server, and older client versions may need upgrading. | Plan the communication, the server address change and a support window for users who cannot sign in. |
| Number of custom integrations | Each custom integration, bot or webhook may need its own configuration, credential rotation and testing against the new server. | Inventory every integration and its owner, and mark which ones are needed on day one. |
| Written scope and quote | The quote follows from the written scope, so the effort depends on the choices above rather than on a fixed template. | Ask DeployOpen for a fixed-scope proposal listing these drivers, the deliverables and the timeline. |
Why the MinIO choice for S3 storage needs a review first
The documented migration path moves uploaded files and avatars into an Amazon S3 bucket. Before you pick a store, check the MinIO status, since the community repositories are no longer maintained and carry licensing conditions that affect how you can run them.
Why the documented path assumes S3
The Rocket.Chat guide for leaving Rocket.Chat Cloud moves uploaded files and avatars from the export into an Amazon S3 bucket, then updates file paths in the database with mongosh. Any S3-compatible endpoint can work in principle, but the guide's steps assume an S3 bucket, so confirm each setting in the Rocket.Chat file storage configuration against your chosen store before the cutover.
Migration guideMinIO community repositories are archived
The minio/minio, minio/operator and minio/mc repositories are archived and read-only. The minio/minio README states the project is no longer maintained and points to AIStor Free and AIStor Enterprise as alternatives. Community source is the last distributed form, and legacy binaries will not receive updates, so a new deployment built on it inherits a dead dependency.
MinIO READMEAGPLv3 licensing for commercial use
The MinIO community server is licensed under the GNU AGPL v3.0. The README says commercial or proprietary use must be validated against AGPLv3 obligations, and that commercial licensing is available through AIStor. Ask your legal team to review how the AGPL applies to your deployment, including whether any network-facing modifications would trigger source disclosure, before you build on it.
Support tiers for the community edition
According to the MinIO README, support for the community software is best effort through GitHub and Slack, and SLA-backed support is available only through AIStor. For a regulated workspace that stores business files, decide who answers a storage incident at 2 a.m. and whether best-effort community help meets your internal service expectations.
AIStor Free or AIStor Enterprise
AIStor Free is a standalone edition under a free license, and AIStor Enterprise is a distributed edition with commercial support. Ask the vendor for the license terms that apply to your use, the support scope, and what a quote covers. Your choice changes both the license you accept and who is responsible for patches and escalation.
Amazon S3 or another S3-compatible system
Amazon S3 or another managed store removes self-hosted storage operations, but moves data outside your infrastructure, which may conflict with your data residency rules. Other S3-compatible systems keep data in place but add an operations and support burden. Test each candidate with a sample of avatars and files from your export, and confirm object key handling and access policies before you commit.
Questions buyers ask before moving Rocket.Chat Cloud in house
How much does it cost to move a Rocket.Chat Cloud workspace in house?
The cost depends on the target architecture and the work needed to run it, so no single figure applies to every workspace. Costs fall into four groups: infrastructure you run (compute, a MongoDB replica set, S3 object storage and backups), labor to deploy and restore, verification of users, messages, files and avatars, and ongoing operations. Infrastructure and operations recur every month, while the export, restore and cutover are largely one-time. Paid plans are priced by quote, so ask Rocket.Chat for a written quote for the plan your architecture needs. Ask any partner for a written scope that lists each component, who performs it and what is excluded, so you can compare it with your own estimate.
How long does an in-house migration from Rocket.Chat Cloud take?
Duration depends on factors specific to your workspace, so confirm it against your own environment rather than relying on a general figure. The main drivers are how long Rocket.Chat support takes to deliver the MongoDB export, how large the export and the uploaded files are, whether the target infrastructure is ready, how many objects must be uploaded to S3, and how much verification your teams require before users move. Ask Rocket.Chat support for its current turnaround on export requests, and plan a test restore in a non-production environment before you set a cutover date.
What do I need to provide before a Rocket.Chat Cloud migration starts?
You need administrator access, infrastructure, and a support request before the work can begin. The documented steps depend on these items:
- Workspace admin access to disable email two-factor authentication before the export.
- A request to Rocket.Chat support for a MongoDB export of your workspace.
- Target infrastructure: a host or Kubernetes cluster for the same Rocket.Chat version, a MongoDB replica set, and an Amazon S3 bucket with credentials for files and avatars.
- DNS records, TLS certificates and an identity provider configuration if you use one.
- A named owner who can approve the cutover window and confirm that users, files and avatars are correct afterward.
Can our own team move a Rocket.Chat Cloud workspace to a self-managed deployment?
Your team can do it if it has the skills for each step, and the documented sequence is short enough to follow. The work includes restoring with mongorestore, updating file paths in the database with mongosh, uploading files and avatars to S3, and registering the instance as a new workspace when the Unique ID warning appears. Those steps require working knowledge of MongoDB administration, Linux or Kubernetes operations, object storage permissions and TLS. If any of those skills are thin, or the cutover has a fixed deadline, a fixed-scope engagement with DeployOpen can cover planning, the migration itself and the checks afterward, under a written scope and timeline.
Which Rocket.Chat plan do I need for the self-managed target architecture?
The plan follows from the architecture and user count, so check the plans page against your design before you commit. Rocket.Chat's reference architectures suggest one instance with a MongoDB replica set for up to 500 concurrent users. Multiple load-balanced instances linked by NATS are suggested above 500, and microservices on Kubernetes with the official Helm chart above 5,000, and both multi-instance and microservice designs require a paid plan. The free Starter plan allows up to 50 users, and the free Community workspace allows up to 100 concurrent users with core messaging. Air-gapped deployment is a paid-plan capability, so confirm it with Rocket.Chat if your network is isolated.
What happens to the Rocket.Chat Cloud workspace after cutover?
The researched documentation does not describe how a Cloud workspace is retired after a move, so confirm the steps with Rocket.Chat before you set a cutover date. Ask whether the Cloud workspace can stay available during parallel testing, how your subscription is affected, how long Rocket.Chat keeps your data after you leave, and whether a second export is needed if the Cloud workspace changes after the first one. On the self-managed side, the Unique ID warning is resolved by registering the instance as a new workspace, so the restored copy becomes its own workspace with its own registration.
Why does the self-managed Rocket.Chat version need to match the Cloud version?
The documented procedure deploys the self-managed workspace on the same Rocket.Chat version before the restore, so the database and the application agree on schema and behavior. After the restore, you still need an upgrade plan. Standard releases are supported for 6 months and LTS releases for 12 months. After end of life, a version receives no security or bug fixes, cloud services such as the push notification gateway, Marketplace and Omnichannel integrations stop working, and the official mobile and desktop clients may lose the ability to connect. Plan the upgrade path before go-live, not after, and check the version durability page for the current support windows.
How DeployOpen scopes and delivers a Cloud to self-managed move
DeployOpen scopes a move out of Rocket.Chat Cloud in writing before any work starts, because the boundary between what the client owns and what DeployOpen runs decides almost everything else. The scope document names the source workspace and its Rocket.Chat version, the target environment in the client's own cloud account, data center or air-gapped network, the S3 bucket that will hold uploads and avatars, the identity provider the restored users will sign in with, and who performs each step, including the request to Rocket.Chat support for the MongoDB export. Target planning covers the MongoDB replica set that Rocket.Chat 8.x requires, the matching Rocket.Chat version, TLS, backups and the paid-plan question, since multi-instance and microservice designs need a paid plan. Ask for the version the export was taken from and confirm it is supported before scheduling the cutover, because a version mismatch is the most common reason a restore has to be repeated.
Delivery follows the documented sequence with checkpoints the client can review. DeployOpen disables email two-factor authentication on the source, restores the export with mongorestore into the rocketchat database, moves uploaded files and avatars into S3, updates file paths with mongosh, and then resolves the Unique ID change warning by registering the instance as a new workspace. Each step has a written check: user and channel counts compared with the source, a sample of files opened from the new bucket, avatars rendered for a set of accounts, and a login test through the target identity provider. Where the client needs both platforms running during a transition, DeployOpen plans the parallel run and cutover window, including how users are told which workspace is authoritative and how the source is kept read-only.
After cutover, the workspace becomes a supported workload that the client must keep patched. DeployOpen offers retainers that cover upgrades within supported Rocket.Chat lines, backup verification, monitoring and security patching, which matters because unsupported versions stop receiving fixes and lose access to cloud services and official clients. Retainer scope, response expectations and the cost of each recurring item are set in the quote, not in this page. DeployOpen is a Chainscore Labs company and does not publish a price list. A quote follows from the written scope, so bring your current version, user count, storage volume and identity setup to the first conversation.

