Navigation

    Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Auto Backup and Recovery not working

    Help wanted · · · – – – · · ·
    2
    8
    287
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      marco.pk last edited by

      For years all open files used to be fully recovered and opened automatically after Notepad++ had been closed, e.g. for a Windows update.

      Several months ago this stopped working. After a Windows update or a system crash, files that I had not saved manually are no longer recovered.

      Notepad++ usually opens with a blank new note, and the File History does not even list the correct files that were open before the forced closing.

      M Terry R 2 Replies Last reply Reply Quote 0
      • M
        marco.pk @marco.pk last edited by

        Under >Settings>Backup, all of the following are activated:

        • Remember current session for next launch
        • Enable session snapshot and periodic backup
        • Backup every 5 seconds
        Terry R 1 Reply Last reply Reply Quote 0
        • Terry R
          Terry R @marco.pk last edited by

          @marco-pk
          Well the very first thing you need to do is provide the “debug info” from your ? menu item, then debug info in the drop down. Copy and paste that here.

          Terry

          M 1 Reply Last reply Reply Quote 0
          • M
            marco.pk @Terry R last edited by

            @terry-r Thank you. Here it is.

            Notepad++ v8.1.9.2 (64-bit)
            Build time : Nov 21 2021 - 04:30:20
            Path : C:\Program Files\Notepad++\notepad++.exe
            Command Line :
            Admin mode : OFF
            Local Conf mode : OFF
            Cloud Config : OFF
            OS Name : Windows 10 Home (64-bit)
            OS Version : 2009
            OS Build : 19043.1348
            Current ANSI codepage : 1252
            Plugins : DSpellCheck.dll mimeTools.dll NppConverter.dll NppExport.dll

            1 Reply Last reply Reply Quote 0
            • Terry R
              Terry R @marco.pk last edited by Terry R

              @marco-pk said in Auto Backup and Recovery not working:

              Notepad++ usually opens with a blank new note, and the File History does not even list the correct files that were open before the forced closing.

              Your setup seems OK, I think the primary issue was you had a forced closure initiated by Windows/System crash. I don’t know if you’ve ever read the online manual in regards what the backup settings you have actually do, nor possibly the recent FAQ post in this forum on the backup regime. I would strongly urge you to do so, I’ve linked some relevant posts below.
              FAQ post is here
              Online Manual Reference for backup is also referenced in the previous link
              A post where a similar issue to you occurred is here
              A post where an irate poster may have got their wish, the developer changed the default settings is here

              It might be almost impossible to recover the files you lost, but a likely location to check is %AppData%. This is entered into File Explorer, it’s a hidden folder.

              A common reply to all these posts and others is that you have the responsibility to ensure the backup system you use is correct for your needs. In most of these posts the poster has admitted to never understanding or even reading about the backup options and whilst we have sympathy we can only reiterate the above information.

              As I re-read your first post I get the feeling that you never actually saved those tabs, so they were never “real files”, instead just left as temporary holders of text. The session backup option will happily restore these temporary files each time you start Notepad++, however they are not designed to be your saviour in all instances of failure. If a tab’s contents is important then you need to save so that a “real file” is created and then save often.

              Terry

              M 1 Reply Last reply Reply Quote 5
              • M
                marco.pk @Terry R last edited by

                @terry-r Thank you Terry. I found the missing backups and I installed the Auto Save plugin to get something closer to what I want.

                I still don’t completely understand why Notepad++'s behavior changed recently (unsaved files are no longer recovered reliably). It might be that I had actually used the Auto Save plugin before and for some reason, it was uninstalled recently.

                Terry R 1 Reply Last reply Reply Quote 1
                • Terry R
                  Terry R @marco.pk last edited by

                  @marco-pk said in Auto Backup and Recovery not working:

                  I still don’t completely understand why Notepad++'s behavior changed recently (unsaved files are no longer recovered reliably).

                  Is it that you installed a new version rather than upgrading a previous version? As I noted in my previous post the defaults have changed for backups due to negative reactions from 1 poster.

                  Upgrading will keep your previous settings, a new installation will result in the defaults that are installed with that version.

                  The main thing is at least you have managed to recover some/all your files and now being a bit wiser you have taken the necessary steps to safeguard against potentially losing more files.

                  Cheers
                  Terry

                  M 1 Reply Last reply Reply Quote 2
                  • M
                    marco.pk @Terry R last edited by

                    @terry-r Yes, It could be that I installed a new version. The problem is fixed now. Thank you Terry!

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Copyright © 2014 NodeBB Forums | Contributors