benbjohnson / litestream

Streaming replication for SQLite.
https://litestream.io
Apache License 2.0
10.8k stars 245 forks source link

Glob support #515

Open titanism opened 11 months ago

titanism commented 11 months ago

I wasn't able to find anything in the docs other than this Hacker News comment by @benbjohnson at https://news.ycombinator.com/item?id=26483220 that mentions glob support. Is this still planned or is the only approach moving forwards to do one file at a time with litestream?

hifi commented 9 months ago

There are some problems with glob support. Each database needs a unique path on the replica so sharing one replica configuration doesn't work directly and databases may be created by applications and not be present on Litestream startup requiring a directory watcher to wait for them - deleting a database probably also needs to stop replication.