trying to figure out #449
Replies: 1 comment
-
I think to solve this you'd end up running litestream on all of the servers. On the server 1, where the db gets updated, you'd run |
Beta Was this translation helpful? Give feedback.
-
I think to solve this you'd end up running litestream on all of the servers. On the server 1, where the db gets updated, you'd run |
Beta Was this translation helpful? Give feedback.
-
Trying to understand, how it's best way to solve my task
I have vps server 1, where sqlite.db is updated, making some internet requests to update database
Also I have another servers, that need to get updates from server 1, like every 6 hours for example (I don't want to load other servers all the time, so need updates every x hours). Those databases read-only
Created config file, that works somehow:
replicas:
key-path: /root/litestream-p
It's created some folder replica.db(not file) with WAL stuff. So I need installed litestream on another servers, to get my database updated? How litestream must be configured? Is it possible to replicate full database, not wal logs? Is it possible to update it from nodejs app, to not reload database(it's ead-only)?
Beta Was this translation helpful? Give feedback.
All reactions