{ "id": "83994", "key": "TIMOB-16107", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2011-12-16T15:22:09.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:03:16.000+0000", "status": { "description": "This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.", "name": "Reopened", "id": "4", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "In TIMOB-6273 the decision was made that a Ti.Database should be considered as Offline data and should therefore be installed in \"Private Documents\" by default.\r\n\r\nOffline data will not be synced to the iCloud and (not sure of this part) will therefore not be backed up at all?\r\n\r\nIMHO in a normal database app (and app where the users enter data which is stored in an sqlite db and where those users consider that entered data the single most important part about the app) the database should be labeled as Critical data and should therefore be placed a folder which is backed up in the iCloud cause the users would want it to be backed up as much as possible.\r\n\r\nCould there be an option to let the developer decide this?", "attachment": [], "flagged": false, "summary": "iOS: Database installation folder needs to be synced and backed up", "creator": { "name": "martijnkooij", "key": "martijnkooij", "displayName": "Martijn Kooij", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "martijnkooij", "key": "martijnkooij", "displayName": "Martijn Kooij", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Mac OS X 10.6, XCode 4.2, Titanium SDK 1.9.0.v20111216103134, iOS SDK 5.0.1", "comment": { "comments": [ { "id": "176784", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-12-20T16:08:43.000+0000", "updated": "2011-12-20T16:08:43.000+0000" }, { "id": "286219", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening this request and moving it to engineering for further evaluation and prioritization. \r\n\r\nThis request was created originally based on the comment from engineering team as part of ticket TIMOB-6273. This ticket indicates that you can get a file object from Ti.Database.DB and set the remote backup property on that file and that kind of works around the problem.\r\n\r\nBut according to iOS Data Storage Guidelines:\r\n1. Only documents and other data that is user-generated, or that cannot otherwise be recreated by your application, should be stored in the /Documents directory and will be automatically backed up by iCloud.\r\n\r\nThis enhancement request is about the ability to indicate that Ti.Database is user generated and needs to be synced up and backed up. Stephen Tramer from engineering team validated and asked this enhancement request to be created.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-30T05:40:03.000+0000", "updated": "2013-12-30T05:40:03.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }