What moving a self-hosted Odoo database to Odoo.sh involves
A team that runs Odoo on its own servers and wants Odoo.sh is moving two things: a database and filestore import, and a code move into a Git repository that Odoo.sh builds and deploys from. The effort depends on the source version, the size of the database and filestore, how many custom or community modules the instance runs, and how many integrations depend on it. Odoo.sh is listed on Odoo's pricing page as available only on the Custom plan, so confirm your subscription tier before planning anything else. Odoo.sh imports only databases on supported versions, so check the version of your source instance against Odoo's support windows first, and plan an upgrade if it is outside them.
Storage is the first hard constraint to check. Odoo.sh needs four times the dump size in available storage during import, so a 10 GB dump needs at least 40 GB. Measure the dump and the filestore together, and confirm the storage allocation on the target project before scheduling the import. Trial projects created with a partnership code can only import dumps up to 1 GB, which rules them out for most production databases. Next, inventory every custom and community module the instance loads, note which ones come from the Odoo Apps Store or the Odoo Community Association, and confirm each one has a version that runs on the target Odoo release. Each module must then be pushed into the Odoo.sh repository and must install cleanly there.
Outgoing mail servers need a check before the first import is run in production. Imported databases carry their mail server configuration, and a live copy can send real messages to customers or suppliers if the configuration is not reviewed. Confirm which outgoing servers the target project will use, disable or redirect the ones that should not send from the test environment, and test a sample send. Scope the whole move in writing before work starts, covering the dump and filestore handling, the module push, integration checks, a test run and the cutover window, so that each step has an owner and an acceptance test.
What carries over from on-premise Odoo and what needs rework
This table compares each part of a self-hosted Odoo installation with its Odoo.sh equivalent and marks whether it imports as-is, needs repackaging into the project repository, or needs confirmation. Read it before the dump is taken, because the rework items set the order of the migration work. The main takeaway is that the database and filestore move with the dump, while custom code, mail settings and sign-in setup need deliberate action on the Odoo.sh side.
| Element | On-premise state | Odoo.sh treatment |
|---|---|---|
| Database dump | PostgreSQL database from a supported version | Imports as-is if the version is supported on Odoo.sh; check the version before export |
| Filestore | Attachments and images under the data directory | Travels with the backup and imports as-is; confirm the archive includes it |
| Community modules | Open-source addons from the Community repository | Repackage into the Odoo.sh project repository before the build runs |
| Enterprise modules | Enterprise code installed with a subscription | Confirm the subscription is active on Odoo.sh and the code is available to the project |
| Custom addons | Local addons path with in-house modules | Repackage into the GitHub repository and confirm each module loads on the target version |
| Configuration file | odoo.conf with workers, paths and database settings | Replaced by Odoo.sh project settings; rebuild limits and paths there, do not copy the file |
| Outgoing mail servers | SMTP settings stored in the database or config | Confirm the outgoing server works from Odoo.sh before go-live, since old relay addresses may be blocked |
| Users and passwords | Local accounts stored in the database | Imports with the database; users may need to reset passwords if the hash method changes |
| LDAP sign-in | LDAP server reached from the on-premise network | Needs confirmation: the directory must be reachable from Odoo.sh and the settings re-entered |
| Two-factor and OAuth sign-in | Provider keys configured on the old host | Needs confirmation: redirect URLs and provider keys must be updated for the new domain |
Documented import paths and what each one covers
Moving a self-hosted database onto Odoo.sh involves more than one documented route. Each path below covers a different part of the move: the project and database import, the code that travels with it, and the test copy you should build before any production data goes in.
Project creation and database import
Odoo.sh creates a project for the target environment and accepts a database dump on a supported Odoo version only, so confirm your source version is on the supported list before you export. Import needs four times the dump size in free storage while it runs, so a 10 GB dump needs at least 40 GB. Trial projects created with a partnership code only import dumps up to 1 GB, which rules them out for most production databases.
Odoo.sh project docsRepository push for custom modules
Custom and community modules do not move with the database dump, so they must be pushed to the project's Git repository on Odoo.sh. Check that every addon the database depends on is present in the repository and that its version matches the target Odoo version. Missing or mismatched modules are a common reason a restored database fails to load.
Neutralized test copy before import
Duplicate the on-premise database and neutralize the copy before any test import, so that scheduled actions, outgoing mail and payment or API connections do not fire against live partners. Odoo documents database duplication with neutralization for exactly this purpose. Run the copy through Odoo.sh first and treat its results as the baseline for the production import.
On-premise docsEnterprise subscription activation
Enterprise databases on-premise are activated by entering the subscription code, and that code must be linked to the Odoo.sh project for the imported database to run under the same licence. Confirm with Odoo which subscription covers the target environment before the import, because Enterprise features and Odoo.sh hosting depend on the Custom plan. Ask your vendor to confirm the activation steps for your contract.
Outgoing mail server check
Imported databases keep their outgoing mail server settings, which can point at your former on-premise relay. Review these settings after import and point them at a server the Odoo.sh environment can reach, or disable sending on test copies. Confirm which mail server and sending domain your organization uses before cutover.
How the import, parallel run and cutover are sequenced
This sequence moves a self-hosted Odoo database onto Odoo.sh in an order that surfaces version, storage, module and mail problems in a staging project before any user depends on the new environment. It ends with a verified production cutover and a documented decommissioning of the old server.
Inventory the database, filestore and modules
Your team records the Odoo version and the PostgreSQL dump size, confirms the filestore size, and lists every custom and community module the database loads, including where each one's source code lives. DeployOpen can run this inventory with your administrators and write it down as the baseline for the rest of the sequence. The step is done when the inventory names each module with its source location and the dump size is known, because the storage needed for import depends on it.
Check the version against supported Odoo.sh versions
Compare the database's Odoo version with the versions Odoo.sh accepts for import. Odoo.sh imports databases on supported versions only, so a database on an older release must be upgraded first, either through Odoo's upgrade path or a planned intermediate step. Confirm the support window for the target version in Odoo's standard and extended support documentation. The step is done when the version is confirmed as importable or a dated upgrade plan exists.
Size storage for the import
Confirm the Odoo.sh project has at least four times the dump size in available storage during import. For example, an illustrative 10 GB dump would need at least 40 GB. If you are using a trial project created with a partnership code, note that such projects import dumps only up to 1 GB, so a full production database needs a standard project. The step is done when the storage requirement is written next to the dump size and the project is confirmed to have it.
Run a test import into a staging project
Create a staging project on Odoo.sh and import the dump into it, without touching production. Record any import errors, failed modules and long-running steps, and check that the imported data opens, reports run and the filestore attachments display. The step is done when the staging import completes and the errors are logged with an owner for each one.
Push modules and fix build failures
Push custom modules and any community modules to the Odoo.sh project's Git repository, then watch the build. Fix dependency declarations, manifest entries and code that fails against the target version, and retest the staging import after each change. The step is done when the staging build is green and every module loads without errors on the target version.
Check outgoing mail servers
Confirm outgoing mail server settings on the staging project, send test messages for invoices, password resets and scheduled notifications, and check that the sending domain and authentication records match your mail provider. Disable or redirect mail on the staging copy so customers never receive test messages. The step is done when test mail arrives at internal addresses through the intended server and no staging message reaches an external recipient.
Run a parallel test on a neutralized copy
Use a neutralized copy of the production data on the staging project so that users can run real processes side by side with the old server without triggering live emails, payments or integrations. Compare key outputs such as invoice totals, stock levels and reports between the two systems. The step is done when reconciled results are signed off by the business owners of each area.
Cut over to production and decommission the old server
Freeze writes on the old server, take a final dump and filestore copy, import into the production project, and repoint users, integrations and DNS. After a verification period agreed in advance, shut down the old server and archive its backups according to your retention policy. The step is done when production passes its checks, users are signed in, and the decommissioning record lists what was removed and where the archive is kept.
How storage and version rules shape the import
Odoo.sh only imports databases that run on a supported version, so the first check is the version of your self-hosted database, not the version you want to end up on. If your database is on a version that is no longer supported, plan an upgrade step before the export. Odoo's upgrade service moves a database through an upgraded test copy that should be tested before production, and the Odoo upgrade documentation describes that path. Confirm with Odoo which intermediate versions your database must pass through, since skipping a version can leave custom modules and data behind. Also confirm which Odoo versions are supported on the day you plan to import, because the support windows in the Odoo support documentation move on a fixed schedule.
Disk planning must account for four times the dump size. Odoo.sh needs four times the size of the database dump in available storage during import, so a 10 GB dump needs at least 40 GB (illustrative of the rule, using the documented ratio). Ask your team to measure the dump file, not the live database, and to add the filestore to the plan: attachments, images and generated documents live outside PostgreSQL, and they must be packaged and moved with the database. Check the Odoo.sh project size before you start, and confirm with Odoo whether the filestore counts toward the same limit in your plan. If you use a trial project created with a partnership code, the import is capped at a 1 GB dump, so a larger database needs a full project.
Plan the upgrade cycle as part of the migration, not after it. On Odoo Online and Odoo.sh, major version upgrades are mandatory every two years according to the Odoo upgrade documentation, so the version you land on will need an upgrade within that window. Put a dated upgrade review in the post-cutover runbook, with a test copy of production, a regression pass over custom modules and integrations, and a named owner. Ask Odoo or your implementation partner to confirm the upgrade date for your chosen version and whether any custom code needs porting before the next cycle. Budget the upgrade as recurring work, because the cost of each cycle depends on how much custom code you carry.
What drives the effort and cost of the move
The effort of moving a self-hosted Odoo database to Odoo.sh depends on a few measurable inputs: the size of the dump, the code you need to carry across, how far the version is from a supported one, and how many external connections must be rebuilt. The cost splits into one-time migration work and recurring hosting and support spend, and a written quote should make both visible.
Database and filestore size
The dump size sets the storage you must have free during import. Odoo.sh needs four times the dump size in available storage, so a 10 GB dump needs at least 40 GB (illustrative of the rule). Measure the database and the filestore separately, since attachments often make up most of the volume. Ask the partner to confirm the storage plan on the target project before the import window is booked.
Odoo.sh project docsCustom and community modules
Every custom or community module must be pushed into the Odoo.sh repository and checked against the target version. Modules that were written for an older release often need porting, and each one adds review and test time. Count the modules, note their origin and confirm which ones the target project will load. Odoo's pricing page states that custom modules are included only on the Custom plan.
Odoo pricingDistance between source and target versions
The farther the source database sits from a supported version, the more upgrade steps the move may need. Odoo.sh imports databases on supported versions only, so an unsupported source must be brought forward first. Check the current support windows for each release, since a version that has left standard support will not be accepted without work. Ask for a written list of the upgrade hops and the test runs for each.
Support windowsIntegrations that need reconnection
Payment providers, shipping carriers, banks, Microsoft 365 and other connectors store credentials and callback addresses tied to the old host. Each one must be reconnected, retested and sometimes re-registered with the outside service. List every integration, who owns its account, and whether its credentials can be rotated by your team. This work is easy to underestimate and often dominates the testing phase.
Users and sign-in methods
The number of users affects both the subscription and the time needed to check access after the move. Each sign-in method, such as LDAP, Google Sign-In, Microsoft Azure OAuth or two-factor authentication, needs its own test and its own configuration on the new host. Confirm which methods are in use, which identity provider backs each one, and who holds the admin accounts that must be validated.
Odoo LDAP docsState of the mail setup
Outgoing mail servers often point to the old host, a relay that only accepts traffic from known addresses, or a sender domain that needs new records. Check each outgoing mail server, its authentication and the sending addresses used by workflows. Confirm the mail configuration is reviewed before cutover, so invoices and password resets do not fail on day one.
One-time work and recurring spend
One-time costs include the assessment, repository work, test imports, integration checks and the cutover window. Recurring costs include the Odoo.sh hosting plan, the Odoo subscription and any support retainer. Ask for each line item in the quote, marked as one-time or recurring, with the party responsible for it. Request the acceptance criteria for testing and the rollback plan written into the scope.
What usually goes wrong and how to prevent it
What happens if the source Odoo version is not supported by Odoo.sh?
Odoo.sh imports databases only on supported versions, so an older database must be upgraded before it can be moved. Check your current version against Odoo's standard and extended support windows before you plan the import. If the version is out of support, plan the intermediate upgrade steps first, run each one on a test database, and confirm the result loads cleanly on the target version. Ask your partner or Odoo to confirm which upgrade path applies to your exact version, because the path depends on where you start.
How much disk space do I need to import an Odoo database to Odoo.sh?
Odoo.sh needs four times the dump size in available storage during the import. For example, an illustrative 10 GB dump needs at least 40 GB free. Measure the dump file, not the live database, and include the filestore if it is part of your backup. Confirm the storage quota on your Odoo.sh project before you start, because running short during import can stop the process partway through. Also note that trial projects created with a partnership code can only import dumps up to 1 GB, so a full production dump will need a standard project.
Why do custom or community modules fail to build after the push to the repository?
Modules usually fail because they depend on a different Odoo source revision, a missing Python package, or an addons path that does not match the Odoo.sh repository layout. Before pushing, confirm that each module is compatible with the target version and that its manifest lists every dependency. Community modules from the Odoo Community Association and Apps Store modules often need a version-specific copy. Build and install the modules on a staging branch first, then check the build log for missing dependencies before you promote anything to production.
What happens to outgoing mail if the old server still sends messages?
If the old server keeps its outgoing mail configuration, customers may receive duplicate invoices or reminders, and some messages may be lost when replies go to a server that no longer processes them. Before cutover, disable or pause outgoing mail on the old system, then configure the outgoing mail servers on Odoo.sh and send a test message from each one. Confirm that the sending domain's SPF and DKIM records accept the new sender. Keep the old server quiet until the new one has been verified.
Which integrations and webhooks still point to the old host after the move?
Payment providers, shipping carriers, banks, marketplaces, API clients and webhooks often store the old host name in their own settings, so they keep sending data to the previous server after the switch. Build an inventory of every external connection, including its callback URL, API key and allowed origin. Update each one to the Odoo.sh hostname during the cutover window, then test a real transaction or webhook delivery. Revoke or rotate API keys that were copied to the old system, and confirm that old endpoints return errors rather than accepting data.
Why do users fail to sign in after the database is moved?
Sign-in settings are often not carried over with the data, so users may find that LDAP, Google, Microsoft Azure or two-factor settings behave differently on the new host. Record each authentication method in use on the old server, including its redirect URIs and certificate or secret values. Recreate them on Odoo.sh, update the redirect URIs in the identity provider to the new hostname, and test sign-in with a set of accounts from every group. Confirm that two-factor authentication enrollment survives the move for each user.
Can we run the import ourselves, and what should we confirm before we start?
Many teams can run the import themselves if they have Odoo administration skills and a clear rollback plan, but the risk is in the preparation steps listed above. Confirm the source version, free storage, module compatibility, mail settings, integration inventory and sign-in methods in writing before the import begins. Ask whether a fixed-scope engagement covers the test import, the module push and the cutover checks, and what is left for your team to run afterwards. Keep the old server available until the new system has passed a full test cycle.
Checking outgoing mail servers before cutover
The first thing to settle is who sends mail once the database is on Odoo.sh, because a copied database carries its outgoing mail server settings with it. Before any user logs in to the new project, check the outgoing mail server configuration in Odoo's settings and confirm which server the new project will use, which sender domain it presents, and whether your mail provider accepts sending from the Odoo.sh address range. Ask your mail provider or internal mail team to confirm the sending address and any allow-list or SPF and DKIM records they need, because those are controlled outside Odoo and are not transferred by the import. Treat this as a go or no-go item for the cutover checklist, not something to fix after users arrive.
A production dump is not safe to use as a test copy without changes. Import the database into a project that is not yet receiving user traffic, and make sure the outgoing mail server is either disabled or pointed at a sink you control before any scheduled action, automated report or reminder runs. Odoo's on-premise documentation describes database duplication with neutralization for test copies, and the same discipline applies here: an imported copy that still holds live mail settings, active scheduled actions and real partner email addresses can send messages to customers and suppliers. Confirm that the neutralized or test environment has no route to real recipients before running any workflow that sends mail, and check the scheduled actions list in the new project before enabling them.
On the old server, do not shut down the mail path until the new project has been verified and the last production data has been imported. Record the outgoing mail server name, port, encryption method and sender address currently in use, so the same settings can be reapplied on Odoo.sh if your provider permits it. Stop scheduled actions and any cron jobs on the old server at the agreed cutover point so the two systems do not both send reminders for the same invoices. Keep the old server's mail configuration intact for a rollback window, and confirm with the mail team which mailboxes receive bounces and replies, since those will continue to point at the old system unless you reroute them.
How the on-premise database, filestore and repository reach Odoo.sh
The flow starts with the on-premise database dump and the filestore, which are duplicated and neutralized to create a test copy that never touches live users. Custom and community modules go to the Git repository in parallel, so the code and the data arrive at the same staging project. Check the supported version, the storage headroom (four times the dump size during import) and the outgoing mail servers before the staging import is accepted and production cutover is scheduled.
Data, filestore and code paths from the on-premise server into Odoo.sh staging and production.
How DeployOpen works on this
DeployOpen plans and carries out the move of a self-hosted Odoo database to Odoo.sh inside a written scope. The work starts with checking the source version, storage and modules, then moves through a test import, the repository changes and mail checks before cutover.
How we scope
- Confirm the source Odoo version is on the supported list before any import is planned
- Size the dump and the Odoo.sh storage so the four times dump size requirement is met
- Inventory custom and community modules, outgoing mail servers and integrations in the written scope
How we build
- Import the database into a test project and check that it loads on the target version
- Push custom and community modules to the Odoo.sh repository and confirm they install cleanly
- Configure and test outgoing mail servers and reconcile users, companies and subscription settings
How we hand over
- Deliver a written record of the source version, storage check, module list and mail configuration
- Provide a test report covering imports, module installs and mail sending before switch-over
- Document the cutover steps and the rollback point so your team can repeat or verify them
How we support
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts
- Ongoing support, upgrades and continuous testing are available as a retainer
- Confirm with DeployOpen which Odoo upgrade steps and support windows apply after the move

