I created an application with the SQLite database. I would put the function in the application to back up and restore backup.
Implemented the code for this site link but I could not read the file, I do not know if it's a permission issue. However, it still would not solve all my problem.