HT201232: Contact Apple for support and service

Learn about Contact Apple for support and service
ggmacuser

Q: I deleted File Note. In my trash I have a file "NoteStore.sqlite". How can I retrieve my notes? Thank you

I deleted File Note. In my trash I have a file "NoteStore.sqlite". How can I retrieve my notes? Thank you

MacBook Air, OS X El Capitan (10.11.1)

Posted on Nov 22, 2015 2:29 AM

Close

Q: I deleted File Note. In my trash I have a file "NoteStore.sqlite". How can I retrieve my notes? Thank you

  • All replies
  • Helpful answers

  • by Linc Davis,

    Linc Davis Linc Davis Nov 22, 2015 11:36 AM in response to ggmacuser
    Level 10 (207,963 points)
    Applications
    Nov 22, 2015 11:36 AM in response to ggmacuser

    I deleted File Note.

    What is that?

  • by ggmacuser,

    ggmacuser ggmacuser Nov 22, 2015 11:49 AM in response to Linc Davis
    Level 1 (0 points)
    Nov 22, 2015 11:49 AM in response to Linc Davis

    Hi,

     

    Well I put a file in the trash, and it was the wrong one, it was called NoteStore.sqlite. I then tried to empty my trash but it said "Impossible because still in use". After, I opened my "note" application on my macbook, and found out everything disappeared .. So, I took the file in the trash, and put it out of the trash. I tried to put in back both in my desktop and in my notes application, but I only end up with a file called NoteStore.sqlite that I cannot open and I do not have my notes anymore ..

  • by R C-R,

    R C-R R C-R Nov 22, 2015 11:58 AM in response to ggmacuser
    Level 6 (17,675 points)
    Nov 22, 2015 11:58 AM in response to ggmacuser

    1. Don't put anything in the trash from your user account's Library folder unless you know what it does & have a good reason to delete it.

     

    2. The file should be in ~/Library/Group Containers/group.com.apple.notes/ (That is a folder in your home folder, signified by the leading tilde). You can try putting back there but there is no guarantee it will fix the problem you caused.

  • by ggmacuser,

    ggmacuser ggmacuser Nov 22, 2015 12:08 PM in response to R C-R
    Level 1 (0 points)
    Nov 22, 2015 12:08 PM in response to R C-R

    Yeah I know I did an error .. I tried to put it back as you said but it did not work. Anyways, thank you!

  • by Linc Davis,

    Linc Davis Linc Davis Nov 22, 2015 1:00 PM in response to ggmacuser
    Level 10 (207,963 points)
    Applications
    Nov 22, 2015 1:00 PM in response to ggmacuser

    How did you even find that file to delete it? It was in a hidden folder. Did you delete the folder as well? What happens if you right-click the file and then select Put Back from the menu that pops up? What backups do you have?

  • by ggmacuser,

    ggmacuser ggmacuser Nov 22, 2015 2:20 PM in response to Linc Davis
    Level 1 (0 points)
    Nov 22, 2015 2:20 PM in response to Linc Davis

    I was trying to delete an application for my macbook. So I searched in "all files" the name of the application, and threw everything in the trash .. I did not delete the folder. it did not gave me the option of put back but I clicked on it and took it out of the trash and put it back in the folder R C-R told me

     

    I do not use backups, but I think I going to use one now ..

  • by R C-R,Helpful

    R C-R R C-R Nov 22, 2015 3:59 PM in response to ggmacuser
    Level 6 (17,675 points)
    Nov 22, 2015 3:59 PM in response to ggmacuser

    ggmacuser wrote:

    I do not use backups, but I think I going to use one now ..

    There is nothing more important you can do to safeguard your data than to adopt a good backup strategy! That means not just making the occasional, 'when I think about it' backup, or even keeping just one up-to-date backup. Apple provides Time Machine, which makes automatic backups easy, & can even backup to more than one drive, alternating between them every hour. That requires investing in at least one external backup drive, ideally dedicated just to Time Machine backups, but compared to losing your data (or the extremely high cost of data recovery services, which may or may not be able to recover lost data) it is cheap.

     

    Because a Time Machine backup is not ideal if you ever need to restore the entire contents of your startup drive after some disaster -- it can do that but it can take many hours to do so -- you should also consider an additional backup method to go with it, that being keeping a clone of your drive, also on a drive dedicated to that purpose. Basically, the more backups you have on different drives, the safer you are. Any drive can die at any time, without any warning.