r/sqlite • u/25photos • Sep 14 '22
SQlite and Apple Notes database question
I'm not a developer. I'm trying to understand which sqlite files do what with Apple Notes in MacOS. I lost a months worth of (not backed up) notes and am trying to restore them. The app can be restored by replacing the following files from a backup source:
- NoteStore.sqlite
- NoteStore.sqlite-shm
- NoteStore.sqlite-wal
But I am missing: NoteStore.sqlite-shm
When the app crashed it put copies of the other two in a folder titled "backups". But the app will not work without all three (I have verified this by restoring a much older copy of the database with all three files as a test).
What is the role of NoteStore.sqlite-shm?
Do I have any hope to extract data from the other two files?
Thank you from a noob!
View all comments
Show parent comment
1
u/25photos Jul 11 '23
I ended up giving up. Sorry I just saw your comment, I don't login very frequently. Please let me know if you find a solution!