Linux

Where Does Dolibarr Store Documents and Config?

Dolibarr document folder and config file paths for self-hosted ERP installs on Linux servers. Covers defaults.

Last updated

Dolibarr keeps business documents in a documents folder inside the web root. Invoices, proposals, and uploads land there per module. That folder is the bulk of disk growth.

Settings live in htdocs/conf/conf.php with database passwords. Records themselves live in MySQL per that config. Back up documents, the config file, and a database dump together for moves. Modules enable per department. Bank imports reconcile payments. Proposals convert to orders. Stock modules count inventory. Tickets track support cases.

Where Dolibarr stores this, by platform

Linux
/var/www/dolibarr/documents

Invoice and upload root with per module subfolders. Serve with web user ownership. Copy whole tree with the database for migration.

Linux
/var/www/dolibarr/htdocs/conf/conf.php

Database credentials for the ERP backend. Restrict read access to the web user. Keep a copy off the server with dumps.

Frequently asked questions

what do i back up for a Dolibarr move

Copy the documents folder with conf.php and a MySQL dump. Documents hold invoices and uploads. The config holds database passwords. All three restore business.

where is the Dolibarr database configured

Open htdocs/conf/conf.php in the web root to read database host and credentials. Documents stay in documents regardless. Keep the config private. Check version paths.

Notice an outdated path? Let us know.