Where Does Vaultwarden Store Data?
Vaultwarden /data directory with db.sqlite3, config.json, keys and attachments on Linux.
Last updated
Vaultwarden keeps everything in one data directory: db.sqlite3 with vaults and users, config.json for admin settings, RSA keys for tokens, plus attachments and sends folders. No external database exists to back up separately.
That single directory is the whole backup. Snapshot the SQLite file properly rather than raw-copying it live, and guard the keys like the passwords they protect.
Where Vaultwarden stores this, by platform
/var/lib/docker/volumes/vaultwarden/_data
Default host path of the vaultwarden volume when /data mounts there, holding db.sqlite3, config.json, rsa_key files, attachments and sends. Confirm with docker volume inspect since binds vary. Back up with sqlite3 .backup or a dedicated image rather than raw copies. Restore into the same directory on a matching version.
Frequently asked questions
How do I back up Vaultwarden?
Snapshot db.sqlite3 with the SQLite backup command plus config.json, keys, attachments and sends from the directory above. Scheduled backup images automate the set.
Where are Vaultwarden attachments?
In the attachments folder inside the data directory above. They restore with the database as one unit.
Notice an outdated path? Let us know.