SQLite Forum

Opening DB from readonly filesystem (btrfs snapshot)
Login
To open a wal mode database on a read-only medium, use a URI filename and add the immutable=1 argument.

[](https://sqlite.org/uri.html#recognized_query_parameters)