There is an important point related to SQLite dbs
Thank you.
You have an amazing ability to answer questions that have not been asked...
I've been struggling with the SQLite database backup problem for a week now.
The backup always included an intermediate database, not the last one.
After reading the links, I fixed the flaws and now the copying is done correctly, the errors were as follows:
1. Each B4X page opened its own SQL (SQL1, SQL2, SQL3,...) with entries in different tables of the same database.
2. There was no option when creating the database:
Main.SQL1.ExecQuerySingleResult("PRAGMA journal_mode = delete")
Thanks again