Lost unsaved windows after upgrade
-
Hiya, I just upgraded to the latest version of NP++. I had a whole bunch of “new” windows open, unsaved. When I restarted the new version of the program, all those windows were gone :(.
Any way to get them back? -
If you look in
%AppData%\Notepad++\backup
(🛈), there might be thenew#-####-#####
from the Session Snapshot & Periodic Backup feature, which is what tries to keep copies of thenew #
files; if you find those files there, you can open them, and save them to disk someplace with meaningful names, so that you can find them in the future if something goes wrong with your session file.That said, there’s a good chance they aren’t there, because Notepad++ upgrades do not normally overwrite your session file, so that tells me that maybe you accidentally or intentionally deleted the old
%AppData%\Notepad++
hierarchy, which would mean that the old periodic-backup files are gone, unfortunately.Either way, this would be a good time to study the “FAQ: Periodic Backup vs. AutoSave Plugin”, which will explain how to help set up Notepad++ to make it harder to lose your data and encourage you to take an active role in your data persistence for the future.
-
@peterjones Awesome! Thanks so much for that Peter
-
@happysave Happily, all of my old files are still there in that backup directory. Great! Thanks again.
-
@happysave said in Lost unsaved windows after upgrade:
Happily, all of my old files are still there in that backup directory
Next time you may not be so lucky.
A lot, and I mean a LOT of people have posted questions similar to yours, and could NOT recover their data.
Use this as an opportunity to protect your data better, in the form of hard-named files, and backups independent of Notepad++.
You’ve been warned. -
Hi, @HappySave,
Your name is quite humorous, considering your initial situation, where you did not know if a solution was possible !!
Best Regards,
guy038