I would like to backup my CoreData-generated sqlite database in a storage-efficient way, i.e., without the indexes.
I currently zip my user directory when creating a backup. However, this backs up the redundant indexes in the data base as well.
I've read the many posts on Stackoverflow about backing up CoreData and also Apple's documentation. For example: migratePersistentStore.
However, I haven't found a solution, yet.
So, can anyone explain a way to backup the sqlite database without the indexes on iOS?
Aucun commentaire:
Enregistrer un commentaire