Revert previous versions of SQLite database file
I accidentally overwritten a note on the Notes on my Mac so what I did was locate the SQLite database file, had someone ran scripts and I was finally able to read the text. But the files I found was dated AFTER the accident so I was wondering if there was a way I could revert to previous versions so that I could find my text? Many thanks.
... I was wondering if there was a way I could revert to previous versions so that I could find my text?
sqlite has no built-in way to do that. It's only possible if the app which owns the database provides the feature or if a manual backup was made.
You may be able to recover an old DB using Time Machine or another backup system running on the Mac.
Also, please don't re-post the same question. I just rejected a nearly-identical posting to the top post in this thread. If you have more detail to add, Mr. Anonymous, reply to this topic so we can keep the discussion in one place. Thanks.
I apologize, I thought no one responded to my question. So it's basically the modification date I would like to alter/revert to an older one (before the accident happened). Kinda like an undo/rollback. Is that even remotely possible?
Is that even remotely possible?
Please re-read the older responses. They answer this for you.
(6) By Richard Damon (RichardDamon) on 2020-07-04 19:57:12 in reply to 4 [link] [source]
The basic answer, as was said before, SQLite does not carry 'undo' or 'rollback versioning' information (at least not past performing a COMMIT). If YOU were doing some sort of backups, then YOU can go back and restore to them.