Linux

Where Does FileBrowser Store Data and Config?

FileBrowser database and config file paths for self-hosted installs on Linux file servers. Covers defaults.

Last updated

FileBrowser keeps users and settings in a small database. The default file is filebrowser.db in the working directory with a .filebrowser.json config beside it. That pair is the install to back up.

Docker installs map the same pair through a config volume. The database holds users, shares, and rules. Back up the database with the config file. Shared folders themselves live outside both. Share links expire per settings. Hide dotfiles from listings. LDAP maps existing users. Previews handle common types.

Where FileBrowser stores this, by platform

Linux
/database/filebrowser.db (FileBrowser)

User and share database for the instance. Created on first run with the admin user. Copy with the config file for moves.

Linux
.filebrowser.json (working directory)

Port, auth, and database path settings. Docker passes equivalents as flags. Keep a copy off the server with the database.

Frequently asked questions

what do i back up for a FileBrowser move

Copy filebrowser.db with .filebrowser.json for full moves. The database holds users and shares. The config holds ports and auth. Both restore browsing. Keep copies safe.

where is the FileBrowser config file

Open .filebrowser.json in the working directory to read port and database blocks. The database defaults beside it. Docker passes equivalents through flags and volumes.

Notice an outdated path? Let us know.