Odoo Community backup and restore
Use the Odoo 19 ZIP dump so that the filestore travels with the logical database backup.
Last updated
On this page (5)
Odoo Community ยท Backup and restore
Before you start
- Odoo 19 CLI and matching add-ons.
- PostgreSQL tools and a database account with appropriate privileges.
- Isolated test environment.
Procedure
- Pause writes and run
odoo-bin db dump <database> odoo.zip --format zipusing the appropriate config; do not exclude the filestore. - Keep Odoo configuration, custom add-ons and their dependencies separately. Verify that the ZIP contains both the database dump and expected filestore entries when attachments exist.
- On the isolated target use
odoo-bin db load <new_database> odoo.zip --neutralizewith target configuration. Use a new database name, not a force/overwrite option; keep outbound traffic blocked regardless of neutralization.
Verify the result
- Open a known business record with a filestore attachment and print-preview a representative report.
- Verify expected modules are loaded and live mail, payment and scheduled integrations remain disabled.
