local database back up if connection not found
-
-
Hi,
If I understand you correctly, you want to keep a copy of the remote database locally in case the network goes down ?
-
Then you should rather do "offline first", i.e. save everything in your local database and then send things remotely.
-
Then QtDataSync project might be of interest.
WARNING I haven't tested it, just did a quick search on the theme.
-
@filipdns it looks like you're posting a problem related to database replication and not regarding Qt itself. I mean, you may rely on replication from the DB engine(s) you're using (i.e. Oracle, PostgreSQL, even there's replication based on sqlite) so I'd try setting up a good replication schema of replication between the central server and your PCs and then make Qt application always connect locally to DB, and all the DB synchronization will be carried on magically by the DB engine...