Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How do you backup Notes?

I really like iCloud and how it keeps my iPhone and Macs in sync, but I have one question. How do you back up Notes?


In Calendar and Contacts, there are export options so I can export and back data up in case iCloud goes wonky, but I don't see such an option in Notes.


Thanks for any suggestions.

iMac 24' flat panel, Mac OS X (10.6.7), 4 GB RAM, 50 GB HD

Posted on Jul 29, 2012 1:53 PM

Reply
73 replies

Jan 17, 2013 7:20 PM in response to Jeff Kennedy1

So it appears at this point in time the Notes app on OS X ML doesn;t get backed up in Time Machine, i.e like all other apps, you can't open the app, then 'go to Time Machine' and it brings up Notes history, it just seems to bring up Finder instead..


I hope Notes will be included and work just like other apps do when backed up via Time Machine.

Jan 17, 2013 7:49 PM in response to Bubs_69

Bubs_69 wrote:


So it appears at this point in time the Notes app on OS X ML doesn;t get backed up in Time Machine, i.e like all other apps, you can't open the app, then 'go to Time Machine' and it brings up Notes history, it just seems to bring up Finder instead..


I hope Notes will be included and work just like other apps do when backed up via Time Machine.

The "notes" are stored here:

~/Library/Containers/com.apple.notes/Data/Library/CoreData/ExternalRecords/

Then it is burried in folders with unique ids.


You can dig into that folder to find them and use Time Machine to restore. They are saved with a name like p16.notesexternalrecord.


I haven't played with restoring them and seeing what happens when your recover in Time Machine then open Notes. I didn't have any that I deleted previously.

Jan 20, 2013 6:23 PM in response to Barney-15E

Barney, are you saying that is how you get to the notes backup in Time Machine? I deleted some notes accidentally. I forgot that my old iPhone that I was giving to my son would sync with my new iPhone and iPad. I was deleting things off of what I was giving him so he would have the space. Then I realized it was telling my two devices to delete them. So I turned Time Machine off right away so it wouldn't get the message to delete those, in case it worked that way. So I have searched in Time Machine by the word Notes and by the name of the Individual missing notes, but that didn't get me anything. So when you say the noter are at "

~/Library/Containers/com.apple.notes/Data/Library/CoreData/ExternalRecords/

Then it is burried in folders with unique ids.", how do I get to that? Open the first and then the next ,etc.?


I need to turn my son's phone notes OFF so they won't sync with mine anymore or he will be deleting the rest of my notes.

Jan 20, 2013 6:38 PM in response to Barney-15E

Yes I am sure. The SQLite database is the store of record.


That said, for anyting "on the network" (i.e in iCloud), backing up and restoring the database isn't that useful because iCloud is considered the "store of record" so if you delete stuff and it syncs to iCloud, then restoring the SQLite database won't do much good: The next time the machine goes online the iCloud version of things (i.e. deletes) will bowl over the local copies.

Jan 20, 2013 6:51 PM in response to William Lloyd

FYI if you want to see EVERYTHING in notes you could go to that directory and type "sqlite3 NotesV1.storedata .dump" and it will spew it all out as ASCII. Do a redirect (i.e. sqlite3 NotesV1.storedata .dump > notesbackup.txt" and you have a backup. You could then figure out the SQLite command to re-load that backup if you ever need it (this is left as an exercise for the reader ;-)

Jan 20, 2013 7:40 PM in response to William Lloyd

Right, that's what has happened to me twice now. Once the note seemed to just delete itself on one device and I rushed upstairs to get it off the other device and poof, right in front of my eyes, it was deleted via iCloud. This time, though, I did it because I forgot that my son's iPhone (my old one) was still synced with my new phone and iPad and I was deleting notes from his and it then deleted them off of mine before I realized that was happening.


I don't know SQL or ASCII. I am going to see if I can follow what you are saying in Time Machine.

Mar 3, 2013 3:04 AM in response to Jeff Kennedy1

Hey there for everyone. I had the same problem, I wanted to restore my notes from my Time Machine Backup.


So its quite easy. You just open:


~/Library/Containers/com.apple.notes/Data/Library/CoreData/ExternalRecords/


and the same path but on your backup. Then you copy the Folder with the large number onto your hard disk.


And the last thing you have to do is to open:


~/Library/Containers/com.apple.notes/Data/Library/Notes/


and replace the SQlite databases with the ones of your Timemachine Backup.


Im not using iCloud so I dont know if this will work out when you sycn the next time. For me its okay 🙂

How do you backup Notes?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.