Any way to do wildcard replication? #332
-
I'm considering Litestream for a use case to replicate a potentially unknown number of SQLite files to S3 or some other cloud. Is this use case possible? From the config docs I get the impression that the set of databases to replicate is fixed. Would something like the following be possible? dbs:
- path: /data/*.db
replicas:
- url: s3://mybkt.litestream.io/*.db |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
@yawaramin There's an issue open for replicating directories (#42) but the idea is the same. I'm ok supporting a basic |
Beta Was this translation helpful? Give feedback.
-
Thank you. I will gladly test the feature if/when it lands. |
Beta Was this translation helpful? Give feedback.
-
Related to #240 |
Beta Was this translation helpful? Give feedback.
@yawaramin There's an issue open for replicating directories (#42) but the idea is the same. I'm ok supporting a basic
*
wildcard but a glob (e.g.**
) gets a lot more complicated. I was hoping to get it in for the v0.4.0 release but I don't think I'll be able to have time for it.