Unsaved?
-
I just upgraded from NPP 8.9.1 to NPP 8.9.2. When I launched it again, it asked something about a saved file. I think I answered the question incorrectly, because I lost a ton of notes. It is a named file and Remember current session and enable session snapshot and periodic backup was set to trigger every 7 seconds. There was a backup of one of the two tabs in the C:\Users\username\AppData\Roaming\Notepad++\backup\ folder, but not the named notes.txt file that I keep all my notes in. The notes.txt file is stored in OneDrive but the file version history shows the newest date to be over a year ago. Normally, when I upgrade, I don’t have any issues. I just installed the backup plug-in and will be testing that. But, as a general rule, are you saying that if I didn’t manually save the file, that the cached changes just disappeared when I made the save choice, whatever that was?
-
@jpatterson-ATL said in Unsaved?:
But, as a general rule, are you saying that if I didn’t manually save the file, that the cached changes just disappeared when I made the save choice, whatever that was?
See our periodic backup FAQ. Essentially: Notepad++ believed you when you gave it the answer. The “session snapshot and periodic backup” feature was never meant as a long-term backup (there’s the backup-on-save option for that), but as a “try to protect me, if you can, if something goes wrong on the computer between my reasonable-duration saves” feature.
The notes.txt file is stored in OneDrive but the file version history shows the newest date to be over a year ago.
It boggles my mind that you would have a named file that you cared about, and not noticed that it hadn’t saved to the OneDrive in more than a year. And not noticed that the icon on the tabbar had been saying “unsaved changes” for all that time. And that you can go that long without ever thinking about hitting
Ctrl+Sor clicking the Save menu or toolbar button.Given your habit, I would highly suggest installing and configuring the AutoSave plugin, so that you don’t lose data again in the future. How to set up that plugin is described in detail in the FAQ.