DATAStack icon indicating copy to clipboard operation
DATAStack copied to clipboard

Datastack backup is empty

Open zanderxyz opened this issue 6 years ago • 1 comments

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

zanderxyz avatar Apr 07 '19 07:04 zanderxyz

Hi @zanderxyz,

Let me double check what's happening :)

3lvis avatar Apr 09 '19 08:04 3lvis