B4J Code Snippet [SQLite] BACKUP TO (Alternative to VACUUM TO)

B4X:
SQL.ExecNonQuery("BACKUP TO " & BackupPath)

I tried online backup API using .backup but it doesn't work.
I searched for jdbc method and the above command works even the database is in used.
This method doesn't vacuum the database.

I think RESTORE FROM should also work.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…