benbjohnson / litestream

Streaming replication for SQLite.

Home Page:https://litestream.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make DB_PATH in restore optional

hifi opened this issue · comments

When there's more than one database configured it would be really handy for the restore command to work without arguments and try to restore all configured files.

Since the operation is non-destructive if the existing file(s) exist this shouldn't be an issue. Helps a lot in Kubernetes setups where the only place the databases are configured is the configuration file and automatic restore with an init container is desired.

Love this enhancement.