[ https://issues.apache.org/jira/browse/CB-994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shazron Abdullah updated CB-994: -------------------------------- Attachment: websql_test.png I just did a quick test and the backup works as expected. Here's what I did: 1. After deviceready fires, I opened a db and created a new table 2. Locked the device Attached a screenshot with my results. Note that backup/restore is only initiated when the app goes background/foreground respectively (from a lock/home button backgrounding, relaunch) > WebSQL backup only save Databases.db but not the content of the DB > (0000000001.db) > ---------------------------------------------------------------------------------- > > Key: CB-994 > URL: https://issues.apache.org/jira/browse/CB-994 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Affects Versions: 1.8.1 > Environment: iOS 5, iOS6, Xcode4.5-DP2 and older > Reporter: Samuel Michelot > Assignee: Shazron Abdullah > Priority: Critical > Attachments: websql_test.png > > > Cordova 1.8.1 (and maybe 1.9) doesn't backup the file 00000000001.db > containing the WebSQL data, see this screenshot : > http://cl.ly/2U2t1C0n0I1D0y3s2C3p > The backup only contains the Databases.db > So the SQLite data can be lost. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira