I wasn't very clear. I ran the internal SSD out of space. Then I got a message with something like: You need to close apps because the system has run out of application memory." Some apps closed or crashed by themselves. Then I hard booted the machine. At that point closing apps and deleting things no longer created free space on the drive.
It's a 2015 MBP with 16GB.
Any updates? Almost probably exactly what you said happened to you, I believe, happened to me. WHAT BULL!!! Like notes becomes corrupted with disk full!?!?!?! (I blame Adobe Creative Cloud - I have no idea where else my drive was getting filled from....often I point renders away from my internal harddrive but Adobe always finds a way.....)
After my minor heart attack from this annihilation, proclamations of "NO - what - NO - NOT REALLY - WTAF - NOOOO" and disbelieve, I began facebook queries (after google queries) and then at least remembered I had backed up a version in early Sept - and those and another backed up version from April worked no problem when restoring the files into the group.com.apple.notes folder, as most solutions recommended.
I also saw the "backups" NoteStore.sqlite & -wal version (like you) from just before the 'now you see it now you don't' computer restart and trash removal - to make my computer work again .... and at least the newest media I pasted in (jpgs) is still in the com folder - so I know at least something once existed.....
But other than my very old database skills coming into play from when I did things with Sql Servers on PCs (kinda fun, but I didn't plan for this relearning time!)... I am very bewildered by this SQLlite issue: "
SQLite Database Disk Image is Malformed". And since I don't have a modern PC, I am finding it difficult to find a program that will "restore" it (IE
https://www.sysinfotools.com/recovery/ms-sql-database-recovery.php).
But from this auto backed up corrupted file of NoteStore.sqlite - I can see the first lines of what I wrote for maybe each note since my last backup in Sept (UGH!) using TextEdit (at least there is that....)
So hopefully 3 months of whatever I wrote are somehow hopefully somewhere cryptically stored in this corrupted database - which was noted by blogs as -
Your actual notes are stored in the file [B]NoteStore.sqlite[/B]. This is an SQLite database, which does not offer simple access to most users. The related folders, such as [B]Media[/B] and [B]Fallbackimages[/B], contain the associated media files with your notes. Backing up the entire directory ensures that nothing is missing in case you need to restore your notes.
Also - I can play with good databases backed up here (
https://inloop.github.io/sqlite-viewer/) to view it - but I still haven't figured out the entire table decoding (I didn't spend too much time trying to decipher it yet)....
anyone know where the corruption lives, maybe I could just delete it from the file and it could magically restore
But, perhaps you have just let it go by now - but if not - let me know!!!
Thanks!
meanwhile (edit after 10 minutes) I may be trying this (
https://apple.stackexchange.com/questions/328059/cant-restore-my-notes-on-macos) which deals with sqllite on mac and a restore command line option....!?