[quote=79382:@Norman Palardy]We used it for the app we wrote for XDC
Ran a backup every 3 hours
That’s running on a Linux host though[/quote]
I’ve just tried the sample from the example folder, and it works.
Could it be I’m running a WebApplication ? The app you wrote for XDC was a regular app or a web app ?
In my WebApplication my Backup test runs in a thread (in a Session), perhaps it does no like that.
make sure you don’t use the same SQLiteDatabase object on different threads. if I remember correctly the SQLite docs, you should not use one connection on several threads as that may cause problems.
I’m only using the SQLiteDatabase object in the same thread. In the same Session.
No matter what I do, it crashes directly without any error/message whenever I call Backup() from a Session.
When I use Backup() from the main thread (as in the Xojo example project), it works.
I suspect the Backup method has some issues when called from a thread, even if the SQLiteDatabase object is always handled from within the same thread.