R – CoreData & TimeMachine

core-datamacosobjective c

I'm developing a CoreData non-document-based app. The SQLite store size is regularly of order ~60MB, and it's cumbersome that Time Machine backs up the entire database once per hour. Is there a way to make Time Machine back up only the changes?

I'm thinking of abusing the CoreData external records API for spotlight
and let the machine back up only those external records. What do you think? The documentation says that the external records can only be in ~/Library/Caches/ or ~/Library/CoreData/; the former is automatically excluded from the backed up, and I'm not sure about the latter. I'm not sure how external records work with the CoreData versioning, either.

Best Answer

Time Machine backs up files, not individual database records.

Related Topic