Skip to content

Migrate a self-managed instance ​

Move an Odoo instance running in Docker Compose to the platform. Data, modules, and configuration carry over intact.

Before you start ​

  • SSH access to the host machine running the instance
  • pg_dump available on that host or inside the database container
  • A platform account on a dev or pro plan
  • The Odoo major version of your instance (16, 17, 18, or 19)

1. Find the database name ​

Check your compose file for the database connection your Odoo container uses. The database name is whatever Odoo was initialized with.

If you are unsure, list databases directly:

PostgreSQL on the host
bash
psql -h localhost -p 5432 -U odoo -l
PostgreSQL in a container
bash
docker exec <db-container> psql -U odoo -l

Ignore postgres, template0, and template1.

2. Export the database ​

Dump in custom format - this is what the platform restore uses natively and produces a smaller file than plain SQL.

PostgreSQL on the host
bash
pg_dump -h localhost -p 5432 -U odoo -Fc my_odoo_db > my_odoo_db.dump
PostgreSQL in a container
bash
docker exec <db-container> pg_dump -U odoo -Fc my_odoo_db > my_odoo_db.dump

Note

Upload limit is 500 MB. For larger databases, trim data before exporting.

3. Create a new instance ​

  1. Click New Instance in the dashboard.
  2. Pick a subdomain - you can update the domain after migration.
  3. Select the exact same Odoo major version as your source instance.
  4. Wait for the instance to reach Running status.

Warning

Version mismatches (e.g. restoring a v17 dump into a v18 instance) will break the instance.

4. Upload the dump ​

  1. Open the instance, go to the Backups tab.
  2. Click Upload Backup and select my_odoo_db.dump.
  3. Wait for the upload - the file appears in the list with source upload.

5. Restore ​

  1. Find the uploaded backup in the list.
  2. Click Restore and confirm.
  3. Status changes to Restoring, then back to Running when done.

Log in with your existing credentials - data, installed modules, and settings carry over.

Note

Restore replaces all data in the instance. On a freshly created instance there is nothing to lose.

6. Re-upload custom addons ​

The dump carries over module records, but the source files live on the old host. For each custom addon, open the Addons tab and install from ZIP or GitHub. Standard Odoo apps are already available and need no action.

7. Switch your domain (optional) ​

Open the Domains tab, add your domain, and update your DNS record to point at the platform server (see Custom domain DNS setup). TLS is handled automatically.

Troubleshooting ​

ProblemFix
Restore fails immediatelyInstance must be Running before restore can start.
Modules error after restoreCustom addon files are missing. Re-upload via the Addons tab.
Stuck in RestoringCheck Logs tab. Common cause: PostgreSQL major version mismatch. Re-export with --no-acl --no-owner.
Upload rejectedFile must end in .dump or .sql. Max 500 MB.