Where Does Odoo Store Config and Filestore?
Odoo server config and per database filestore paths on Linux for self-hosted ERP installs. And restore steps.
Last updated
Odoo keeps settings in /etc/odoo/odoo.conf with database, data_dir, and addon paths. Business data lives in Postgres per database. Attachments mirror into the filestore under data_dir with one folder per database.
Custom addons sit in extra paths named by the config. Those travel separately from core. Back up the config, the filestore, and database dumps together. Filestore without the database leaves orphaned PDFs. Workers scale request handling by count. Longpolling needs a separate proxy port entry.
Where Odoo stores this, by platform
/etc/odoo/odoo.conf
Database filters, data_dir, and addon paths for the server. Restrict read access since passwords live here. Keep with filestore and dumps.
/var/lib/odoo/filestore
Per database attachment folders under the configured data_dir. Common default is /var/lib/odoo/filestore. Copy with the service stopped.
Frequently asked questions
what do i back up for an Odoo move
Copy /etc/odoo/odoo.conf with the filestore and a Postgres dump. The config holds data_dir and database filters. Attachments live per database in the filestore. All three restore ERP.
where are Odoo attachments stored
Open odoo.conf and read the data_dir line. Attachments default under that root per database name. Docker installs map a volume there. The config is the reliable pointer.
Notice an outdated path? Let us know.