No support for litestream (sqlite streaming replication) #1519
Replies: 3 comments
-
This is more a feature request then an issue. To have this supported we probably need to add a new configuration parameter or something special to the database url. That way people can also change more PRAGMA settings if they really want. |
Beta Was this translation helpful? Give feedback.
-
I would go further -- this is all feature request, zero issue. I'm not sure what exactly is meant by "database corruption", but https://litestream.io/tips/ only seems to say that WAL mode is required, which bitwarden_rs already uses by default. The other settings seem to be for better performance (the If bitwarden_rs were to provide more user control over database init, it would probably be better to provide a new config item like |
Beta Was this translation helpful? Give feedback.
-
Has anyone tried litestream with vaultwarden in the past 2+ years? If so, can you comment about your experience? |
Beta Was this translation helpful? Give feedback.
-
Subject of the issue
Attempting to use litestream corrupts the sqlite database. It would be very useful to have this support to make for really easy database backups. Litestream has a tips/tricks page for getting your application to support litestream
Deployment environment
Install method: Docker image
Clients used:
Reverse proxy and version:
MySQL/MariaDB or PostgreSQL version:
Other relevant details:
Steps to reproduce
Run bitwarden_rs, run litestream replicate
Expected behaviour
No database corruption
Actual behaviour
Database corruption
Troubleshooting data
Beta Was this translation helpful? Give feedback.
All reactions