Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Set up master slave in SQlite on the same server

$
0
0

I was looking for a way to replicate my database (in SQLite) on the same server. I've read in this book that SQLite has no internal support for database replication. Searching Stackoverflow for similar questions, I found this post where @Bernardo Ramos suggested using Litereplica saying that it supports master/slave replication for SQLite3 databases.

I've read the details page of this site where it explains how Litereplica works and what should we do on the master and on the slave side. But it didn't explain how to set up master slave and I did not understand how could I build master and slave on the same server. Also, in the application code, where and how should I define/differentiate master and slave?

Thanks,


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>