I am using a DataStack created as follows:
self.dataStack = DATAStack(modelName: "money", isExcludedFromBackup: false)
This should then be included in iTunes/iCloud backups. I wanted to check this, so I downloaded iPhone Backup Extractor from here (https://www.iphonebackupextractor.com/blog/ios-data-recovery-apps-data-iphone-backups/), made a new iTunes backup and then checked the backup using this app. Although I can see the SQLite file (under com.myapp.title/Library/Application Support/myapp.sqlite), if I extract it and then open the SQLite file using a SQLite viewer, it doesn't contain any actual data from my app. It does contain the full database structure though.
Do you have any ideas what might be causing the data to be missing from the backup?
Hi,
I am using a DataStack created as follows:
self.dataStack = DATAStack(modelName: "money", isExcludedFromBackup: false)
This should then be included in iTunes/iCloud backups. I wanted to check this, so I downloaded iPhone Backup Extractor from here (https://www.iphonebackupextractor.com/blog/ios-data-recovery-apps-data-iphone-backups/), made a new iTunes backup and then checked the backup using this app. Although I can see the SQLite file (under
com.myapp.title/Library/Application Support/myapp.sqlite
), if I extract it and then open the SQLite file using a SQLite viewer, it doesn't contain any actual data from my app. It does contain the full database structure though.Do you have any ideas what might be causing the data to be missing from the backup?
Thanks