Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

Datastack backup is empty #117

Open
zanderxyz opened this issue Apr 7, 2019 · 1 comment
Open

Datastack backup is empty #117

zanderxyz opened this issue Apr 7, 2019 · 1 comment

Comments

@zanderxyz
Copy link

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

@3lvis
Copy link
Owner

3lvis commented Apr 9, 2019

Hi @zanderxyz,

Let me double check what's happening :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants