Move Odoo from Odoo.sh to your own servers

Moving Odoo from Odoo.sh to your own servers means restoring a production backup with its filestore, moving custom modules, and switching subscription and DNS. This page explains the documented path, the effort drivers and the testing needed before switch-over.

On this page

Move Odoo from Odoo.sh to your own servers: what the work involves

Teams leave Odoo.sh for on-premise or private cloud hosting when they need control over where data lives, want to run custom or Apps Store modules on infrastructure they manage, or need to meet internal hosting rules. The move itself is documented by Odoo: you download a backup of the production database with its filestore, restore it through the database manager on your own server, and bring custom modules across from the GitHub repository that backs the Odoo.sh project. The effort, however, depends on the modules you run, the Odoo version in production, and how many integrations depend on the current environment. A database with a few standard apps and no custom code is a very different job from one with several custom modules and live payment or bank connections.

Licensing comes first. Odoo's pricing page states that only the Custom plan can be hosted on Odoo.sh or on-premise, and that custom modules, multi-company, Odoo Studio and external API access are part of that plan. On-premise use also requires an Enterprise subscription, which is activated with a subscription code. Confirm with Odoo, or your partner, that your current subscription covers on-premise hosting and that the subscription can be moved to the new environment before you plan the cutover. Ask whether any of your Apps Store modules carry their own license terms, since those can affect where they may run.

Check the version next. Odoo standard support covers the first three years after a major release on Odoo.sh and on-premise, and security patches are only provided during standard support. Compare your production version against the support dates in Odoo's documentation, and check whether a major version upgrade is due before or after the move, since Odoo.sh requires major upgrades on a fixed cycle. Doing the move and an upgrade at the same time multiplies the test work, so decide the order early and record it in the project plan.

Which Odoo.sh components map cleanly to self-hosted Odoo

This table compares each Odoo.sh element your database depends on with its self-hosted counterpart and flags the items that need manual work. Read it as a checklist: rows marked as direct transfers still need verification, and rows marked manual need an owner and a test before switch-over. Confirm each item against the Odoo 19.0 hosting documentation for your version.

Odoo.sh componentSelf-hosted equivalentMigration note
Production databasePostgreSQL database restored from the downloaded backupDownload the backup from the Odoo.sh database manager and restore it locally. Confirm the restore path against the hosting docs for your version.
FilestoreFilestore directory on the server (data_dir)Attachments and images travel in the backup. Check that the restored filestore matches the database, or attachments will show as missing.
Custom modules in the GitHub repositoryAddons paths on your server, matched to the same Odoo source revisionCopy modules from the repository into your addons path. Manual work: confirm each module loads on the target Odoo version before go-live.
Staging branchesTest database on your own serverStaging branches do not transfer as such. Rebuild a test copy from the production backup and test there before switching users.
Odoo.sh build settings and configurationServer configuration file and service setupOdoo.sh manages build and runtime settings for you. Manual work: recreate worker, memory, and proxy settings on your server.
SubscriptionEnterprise subscription code entered on the serverManual work: on-premise Enterprise databases are activated by entering the subscription code. Confirm your subscription covers on-premise use before cutover.
Custom domain and DNSYour own reverse proxy and DNS recordsManual work: point DNS and TLS certificates at the new server only after the test database passes. Plan a short cutover window.
Outgoing mailYour own SMTP server configurationManual work: Odoo.sh mail settings do not carry over. Reconfigure outgoing mail on the new server and send test messages before switch-over.
BackupsBackup routine you operate on your own infrastructureOdoo.sh backups stop when you leave the platform. Set up and test your own database and filestore backups before going live.

Documented tools for moving the database and modules

Odoo documents moving an Odoo.sh database on-premise by downloading a backup of the production database and restoring it from the database manager on the local server. The backup is the starting point for the whole move, so the restore has to bring back both the PostgreSQL data and the filestore, which holds attachments, images and generated documents. Keep the backup, the target Odoo version and the local server's database settings aligned before you begin.

  • Production backup download: Take the backup from the Odoo.sh project on the production branch and confirm it includes the filestore, not only the database dump.
  • Restore through the database manager: Restore on the local server from the database manager, which requires the database manager to be enabled on that instance, so check how your install exposes it.
  • Version match: Restore onto the same Odoo version the backup came from before any upgrade, because the upgrade service handles version changes separately.
  • Test copy with neutralization: Duplicate the restored database and use neutralization for test copies, so outgoing mail, scheduled actions and payment connectors do not fire against live partners.
  • Filestore location: Confirm the restored filestore sits where the local Odoo configuration expects it.

Before you restore, confirm with Odoo's hosting documentation and your own Odoo.sh project settings which backup options your plan offers and how long the download takes for your database size.

How the parallel run and switch-over are sequenced

The sequence turns a Odoo.sh production database into a tested copy on your own servers, proves that copy with users and integrations before any live traffic moves, and ends with a cutover window and a retired Odoo.sh project.

  1. Inventory modules, versions and external services

    Your team lists every installed custom and Apps Store module, the Odoo version in production, each integration (payment, mail, banking, identity, shipping), scheduled actions and the external services each one calls. Odoo.sh repository branches are matched against the production version so nothing is assumed. The step closes with a signed-off inventory that names an owner for each item and states which items are Enterprise-only, so the target subscription can be checked before any servers are built.

  2. Provision the target and install the matching version

    Your infrastructure team or DeployOpen builds the target servers in your cloud account, data center or private network, then installs the same Odoo version as production, using the on-premise packaged installer or source installation. The Enterprise subscription code is entered to activate the database, and the Python, PostgreSQL and reverse proxy versions are recorded. The step is complete when an empty instance starts, serves the login page and reports the expected version.

  3. Download and restore the production backup

    The production database and filestore are downloaded from the Odoo.sh project as documented for moving a database on-premise, then restored into a test database through the database manager on the local server. Attachments, images and documents are checked against the filestore so that records do not show broken links. The step closes when a test login succeeds and a sample of invoices, contacts and attachments opens correctly.

  4. Move custom modules and resolve dependencies

    Custom modules are taken from the Odoo.sh GitHub repository and placed on the target addons path, with third-party dependencies installed to match. The addons path in the configuration file is updated and the module list is refreshed so every custom module loads without errors. Each module is then upgraded in the test database, and the step closes when the server log shows no load errors and all custom modules appear as installed.

  5. Run the parallel test on neutralized copies

    A duplicated copy of the restored database is neutralized so outgoing mail, payment providers and scheduled actions cannot reach real customers or banks, as Odoo documents for test copies. Business users run their month-end, order and invoice workflows on it, and integrations are checked against sandbox endpoints. Differences between Odoo.sh and the target are logged with an owner and resolved before the next step. The step is complete when the agreed test scripts pass and the open defect list is empty or accepted in writing.

  6. Apply the version upgrade and test it

    Odoo documents that major versions are mandatory every two years on Odoo.sh and Odoo Online, so a version that is due for upgrade is handled here, not during cutover. Odoo's upgrade service produces an upgraded test database, which must be tested against the same scripts used in the parallel run before production is touched. Custom modules are ported to the new version in the same pass. The step closes when the upgraded test database passes the full script set and the upgrade is signed off.

  7. Transfer the subscription and change DNS

    The subscription is moved to the on-premise deployment, which requires an Enterprise subscription, and the target is activated with the subscription code. DNS records and the reverse proxy are prepared so the public hostname can point to the new server, with the TLS certificate issued before the switch. Lower DNS time-to-live values are set ahead of the window if your DNS provider supports it. The step closes when the subscription shows as active on the target and the new hostname resolves to a staging endpoint.

  8. Cut over during the agreed window

    Users are stopped from writing to Odoo.sh, a final backup and filestore download are taken, and the restore is repeated on the target. Scheduled actions and mail queues are re-enabled only after the restored data is verified, then DNS is switched and integrations are pointed at the new hostname. The window length is agreed in advance with the business and the step closes when the sign-off checklist confirms that transactions post correctly and users can sign in.

  9. Decommission the Odoo.sh project

    After a period agreed with the business for fallback, the Odoo.sh project is archived or deleted and repository access for the target team is confirmed. Backups from the final cutover are stored in your own backup system, and the runbook, configuration and module list are handed over to the operations team. Confirm with Odoo the current terms for ending the Odoo.sh service and any remaining billing. The step is complete when the old environment is no longer billed and the operations handover is signed.

Why the Odoo version and support dates shape the move

The version you land on determines how long you can run it safely, so agree the target Odoo version and its patch path before cutover starts. Standard support covers the first three years after a major release on Odoo Online, Odoo.sh and on-premise, and includes security updates and bug fixes. Paid extended support afterwards is limited to Odoo.sh for select versions and to on-premise, and security patches are only provided during standard support. Once you leave Odoo.sh, your servers carry the patching load, so a version that is near the end of standard support gives you a short window to run the platform before you must upgrade again.

The supplied dates show how quickly this window closes. Odoo 17.0 standard support ended in September 2026, Odoo 18.0 standard support runs until September 2027, Odoo 19.0 until September 2028, and Odoo 20.0 until September 2029. A database that is cut over to 18.0 in an early 2027 window would have months of standard support left, while one moved to 17.0 would have none. Ask your Odoo contact which version your production database currently runs, which target version your business needs, and how the intermediate upgrade steps will be scheduled and tested on a copy before the switch. Confirm current status on Odoo's standard and extended support page, since these dates change as releases move through their lifecycle.

Write the target version into the cutover plan as a named decision with an owner, a support end date and a retirement date for the old environment. Budget the on-premise support and upgrade work as recurring cost, because each new major version brings another round of testing, custom module porting and sign-off. If your custom modules depend on features that only the Custom plan supports, confirm the subscription tier before you commit, since that tier determines whether your servers are a supported hosting option at all.

What drives the cost and duration of the move

This table lists the factors that push the effort of leaving Odoo.sh up or down, with the direction each one moves cost and time. Read each row against your own database, module list and integrations, because the same driver can be small for one company and large for another. The main takeaway is that custom code, dependencies and internal staffing usually matter more than raw database size.

DriverEffect on cost and durationWhat to confirm or reduce
Number and complexity of custom modulesMore modules and deeper inheritance increase porting, testing and repository workInventory each module in the GitHub repository and note which ones override core models
Apps Store and OCA dependenciesEach third-party module must be installed, version-matched and tested on self-hosted OdooConfirm the exact module versions in use and whether each one supports your target version
Enterprise-only features in useEnterprise features need a subscription on your own servers, which changes licensing scopeCheck the plan on Odoo's pricing page and confirm which apps your subscription covers
Number of integrationsPayment, bank, identity, email and shipping connectors each need reconfiguration and testingList every external system and its credentials, endpoints and callback URLs
Database size and filestore sizeLarger dumps and attachments lengthen download, transfer and restore windowsMeasure the database dump and filestore before scheduling the cutover
Version gap between Odoo.sh and the targetA larger gap means more upgrade steps and more test cycles on a staging copyConfirm the current Odoo.sh version and the version your target server will run
Staging branches and test coverageExisting staging branches can be reused for testing, while missing tests add manual verificationAsk whether automated tests exist and which business processes need signed-off test cases
Mail and DNS changesOutgoing mail, inbound routing and DNS records must move with the site, and propagation adds waiting timeDocument current mail servers, MX and A records, and who controls the DNS zone
Internal staffingLack of Linux, PostgreSQL or Odoo operations skills shifts work to external help or extends timelinesName the people who will own backups, patching and upgrades after go-live
One-time versus recurring workMigration, testing and cutover are one-time; patching, backups, upgrades and monitoring recur on your serversAsk any partner to split its quote into one-time migration and recurring operations

What usually goes wrong when leaving Odoo.sh

Most failed moves off Odoo.sh are not database failures. They come from custom code that does not match production, files that did not come across, and live integrations that keep running in two places at once. Each card below names one of these risks and the check that prevents it.

Custom modules on the wrong revision

Production on Odoo.sh runs the modules in the linked GitHub repository at a specific commit. If the on-premise addons path points to a different branch, an older commit, or a copy made by hand, the restored database will load with missing or mismatched code. Before restoring, record the production commit hash, check out that exact revision on the new server, and confirm every custom module in the addons path is the same version that production runs.

Odoo hosting docs

Filestore left behind

The database backup holds records, but attachments, product images and document files live in the filestore, which is not in the SQL dump. A restore without the filestore produces pages where images and PDFs are broken or missing, and the gap is easy to miss in a quick login test. Download the filestore with the backup, place it where the server's data directory expects it, and open a sample of attachments, invoices and product images before accepting the restore.

Subscription not active at cutover

Odoo Enterprise on-premise databases are activated by entering the subscription code, and the Enterprise source code is not publicly available. The Odoo.sh subscription and the on-premise subscription need to be confirmed as the same contract with the right edition, and the code must be applied on the new database before users log in. Confirm the subscription status with Odoo and test activation on the staging restore, not on the day of switch-over.

On-premise docs

Duplicate mail and scheduled actions

During a parallel run, the restored copy and production can both send outgoing email and execute scheduled actions such as reminders, recurring invoices and stock syncs. Customers may receive duplicate messages, and external systems may be updated twice. Before the copy starts, disable outgoing mail servers and scheduled actions on the test database, or configure it to neutralize them, and confirm that only one environment is live for each integration.

DNS and SSO callbacks not updated

Odoo.sh gives each database a hostname, and identity providers and payment or banking callbacks are often registered against that address. After the move, a changed domain can break Microsoft or Google sign-in, webhook callbacks and email links that still point to the old host. Inventory every external system that holds the current URL, update redirect URIs with each provider before switch-over, and keep the old host resolving for a short transition period.

Untested version upgrades

Odoo Online and Odoo.sh require major version upgrades every two years, and an Odoo.sh database may sit on a version that needs an intermediary upgrade before it runs on the target on-premise release. Upgrading straight to a newer version without a test pass can break custom modules and reports. Confirm the target version against the support windows, run the upgrade on a copy, and test custom modules and reports before production is touched.

Upgrade docs

Questions buyers ask before moving Odoo off Odoo.sh

What does it cost to move Odoo off Odoo.sh to our own servers?

The cost is the sum of your own infrastructure, the Odoo subscription you need for on-premise use, and the labor to move the database, filestore and custom modules and to test them. Odoo's pricing page says only the Custom plan can be hosted on Odoo.sh or on-premise, so confirm your current plan before you budget. Infrastructure and subscription costs recur, while the migration labor is one-time. Labor rises with the number of custom modules, the size of the filestore, the number of integrations that must be repointed, and how much testing your business requires. Ask any partner for a fixed-scope quote that lists each of these items separately, with the test cycles included.

How long does an Odoo.sh to on-premise move take?

The duration depends on the drivers that matter most: database and filestore size, the number and complexity of custom modules in your GitHub repository, how many external systems need new endpoints, and how many test rounds your users need before switch-over. Download and restore time depends on your network and storage, so measure it on a copy first. Plan a separate window for the final production backup, restore, DNS change and user cutover. Ask your partner to show the test plan and the expected number of test cycles in the written scope before agreeing to a timeline.

Can our in-house team move Odoo off Odoo.sh without a partner?

Yes, if your team has Linux, PostgreSQL and Odoo administration experience and someone who owns each custom module. Odoo documents restoring a production backup from the database manager on a local server, so the core steps are documented. The risk lies in the details: matching the Odoo source revision and addons paths, restoring the filestore, installing Python dependencies, configuring mail and proxies, and proving that every workflow still works. Assess your team against that list honestly. If one of those skills is missing, a partner can cover the gap, or your team can shadow a rehearsal before the production cutover.

What do we need to provide for the move?

Plan to provide four things before the work starts. First, administrator access to the Odoo.sh project, including the production backup download and the GitHub repository that holds custom modules. Second, the subscription details and the authority to activate an on-premise Enterprise database with its subscription code. Third, named module owners who can confirm that custom code, reports and integrations behave correctly. Fourth, test users from each department who can run their daily processes in the test copy. Also confirm who owns DNS, mail servers and any external integrations that point at the current hostname.

Can the Community edition make this move, and why does it matter for upgrades?

Odoo's documentation ties the upgrade service to Enterprise. The Community edition is licensed under LGPL-3.0 and its source is on GitHub, but the upgrade service is not available to Community users, and on-premise use of the upgrade service requires an Enterprise subscription. Odoo.sh and Odoo Online require major version upgrades every two years. Standard support covers the first three years after a major release, and security patches are only provided during that period. If you move to a Community setup, you take on the upgrade path yourself, so confirm the version plan and the support you need before choosing the edition.

What happens to our Odoo.sh project after switch-over?

After switch-over, the Odoo.sh project stops serving users, but keep it available until your new environment has been stable for the period you agree on. Keep the final backup and the repository history as a fallback. Cancel or change the hosting arrangement only after your subscription has moved and invoices are settled, and confirm the cancellation steps with Odoo. Update DNS, outgoing mail and integration endpoints first, then retire the old hostname. Ask your partner to document the final cutover and the rollback plan in writing.

How data, modules and traffic move during the switch-over

The diagram starts with the Odoo.sh production backup, which includes the database and filestore, and the custom modules in the GitHub repository. Both feed a test environment on your target servers, which must pass before an upgrade test and user acceptance run. A cutover window then moves DNS and the subscription to the new production, while Odoo.sh stays read-only until decommissioning. Check each gate in writing before moving on.

Phases, data hand-offs and decision gates for leaving Odoo.sh.

What your team provides and what DeployOpen delivers

The move depends on a short list of client inputs, and the first one to secure is access to the Odoo.sh project itself. Someone with administrator rights on the Odoo.sh project must be able to open the production database manager and download a backup that includes the filestore, since the attachments, images and generated reports live there and not in the database. Your team also needs read access to the GitHub repository that Odoo.sh builds from, because the custom and Apps Store modules you run in production are pulled from that repository. Confirm early who holds the repository owner role, whether any module is vendored from a third party under a license you must keep, and whether the branch in use matches what production actually runs.

Licensing is the second input. Odoo's pricing page states that only the Custom plan can be hosted on Odoo.sh or on-premise, so your subscription must already be on that plan before a self-hosted server can be activated. Enterprise databases on-premise are activated with the subscription code, so your team must provide the code and confirm that the subscription covers the number of users and apps in use. Finally, provide the people who own DNS for the public domain, the outgoing mail server settings and its sender records, and the business testers who will sign off each process. Without the DNS and mail owners in the room, the cutover date often slips.

In a fixed-scope engagement, DeployOpen delivers a written inventory of the Odoo.sh instance, covering the Odoo version, installed modules, cron jobs, mail and external service settings and the filestore size. The deliverables then include a target build on your servers, a restore runbook with the exact commands and checks used in the rehearsal, test evidence from the restored copy, a cutover plan with rollback steps and a handover document for your operations team. The scope, deliverables and timelines are agreed in writing before work starts, so any item not listed, such as a version upgrade or a new integration, is quoted separately.

Options for hosting after leaving Odoo.sh

Leaving Odoo.sh means choosing who operates the server, the database and the patch cycle from day one. The four options below differ mainly in how much of that work your team takes on and how tightly you control access to the database and filestore.

On-premise physical or bare-metal servers

Odoo runs on hardware in a data center or office room that your organization owns or leases. You control the network path, disk layout and physical access, which matters for finance and regulated data. The cost is that your team owns capacity planning, hardware replacement, OS patching and backup verification. Confirm who holds the Enterprise subscription code and how the server is recovered if the host fails.

On-premise docs

Private cloud virtual machines

Odoo runs on virtual machines in a cloud account or private hypervisor that your organization controls. Snapshots, resizing and separate networks make staging and recovery copies easier to build than on bare metal. Operations still sit with your team, including the database, the reverse proxy and the Odoo service. Check who can read snapshots, since a snapshot contains the database and filestore in full.

Docker-based installs

Odoo runs in containers built from an image you maintain, with the database and filestore mounted as volumes. Rebuilding the image gives a repeatable path for upgrades and for moving custom modules into the container. The risk is that image updates, base OS packages and secrets become your responsibility, and a poorly scoped volume can expose the filestore to other containers. Confirm how the image is rebuilt when a security update lands.

Source installation with a managed addons path

Odoo runs directly from the source code on the host, with Python dependencies and the addons path set in the configuration file. This gives the most control over the exact revision and over custom module placement, which suits teams that track the Community source closely. It also means your team maintains the Python environment, PostgreSQL version and service configuration by hand. Confirm that the Enterprise code path and subscription activation are handled before the switch.

Source installation docs

How DeployOpen scopes and runs the move from Odoo.sh

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside your own infrastructure. For this move, we start with a written scope that matches your Odoo.sh edition, custom modules and hosting target, then build and test the new environment before any switch-over.

How we scope

  • Confirm your current Odoo.sh plan, version, custom modules and whether any Enterprise features are in use
  • Agree the target hosting, server layout, subscription activation and DNS cutover steps in writing
  • Define which integrations, outgoing mail settings and user sign-in methods must work on day one
  • Engagements are fixed-scope, with deliverables and timelines agreed before work starts

How we build

  • Download the production backup with filestore and restore it into a prepared on-premise environment
  • Move custom modules from your GitHub repository and align the addons paths and Odoo source revision
  • Run the restored database through a test cycle covering logins, reports, integrations and scheduled actions
  • Document each configuration choice, including proxy, backup schedule and database manager settings

How we hand over

  • Provide a runbook for the cutover window, rollback steps and the order of DNS and subscription changes
  • Deliver a test report listing what was checked, what failed and how each issue was resolved
  • Walk your administrators through backups, updates and access control on the new servers
  • Leave a documented record of the final configuration so your own team can operate the system

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after the switch-over
  • Plan the next major version upgrade early, since Odoo on-premise depends on supported versions and an Enterprise subscription
  • Confirm with Odoo which support windows apply to your version before setting the upgrade timeline
  • Retainer scope, response expectations and fees are set in writing once your environment is known

Sources and further reading

Talk to our team.

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

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