Migrate from MongoDB Atlas to FerretDB without guessing at compatibility
Moving from Atlas to FerretDB is feasible for applications that stay within FerretDB's supported commands, and the work is mostly testing, export and cutover. The trigger is usually a renewal, a pricing change, a data residency requirement or a wish to reduce lock-in. Before any of that starts, the platform or database team should inventory every MongoDB command their applications issue, including aggregation pipelines, index management and administrative calls. FerretDB's compatibility documentation lists aggregate, count, distinct, find, insert, update, delete, findAndModify and getMore as supported, and lists abortTransaction, commitTransaction, bulkWrite, killOp, shutdown, profile and role management commands such as createRole and rolesInfo as not implemented yet. Any application that depends on multi-document transactions or those commands needs code changes first, and those changes belong in the application backlog, not in the cutover window.
In most organizations this project is run by the platform or database team, often with an implementation partner who handles the test harness, export scripts and cutover runbook. The effort is driven less by the database itself and more by how many services connect to it, how many use transactions, and how well their tests exercise real queries. Expect the largest share of effort in pre-migration testing against a FerretDB instance, then in a rehearsal of the export and restore on a copy of production data. Confirm with your own environment which MongoDB driver versions and tools your applications use, since FerretDB states that drivers compatible with MongoDB 5.0+ should work, and check that the FerretDB release you choose has a matching DocumentDB extension version, as each 2.x release requires one.
The main risk is data consistency during the export. mongodump without the --oplog option does not guarantee a single point in time if writes continue during the dump, so plan a write freeze or maintenance window, and reconcile record counts after mongorestore into the FerretDB connection URI. Collections that use Queryable Encryption or client-side field level encryption cannot be exported with mongodump, so identify them early. Finally, plan the connection string switch as a reversible step: keep the Atlas cluster readable until the FerretDB side has passed application tests and a rollback path has been rehearsed.
Which Atlas capabilities map cleanly to FerretDB and which need rework
This table maps the Atlas capabilities your application may depend on to FerretDB 2.x on PostgreSQL with DocumentDB, marking each as clean, needs rework or gap. Check the rows that match your workload before you plan the cutover, and confirm each item against the current FerretDB compatibility list for your exact version.
| Atlas capability | FerretDB on PostgreSQL | Status and what to do |
|---|---|---|
| MongoDB 5.0+ driver access | Speaks the MongoDB 5.0+ wire protocol, so drivers should connect with a changed URI | Clean: test your driver version and connection string in staging first |
| CRUD and aggregation | Find, insert, update, delete, findAndModify, count, distinct, aggregate and getMore are listed as supported | Clean for listed commands: run your real query set against FerretDB before cutover |
| Multi-document transactions | abortTransaction and commitTransaction are listed as not implemented yet | Needs rework: redesign transactional code paths or keep those workloads on MongoDB |
| bulkWrite | Listed as not implemented yet | Needs rework: replace with individual or ordered write calls and retest throughput |
| Role management (createRole, rolesInfo) | Listed as not implemented yet | Gap: move access control to PostgreSQL roles or your gateway, and confirm what your team relies on |
| Queryable Encryption and client-side field level encryption | Not covered by the migration path, and mongodump cannot export these collections | Gap: decrypt or re-encrypt data in your application before migrating, and confirm with FerretDB |
| Backups | Backups run through PostgreSQL tooling such as continuous archiving and point-in-time recovery | Needs rework: rebuild backup jobs and test restores, since Atlas snapshots do not carry over |
| Managed high availability | PostgreSQL hot standby and replication are available, but automatic failover needs external tools | Needs rework: design failover and operate it yourself or with a chosen tool |
| Monitoring and error handling | Error names and codes match MongoDB, but exact error messages may differ | Needs rework: update alerts and error parsing that match on message text |
How to test your application's commands before any data moves
Start with the client side, because a driver can fail before a single query runs. FerretDB speaks the MongoDB 5.0+ wire protocol, so drivers and applications built for MongoDB 5.0 or later should connect, but you still need to confirm this for the exact driver language and version your services use. The connection string is the one change you expect to make at cutover, so the test suite should use the same string format your production configuration will use.
- Driver version: List every driver name and version in each service, then run the connection and authentication path against a disposable FerretDB instance.
- Connection string options: Copy the options your Atlas string uses, such as TLS, replica set name, authentication source and retry flags, and check which of them FerretDB accepts as written.
- Authentication: Confirm the user, role and authentication mechanism your services use, because role management is not implemented in FerretDB.
- Connection pooling and timeouts: Test pool sizes and timeout values under load so that failover behavior in your application is not masked by a single local node.
- Configuration separation: Keep the test connection string in a separate configuration profile so no test run can point at the Atlas cluster by accident.
Before you move on, check that every service starts, connects and closes its sessions cleanly against FerretDB.
FerretDB's compatibility documentation lists the commands it supports, and the supported set covers the operations most CRUD-driven applications use. Map each query your code issues to one of these commands, then test the actual query shapes, indexes and options, since a supported command name does not guarantee every option behaves the same way. The documentation lists aggregate, count, distinct, find, insert, update, delete, findAndModify and getMore as supported.
- Aggregation pipelines: Run every
aggregatepipeline your services use, including$match,$groupand$lookupstages, and compare result sets with the Atlas output. - Read operations: Test
findwith sorts, projections, skip and limit, andcountanddistinctwith the filters your reports depend on. - Write operations: Exercise
insert,update,deleteandfindAndModifywith upserts and array update operators. - Cursor handling: Confirm that large result sets using
getMorereturn complete results across batches. - Result comparison: Store expected outputs from Atlas for a fixed dataset and compare them with FerretDB results, including document field order where your code depends on it.
Record any query that returns different results, even when it does not error, because silent differences are harder to find after cutover.
The commands FerretDB lists as not implemented yet are the most likely source of hard failures. The compatibility documentation names abortTransaction and commitTransaction, which means applications that rely on multi-document transactions need redesign before migrating. Other gaps include bulkWrite, killOp, shutdown, profile and role management commands such as createRole and rolesInfo. Review your code and deployment scripts for each of these, and confirm the current status in the compatibility page for the FerretDB version you plan to run.
- Multi-document transactions: Search for
startTransaction,withTransactionand session-based transaction calls, then decide whether each flow can be split, made idempotent or moved to a different design. - Bulk writes: Find
bulkWritecalls in batch jobs and ingestion code, and test whether ordered or unordered loops produce the same outcome. - Administrative commands: Check monitoring, maintenance and deployment scripts for
killOp,profileandshutdown, and move those tasks to the PostgreSQL side. - Role management: Confirm that your application does not create or read roles at runtime, since
createRoleandrolesInfoare not implemented, and manage access in your identity setup instead. - Failure behavior: Trigger each unsupported path in the test environment to see how your application reports the error.
If any service depends on these commands, treat it as a code change project with its own test plan rather than a configuration task.
Some differences are not about commands at all. FerretDB states that collection names must be valid UTF-8, so any collection with a name outside that rule must be renamed before migration. FerretDB also states that its error names and codes match MongoDB's, but exact error messages may differ. Applications that parse error text, rather than error codes, need changes in their test expectations and possibly in their own error handling.
- Collection names: List every collection and database name from Atlas, and check each one for valid UTF-8 before you dump anything.
- Error codes: Write tests that assert on error codes and error names, and avoid assertions on message strings where possible.
- Duplicate key and validation errors: Trigger unique index violations and schema validation failures, then confirm that retry and user-facing logic reacts the same way.
- Index definitions: Recreate the indexes your queries rely on in the test instance, and confirm that query plans and response times are acceptable.
- Naming in tooling: Check that backup, monitoring and reporting scripts do not hard-code collection names that will change.
Write the results into a list of renamed collections and changed assertions, because the same list becomes part of your cutover checklist.
Run the test suite against a disposable FerretDB instance, not a shared environment. FerretDB is distributed as Linux packages, Docker images and an embeddable Go library, and the all-in-one ferretdb-eval Docker image bundles PostgreSQL with DocumentDB and mongosh. That image is for testing only, because it loses data on shutdown and is not for production. For a repeatable test run, use a FerretDB build and a DocumentDB extension version that match each other, since each FerretDB 2.x release requires a matching DocumentDB version. The FerretDB releases page lists the pairings.
- Pinned versions: Pin the FerretDB image and the DocumentDB extension version in your test configuration, and record both in the test report.
- Throwaway data: Load a sanitized or synthetic copy of your collections, never production data, into a container that is destroyed after each run.
- Continuous runs: Add the compatibility suite to your pipeline so each change to a driver or query is checked against the same FerretDB version.
- Production-like setup: Once the tests pass, rebuild the environment on a durable PostgreSQL installation with backups enabled, since ferretdb-eval is only for the test stage.
- Evidence: Keep test logs, the version pairs and the list of accepted differences so auditors and security reviewers can see how compatibility was established.
Before data moves, confirm that every failing test has a fix, an accepted difference or a documented decision.
What data and integrations move, and through which documented export path
Data moves through a documented dump and restore path, but the application around the database does not. Plan the export method first, then list every integration that must be rebuilt or re-verified against FerretDB before cutover.
mongodump to mongorestore
FerretDB's migration guide runs mongodump against the Atlas source, which writes BSON files per collection, then runs mongorestore against the FerretDB connection URI. This is the path that carries indexes and document structure most directly. Check the dump consistency options before you start, because mongodump without --oplog does not give a single point in time when writes continue during the dump. Plan a write freeze or a replay window for changes made after the dump.
FerretDB migration guidemongoexport and mongoimport per collection
As an alternative, mongoexport and mongoimport move one collection at a time. This suits a small number of collections, a staged move, or a collection that needs reshaping during the copy. The trade-off is effort: each collection needs its own export and import step, and you must confirm that the exported format preserves the types your application relies on, such as dates, ObjectIds and decimals. Test a sample collection end to end before you commit to this path.
Encrypted collections need another plan
mongodump cannot export collections that use Queryable Encryption or client-side field level encryption. Identify these collections early by checking your schema and client configuration. For each one, decide whether to decrypt in the application during export, re-encrypt on import with keys you hold, or keep the data out of scope for the first cutover. Confirm the key management path with your security team before any copy begins.
Drivers and connection strings
Applications keep their MongoDB drivers, so the main code change is the connection URI. Inventory every service, batch job and admin script that holds an Atlas connection string, including SRV records and replica set options. Confirm that each driver version works with the MongoDB 5.0+ wire protocol that FerretDB implements, and test the connection before you change production configuration.
Secrets and users to recreate
Atlas database users, IP access lists and secrets in your vault do not follow the data. Recreate the database users and their privileges in FerretDB and PostgreSQL, and move credentials into your own secrets store. Note that FerretDB's compatibility list marks role management commands such as createRole and rolesInfo as not implemented, so user and role setup may need to happen at the PostgreSQL or infrastructure layer.
Change consumers and scheduled jobs
Change streams, triggers, scheduled jobs and downstream consumers depend on the database's behavior, not only its data. Atlas Triggers and any Atlas-hosted functions must be rebuilt on infrastructure you run. Review every job that writes on a timer or reacts to changes, confirm which operations FerretDB supports, and check that each job is paused or repointed in the same cutover window.
How the dump, restore and dual-run pieces connect during cutover
The flow starts at the Atlas cluster, which sits outside your trust boundary. A mongodump run from your side writes a dump directory of BSON files per collection, and mongorestore loads that directory into FerretDB, which stores data in PostgreSQL with the DocumentDB extension inside your infrastructure. The application then runs in dual-run or read-validation mode against both systems before the connection string is switched. Check whether the dump used --oplog to capture writes made during the export, and confirm that no collection relies on encryption that blocks dumps.
Data and traffic paths across the Atlas trust boundary during cutover.
The migration sequence from inventory to decommission
The sequence moves one MongoDB Atlas workload to FerretDB in five gated steps, so each stage produces evidence that the next one depends on. Atlas stays available as the source and rollback path until the team has confirmed the FerretDB deployment in production.
Inventory commands, collections, indexes and integrations
Your team lists every database command the application and its jobs send, every collection and index, the users and roles that connect, and each integration that reads or writes the data, such as analytics exports, change streams or scheduled jobs. Cross-check the command list against FerretDB's compatibility documentation and flag anything marked as not implemented, including multi-document transactions, bulkWrite and role management. The output is a command coverage report that names each gap, its owner and the code change or workaround it needs.
Pilot the application on FerretDB
Start a FerretDB instance on PostgreSQL with the DocumentDB extension, using the version pairing published with the FerretDB release you choose, and load a non-production copy of the data. Run the application's test suite and the flagged code paths against it, and check error handling, since FerretDB matches MongoDB error names and codes but not always the exact messages. Do not use the all-in-one evaluation image for this pilot, because it discards data on shutdown. The output is a pilot test report that lists passing paths, failing paths and the fixes applied.
Run a parallel period with reconciliation checks
Keep Atlas as the system of record while a copy of production traffic or a controlled subset of writes reaches FerretDB, or while FerretDB receives scheduled dumps that are restored and compared. Compare document counts, sampled documents, index definitions and the results of key queries between the two systems, and record any drift and its cause. If you dump without the oplog option, document that writes during the dump are not captured at a single point in time, and treat the result as a reconciliation input, not a cutover source. The output is a reconciliation report signed off by the application owner and the data owner.
Prepare and rehearse the cutover runbook
Write a runbook that sets the write freeze on the application, takes the final mongodump, restores it with mongorestore against the FerretDB connection URI, rebuilds indexes, checks counts against the source, and switches the connection string in configuration and secrets. Name who runs each command, who approves the switch, and the rollback trigger and procedure, which is pointing the connection string back to Atlas and reconciling any writes made on FerretDB. Rehearse the runbook on the non-production copy. Confirm that encrypted collections are handled before the dump, because mongodump cannot export Queryable Encryption or client-side field level encryption collections. The output is a cutover runbook with a rehearsal record.
Execute the cutover window and monitor
Run the runbook during the agreed window, then confirm that the application is reading and writing through FerretDB and that counts and key queries match the final check. Watch error rates, latency and PostgreSQL logs, and confirm that backups for the new PostgreSQL database are running before the Atlas source is left idle. Keep Atlas read-only rather than deleted during this stage so the rollback path stays open. The output is a cutover record with timestamps, checks performed and any incidents.
Decommission Atlas after the rollback period
Once the rollback period set in your runbook has passed without a rollback decision, export a final verified backup from Atlas and store it under your retention policy. Remove the Atlas cluster, its users, IP access rules and integrations, and revoke the credentials that pointed to it. Confirm with your compliance team which records of the migration, including the reconciliation report and cutover record, must be retained. The output is a decommission record that lists the removed resources, the retained backup location and the approver.
Matching FerretDB and DocumentDB versions and avoiding inconsistent dumps
Pin FerretDB and its DocumentDB extension to a matching pair before you write any migration script. FerretDB v2.7.0, published on November 10, 2025, works with DocumentDB extension v0.107.0-ferretdb-2.7.0, and each FerretDB 2.x release requires its own matching DocumentDB version. Record both versions in your deployment manifests, container image tags or package lockfiles, and treat a change to either one as a change that needs the same compatibility testing you ran against your application's commands. Do not mix a FerretDB binary from one 2.x release with a DocumentDB build from another. Test the exact pair in a staging environment, and keep the same pair in the restore target you will use for cutover so that the environment you validated is the one that receives production data.
Plan for a dump that represents one point in time, because mongodump without --oplog does not guarantee that. If application writes continue during the dump, collections can be captured at different moments, and documents that reference each other across collections may not match when restored. The practical options are a write freeze on the Atlas cluster for the duration of the export, or an oplog-based capture so that changes made during the dump can be replayed to a consistent point. Ask your MongoDB contact which of these is available on the Atlas tier you run, and whether your tier and encryption settings allow the oplog option. Also confirm that no collection uses Queryable Encryption or client-side field level encryption, because mongodump cannot export those collections. Verify the restored data by comparing document counts per collection against the source before you switch connection strings.
What drives the migration effort and how to keep each part down
This table lists the factors that most change the effort of moving from Atlas to FerretDB, why each one matters, and how to reduce it before work starts. Read it as a checklist: count your own exposure for each row, then use the quote request guidance to turn those counts into a written scope.
| Driver | Why it changes effort | How to keep it down |
|---|---|---|
| Unsupported commands in use | Commands such as bulkWrite and role management (createRole, rolesInfo) are not implemented yet in FerretDB, so each one needs a code or workflow change or a replacement. | Search your codebase and driver logs for every command your application sends, then check each against FerretDB's compatibility list before scoping. |
| Multi-document transaction usage | abortTransaction and commitTransaction are not implemented yet, so transactional code paths must be redesigned, moved to PostgreSQL, or kept on MongoDB. | Identify every session and transaction call. Where possible, narrow transactions to single-document writes or isolate them in a small set of services. |
| Data volume and dump duration | Larger datasets lengthen mongodump and mongorestore runs and widen the window in which writes can change the data. | Measure current data size and test a full dump and restore in a non-production environment. Plan for dedicated restore capacity on the PostgreSQL host. |
| Write activity during the dump | mongodump without --oplog does not guarantee a single point in time, so a consistent copy needs a write freeze or an agreed reconciliation step. | Ask whether writes can be paused briefly, use the oplog option where your Atlas tier allows it, and plan a delta reconciliation for changes after the snapshot. |
| Number of collections and indexes | Each collection and index must be restored, verified and rebuilt, and index behavior must be checked against FerretDB's query paths. | Inventory collections, indexes and their query patterns. Retire unused collections before migration and test the top queries with realistic data. |
| Encryption features | mongodump cannot export collections that use Queryable Encryption or client-side field level encryption, so keys and data must be handled through a separate plan. | Confirm early whether any collection uses these features. Agree on how plaintext is produced, reviewed and protected during the move. |
| Number of applications and drivers | Every service with its own connection string, driver version and error handling needs testing, and error messages may differ from MongoDB. | List each application, its driver and its error handling. Test with FerretDB's error names and codes, and do not rely on exact message text. |
| Cutover window requirements | A short agreed maintenance window lowers risk but requires rehearsed dumps, restores and a tested rollback path. | Rehearse the full cutover at least once. Ask stakeholders for a window in writing and define a rollback point before the switch. |
| PostgreSQL operations maturity | Backups, upgrades, replication and failover are your responsibility. PostgreSQL does not provide automatic failover on its own, so the team must already run these tasks or buy the skills. | Assess who runs PostgreSQL today. Confirm backup, point-in-time recovery, monitoring and failover tooling before go-live, and match the FerretDB release to a supported DocumentDB version. |
What usually goes wrong in an Atlas to FerretDB move
Most failed moves from Atlas to FerretDB trace back to a small set of gaps: unsupported commands, inconsistent exports, hidden encryption, version pairing, error handling and missing rollback. Each card names one risk and the check that prevents it before cutover.
Untested transactions and bulkWrite
FerretDB lists abortTransaction and commitTransaction as not implemented yet, and bulkWrite is also on the not-implemented list. Application code that wraps multi-document writes in transactions, or sends batched writes through bulkWrite, can fail or behave differently only under production paths. Search the codebase for session and transaction calls and bulkWrite usage, then run those paths against FerretDB in a staging copy before any cutover date is set.
FerretDB compatibility listInconsistent dumps from live writes
mongodump without --oplog does not guarantee a single point in time when writes happen during the dump. Collections can end up internally inconsistent, with related documents captured at different moments. Plan a write freeze or maintenance window for the final export, then compare document counts and sample records between Atlas and the restored FerretDB instance before accepting the data.
mongodump referenceEncrypted collections found late
mongodump cannot export collections that use Queryable Encryption or client-side field level encryption. Teams often discover this during the cutover rehearsal, after the migration plan is fixed. Inventory every collection and field for encryption settings in the Atlas project and in application code before scheduling work, and decide with the data owners how those fields will be decrypted, re-encrypted or re-ingested.
FerretDB and DocumentDB version mismatch
Each FerretDB 2.x release requires a matching DocumentDB extension version, so pairing the wrong builds can break the engine at startup or at query time. Pin both components in the deployment manifest, record the pair in the runbook, and confirm the pairing against the FerretDB releases page before installing or upgrading. Repeat the check during every patch cycle.
- Latest FerretDB release
- v2.7.0
Error message differences in application logic
FerretDB matches MongoDB's error names and codes, but exact error messages may differ. Application code that parses message text to detect duplicate keys, retry conditions or validation failures can misbehave silently after cutover. Switch such checks to error codes or names, add tests that trigger each expected error against FerretDB, and review logging that depends on message wording.
No tested rollback path
Once writes land in FerretDB, reverting to Atlas means exporting those new writes back out, which is not covered by the forward migration steps. Keep Atlas running in read-only or standby mode for an agreed period, document the connection string switch as a single reversible change, and rehearse the reverse direction with the same tooling used for the forward move. Confirm the rollback owner and decision criteria in writing before cutover.
How the move differs by starting point and team size
This is the most direct path. One team owns one application that mostly uses find, insert, update and delete, with simple indexes and no multi-document transactions. The compatibility review is short, the data set is usually small enough to dump and restore in a planned window, and the cutover can be handled by one team in one change. Illustrative example: a product catalog service that reads and writes single documents and runs a nightly export job.
- Command coverage: Confirm that every command in the driver calls appears on FerretDB's supported list, including aggregate and findAndModify.
- Dump window: Plan a quiet period, because a plain mongodump without --oplog does not give a single point in time if writes continue.
- Single cutover: Change the connection string in one deployment, then keep the Atlas cluster readable for a rollback period.
- Ownership: One team handles testing, restore checks and the on-call runbook, so decisions stay short.
- Operations: Assign someone to PostgreSQL backups and minor updates from the start, since FerretDB runs on it.
Before you commit, run your own test suite against a FerretDB instance and confirm that error handling matches the error codes your code depends on.
Many estates place several services in one Atlas cluster, often with separate databases and different owners. Moving them is a coordinated program rather than a single change. Each service has its own command profile, its own cutover date and its own tolerance for downtime, and the shared FerretDB instance becomes a dependency for all of them. Plan the order of moves and the ownership of the shared PostgreSQL host before the first dump.
- Inventory first: List every database, collection, driver version and connection string per service, including scheduled jobs and analytics readers.
- Move order: Start with the service that has the lightest command set and the most tolerant owners, so the team learns the process on low-risk data.
- Shared capacity: Size the PostgreSQL host and connection handling for all services together, and consider PgBouncer for connection pooling.
- Dependencies: Identify services that depend on each other's collections, because moving one may require the other to be ready first.
- Change control: Agree a freeze window and a rollback owner per service, so one failed cutover does not hold up the rest.
Check whether any service uses a feature FerretDB lists as not implemented, because one unsupported command can stall the whole program.
Applications that depend on multi-document transactions need design work before any data moves. FerretDB's compatibility documentation lists abortTransaction and commitTransaction as not implemented yet, so code that starts a session, wraps several writes in a transaction and commits or aborts them will fail on FerretDB until it is changed. In these cases the choice is between refactoring the write paths, keeping the workload on MongoDB, or moving only the parts that do not need transactions.
- Find the paths: Search the codebase for startTransaction, withTransaction and session usage, and map each one to a business operation.
- Refactor options: Consider making single-document writes atomic, or moving the transactional step to a PostgreSQL transaction if the data model allows it.
- Split the estate: Some teams keep the transactional service on MongoDB and move read-heavy or simple services first.
- Bulk writes and roles: Check for bulkWrite and role management use, which are also listed as not implemented.
- Testing depth: Test failure and retry paths, because partial writes that were previously rolled back may now persist.
Where a transaction boundary is central to correctness, confirm the refactor and its testing with the application owners before setting any migration date.
Teams that already operate PostgreSQL for other systems usually have the backup, monitoring, patching and access control skills the move requires. The main question changes from how to run a new database to whether the application should keep the MongoDB driver at all. FerretDB lets the application keep its driver while the data lands in an existing PostgreSQL operating model. Where the application can be rewritten, JSONB tables may be a simpler long-term fit, and that choice should be made deliberately.
- Shared standards: Reuse existing PostgreSQL backup, replication and upgrade runbooks, adjusted for the DocumentDB extension that FerretDB needs.
- Version matching: Pair the FerretDB release with its matching DocumentDB extension version, and check that version against your PostgreSQL major version support window.
- Failover design: PostgreSQL does not detect primary failure on its own, so reuse the existing external failover tooling if you have it.
- Upgrade path: Plan for minor updates that replace executables and restarts, and for major upgrades through pg_upgrade or logical replication.
- Driver decision: Document whether the application will stay on the MongoDB driver or move to a SQL-based data layer.
Confirm with your DBA and platform owners which PostgreSQL major version the DocumentDB extension supports before you choose the target.
Questions buyers ask before moving from Atlas to FerretDB
How much does a migration from Atlas to FerretDB cost?
The cost is mostly labor and infrastructure, and no fixed figure applies to every team. Atlas spend is replaced by the servers or virtual machines for PostgreSQL and FerretDB, their storage, backups, monitoring and staff time to run them. One-time costs include the command compatibility audit, rewriting any code that uses transactions or unsupported commands, the data copy and cutover testing. Recurring costs include infrastructure, patching, upgrades and on-call time. Costs rise with the number of collections, data volume, the share of application code that needs changes and the number of environments to test. When you ask for a quote, request a line-item scope covering the audit, the migration runbook, testing, cutover support and handover, and confirm which items are fixed and which depend on findings from the audit.
How long does a migration from Atlas to FerretDB take?
The duration depends mainly on how many application commands you use, how many collections and how much data you move, and how much code needs changes. Start with a command audit against FerretDB's compatibility documentation, because the audit decides whether the application can move at all or needs rework first. Data volume affects the dump, transfer and restore windows, and the number of environments affects test cycles. Ask any provider, including DeployOpen, for a timeline tied to the written scope and to the audit results, not to a generic estimate. Ask them to show which steps can run in parallel and which must wait for code changes.
What does our team need to provide for the migration?
The team needs to supply access and context, and the people who make decisions about the application. Typical inputs are read access to the Atlas project and clusters, a list of the applications and drivers that connect, sample queries and aggregation pipelines, the indexes and collections in use, and the expected maintenance windows. You also need a test environment where the application can run against FerretDB, a named owner for connection string changes, and a rollback plan approved by the application owner. Security and compliance staff should provide their requirements for SSO, access control, audit logging and data location before design starts.
Can our own engineers migrate from Atlas to FerretDB without a partner?
Yes, a team with PostgreSQL and MongoDB driver experience can often do it, but the work is more than copying data. Engineers need to test the application's commands against FerretDB, run mongodump and mongorestore correctly, handle write consistency during the dump, and operate PostgreSQL with backups, patching and monitoring. Teams without these skills typically underestimate the command audit and the operating work after cutover. Decide based on your staff's capacity and on how much the application depends on unsupported features. A partner can take the planning, implementation, hardening and documentation, while your team keeps ownership of the running system.
Does FerretDB support multi-document transactions today?
No, not in the form many applications expect. FerretDB's compatibility documentation lists abortTransaction and commitTransaction as not implemented yet, so applications that rely on multi-document transactions need changes before migrating. Other commands on the unimplemented list include bulkWrite, killOp, shutdown, profile and role management commands such as createRole and rolesInfo. Check the current list for the FerretDB version you plan to run, because the project changes between releases. Your audit should find every transaction, bulk write and role call in the code and decide whether to rewrite it or keep that workload on MongoDB.
How are backups and high availability handled on PostgreSQL?
On PostgreSQL, backups and failover are built from parts you choose and operate. PostgreSQL supports hot standby servers that serve read-only queries, and it offers synchronous replication, where a commit waits for standbys, and asynchronous replication. Point-in-time recovery uses continuous archiving of WAL files, which you must configure and test. PostgreSQL does not detect a failed primary or promote a standby on its own, so automatic failover needs external tools, and you must test the promotion path. Ask for a written backup policy, restore tests with recorded results, and a failover runbook that names the tool and the people who run it.
Can encrypted collections move from Atlas to FerretDB?
Not with mongodump as it stands, because MongoDB's dump tool cannot export collections that use Queryable Encryption or client-side field level encryption. Those collections need a separate plan: decrypt on the client side with the application's keys, export the plain data to a controlled location, and load it into FerretDB with a re-encryption design that your security team approves. Key management also has to move, since the keys are not exported with the data. Confirm the encryption model for every collection in the audit, and do not assume dumps include encrypted fields in readable form.
How DeployOpen scopes and runs the FerretDB migration
DeployOpen works from a written, fixed scope agreed before any work starts. For a move from Atlas to FerretDB, that scope usually covers planning the target, implementing FerretDB on PostgreSQL with the DocumentDB extension inside your own cloud account, data center or air-gapped network, and running the command compatibility testing against your application's actual driver calls. The scope document should name each deliverable, the environments in scope, who signs off on the cutover, and the timeline agreed for each phase. Ask for the list of applications and drivers included, because the compatibility test is only as complete as that inventory. Items such as multi-document transactions, bulkWrite and role management need explicit decisions in the scope, since FerretDB does not implement them yet.
Delivery covers the parts that make the platform reviewable by your security and compliance teams: hardening the FerretDB and PostgreSQL hosts, configuring access control and audit logging for the database, setting up backups and restore tests, and writing the operating documentation. DeployOpen also supports the cutover itself, including the dump and restore sequence, connection string changes and a rollback path. The written scope should state who owns the Atlas export window, how writes are frozen or replayed during it, and who runs the final verification. DeployOpen does not publish a price list. A quote follows from the written scope, so the inputs that move it are the number of applications, the volume of data, the amount of compatibility rework and the depth of hardening and documentation you request.
Ongoing support, upgrades and continuous testing are available as retainers after cutover. A retainer is a useful option when you expect to track new FerretDB and DocumentDB pairings, PostgreSQL minor releases and patching on a recurring basis. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications. Independent auditors and certification bodies perform those assessments, so the scope should list the evidence you need for your auditor and confirm with that auditor which artifacts they will accept before work begins.

