• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: core data migration - delete old store
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: core data migration - delete old store


  • Subject: Re: core data migration - delete old store
  • From: Dave Fernandes <email@hidden>
  • Date: Mon, 01 Aug 2011 00:18:36 -0400

I just found a strange thing on Lion: the backup~ file doesn't get produced with in-place lightweight migration. The same binary *does* create the backup~ file on Snow Leopard, though. Has anyone else noticed this?


On 2011-07-21, at 8:31 AM, Roland King wrote:

> I suppose I had to get to core data migration one day … :(
>
> I've read the documentation a couple of times and it says that the default migration process finishes by renaming the old store to the same thing with a tilde prefix. Does that mean you, the programmer, are responsible for deleting it again afterwards or is there a piece I've missed where eventually it does get cleaned up? I was thinking that if you use automatic migration, you don't even know when the store has been migrated and that you should thus go look for a tilde version and remove it. If that's the case I wondered how many apps have upgraded their core data stores and left the old one sitting there taking up the same amount of space. _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: core data migration - delete old store
      • From: Jerry Krinock <email@hidden>
References: 
 >core data migration - delete old store (From: Roland King <email@hidden>)

  • Prev by Date: Trying out Preferences example - Crashes
  • Next by Date: Re: core data migration - delete old store
  • Previous by thread: Re: core data migration - delete old store
  • Next by thread: Re: core data migration - delete old store
  • Index(es):
    • Date
    • Thread