How can I restore my old backup files?

  • My laptop’s hard drive recently crapped out, and I had to reinstall everything. Before doing so, I made sure to back up all the Notepad++ backup files located in C:\Users[User]\AppData\Roaming\Notepad++\backup\ .

    Now I’ve successfully reinstalled Notepad++ (the newest version, v7.4.2), and I’ve put the old backup files into the new backup folder, but when I open Notepad++, it fails to restore the old backup files.

    So I know exactly where the backup files are and where they belong, and I have both “Remember current session for next launch” and “Enable session snapshot and periodic backup” checked. My problem is that I can’t get Notepad++ to restore the backup files that are in the backup folder.

    Any help would be appreciated. Thanks!

  • The simple solution is to open the files in the backup folder with Notepad++, possibly doing a Save As or Rename to put them in a different location after opening.

    Ideally, if you had also backed up the session.xml file in AppData\Roaming\Notepad++, you could theoretically restore that file also and have it restore your session. However, it’s very finicky, and if any small detail has changed (path, for example) for any file, it will simply not open that file in the session. So the more reliable solution is the simple one above.

Log in to reply