You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm trying to set up Vaultwarden and I want to make sure backups are working before I commit.
I'm using incus instead of docker compose or podman, but the OCI container seems to be working fine and I was able to create my account & import my data from Bitwarden proper. I try to backup with
$ incus exec vaultwarden -- /vaultwarden backup
Backup to 'data/db_20250821_151127.sqlite3' was successful
but then the backup is /root/data within the container, not my mounted /data volume. Any clue what could be going on?
root@vaultwarden:~/data# ls -la
total 1012
drwxr-xr-x 1 root root 232 Aug 21 15:11 .
drwx------ 1 root root 64 Aug 21 15:08 ..
-rw-r--r-- 1 root root 249856 Aug 20 22:16 db.sqlite3
-rw-r--r-- 1 root root 32768 Aug 21 15:11 db.sqlite3-shm <---- these sqlite files have different mtimes than in /data?
-rw-r--r-- 1 root root 0 Aug 21 15:11 db.sqlite3-wal
-rw-r--r-- 1 root root 249856 Aug 20 22:16 db_20250820_221657.sqlite3 <---- backups all here
-rw-r--r-- 1 root root 249856 Aug 20 22:22 db_20250820_222246.sqlite3
-rw-r--r-- 1 root root 249856 Aug 21 15:11 db_20250821_151127.sqlite3
root@vaultwarden:~/data# ls -la /data
total 1308
drwxr-xr-x 1 1000 1000 124 Aug 21 15:12 .
drwxr-xr-x 1 root root 224 Jul 21 00:00 ..
-rw-r--r-- 1 root root 1228800 Aug 20 22:22 db.sqlite3
-rw-r--r-- 1 root root 32768 Aug 21 15:13 db.sqlite3-shm <--- this 15:13 time is when I tried deleting a password
-rw-r--r-- 1 root root 65952 Aug 21 15:13 db.sqlite3-wal
drwxr-xr-x 1 root root 2768 Aug 21 15:13 icon_cache
-rw-r--r-- 1 root root 1675 Aug 19 02:20 rsa_key.pem
drwxr-xr-x 1 root root 0 Aug 19 02:20 tm
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm trying to set up Vaultwarden and I want to make sure backups are working before I commit.
I'm using
incus
instead ofdocker compose
orpodman
, but the OCI container seems to be working fine and I was able to create my account & import my data from Bitwarden proper. I try to backup withbut then the backup is
/root/data
within the container, not my mounted/data
volume. Any clue what could be going on?Beta Was this translation helpful? Give feedback.
All reactions