Vaultwarden backup and restore: the 250 KB file that restores an empty vault
A drilled restore on Vaultwarden 2025.6.0: a 249,856-byte db.sqlite3 restored zero users, because 1.2 MiB of the database was in the -wal file.
Tested self-hosting guides, written after actually running the commands.
A drilled restore on Vaultwarden 2025.6.0: a 249,856-byte db.sqlite3 restored zero users, because 1.2 MiB of the database was in the -wal file.
The daemon exits with one error line. Seven proven causes behind it: full vdisk on ext4 and btrfs, a corrupt image, and three config mistakes.
Dump the database, restic the upload folder onto an ext4 USB disk, then restore both halves. Timings and the unplug test.
Database dumps, restic, weekly read-verification and a drill that proves 20,000 rows survive. Commands and timings from a real run.