A
A
Alisa Vasilyeva2018-12-22 11:46:33
Software design
Alisa Vasilyeva, 2018-12-22 11:46:33

How to synchronize application DB files without a server?

I am writing a small desktop application with a SQLite database. After I want to write its mobile version. Suppose the user is using both versions of the application. Is it possible to synchronize its data without a server? That is, save the database file somewhere, for example, dropbox, and then pull the changes from there at startup in the mobile application? To what extent is this the right approach? The base will be small.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Artemy, 2018-12-22
@nyarloc

There are databases with replication support. For me, this is a more reliable option. There are also special solutions for database replication like symmetricds

S
sim3x, 2018-12-22
@sim3x

Export / import to csv via google drive
But it's better to start, at least heroku / google app engine / firebase / ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question