It automatically creates backups of my files, don't know how to deactivate the option
-
I think you may have hit on it, maybe without explicitly coming out and saying it: the way N++ uses the term “backup” (as in “periodic backup”) may not be the best nomenclature. And no, I don’t have a suggestion for better naming.
-
@alan-kilborn
Thanks Alan, you nailed my point of view. Yes, problems are easy to find, solutions…eh…not so much. :)Perhaps, “Session snapshot and periodic temporary update” and renaming the “Backup on save” to “Permanent Backup Options” would be better verbiage?
Lee
-
@alan-kilborn - I agree.
I find myself periodically reminding myself that the author and principle developer is French and French <-> English translations are not always one to one, i.e., the words can be context sensitive and do not always ‘survive’ an encounter with Google Translate.
I prefer to think of it as
Session Snapshot
and ignore all uses of the word ‘backup’ in the upper box, and I think of the lower box asFile Backup
and ignore references to ‘save’ (as it seems redundant). I have no idea how this plays out in the vast multitude of localizations Notepad++ has.Just my $/50: I hate ‘droppings’ left willy nilly in directories and I also figure any user (developer or neophyte) that wants to move beyond ‘Notepad’ AND doesn’t at least skim the manual for setup options gets what they deserve in the end.
-
@lycan-thrope said
Doing dumb things, … , is something I do want to be saved from
Nothing will consistently save you from doing dumb things. You may be saved once or twice, but eventually you will lose your “stuff” at the worst possible moment. Users best interest is to pay a small fee for doing dumb things and learn to stop doing them.
The session snapshot is an amazing example of how a feature that seems to be safety-first is actually hurting neophyte users. Instead of educating users that they MUST save their changes or lose them it tells them “trust me”. But once shit hits the fan users are completely helpless because they “trusted you” instead of taking care of themselves. Me and other forum dwellers are also convinced that this feature is the cause of the infamous NUL file bug. This feature should be disabled by default. Obviously, I always disable it.
Different applications have different goals. Notepad++ is not a competitor to OneNote (or a very poor competitor). It is not designed to “take notes”. Users who try to use it as such always lose their notes eventually. On the other hand OneNote cannot edit files and you would never drag and drop files into OneNote folder.
-
@gstavi
I can appreciate your point of view, I really do. I’m not that neophyte, I usually save my files on multiple thumb drives etc, but the problem for me is when I get in the “zone” and start making changes willy nilly to try and get something to work. Surprizingly, it works for me, unsurprizingly, I lose my stuff that I want to go back in those sessions. Backups help me from doing that. In dBASE, one of the problems is when the IDE designers get testy, you sometimes need to go back to that last saved (.bak) file, because it ate your latest changes and did something that doesn’t allow you to bring the file back up in the designer. That’s when if you can’t figure out the problem in the file which can occasionally be a file corrupted, it’s always nice to have that .bak file on hand to rename and soldier on. It’s just the tools I work with and since my prime is well past me and although I’m not a neophyte, I’m also not a professional…so take my points with a grain of salt and realize it’s just where I’m coming from. Take care. :) -
I have no idea what DBASE is, but it doesn’t seem that different from all kind of programming, so you definitely cannot allow yourself to be neophyte.
No matter how “in the zone” are you, git is your friend. It costs you nothing to save as many dirty snapshots as you want and organize them later before the “push”. Sure we developers tend to skip it, optimistically modifying the code, but that is exactly the small fee that you should pay once to improve your process rather than rely on tools you don’t understand.Nobody asks to remove the .bak feature. It just shouldn’t be enabled by default!!!.
-
My personal preference is like @gstavi 's.
The backup option is not much of a security (it does not save you from file write problems, disk failures or power loss unless you choose ‘Verbose backup’ in the Settings and give a different place for your backups) but makes a copy of the file contents before you save so it is kind of “permanent” undo of your changes before the save. Thus it is useful in very few and specific use-cases.
Looking at different user complains about loss of data it seems to me that for most people backup is kind of misleading. What I mean is that it gives them a ‘false’ feeling of security like it is some magical thing keeping them safe from loosing their information in all cases. And while it provides a very handy functionality it is not meant to be ‘relied on’ as a secure protection against ‘bad’ events. For example people decide that it is not necessary anymore to power down their computers save their session manually or make sure they have their sensitive data protected in other ways (outside of Notepad++ that is).
So maybe it is a good idea (as stated by @artie-finkelstein and others) to slightly change the terminology in the Backup Settings. Maybe change ‘Backup on save’ to ‘Make copy of the file before saving’ (long, I know but more clear IMO).
Periodic backup in the session section is actually quite accurate because it is the ‘real’ backup that might be ON by default as @Resonant-Mind requested. It is the ‘real’ backup because it DOES NOT make unnecessary copy of the original file in the same folder on save BUT periodically saves temporary copy of the UNSAVED file in the chosen directory so if something happens and Notepad++ is closed on its next start and restore of the session the temporary file content is restored thus you don’t loose your unsaved changes. That works great actually in a normal situation (if you close Notepad++ for instance before you save your files) BUT the Windows automatic updates and restart is causing problems and they are not directly related to the current backup approach and default settings BUT to disk caching functionality.
-
Oh no, people are going to come on the forum to ask how to disable auto-backup.
/world ends.
Isn’t this proof in itself, that people don’t RTFM if they need to come ask how to disable auto-.baks and that they weren’t even aware that NotePad++ contains a backup system that can work as such?
I guess that’s a second positive to it being enabled by default - it makes the user aware of its existence and thus allows them to learn about an important aspect of the software they might otherwise never know about.
In response to the one reasonable, rational, and logical user in this thread - @Lycan-Thrope , I’m actually not a coder. I needed to edit my primary software settings beyond what is offered in the program which is done by editing some .xmls - the size of the .xmls was crashing Windows Notepad so I did a quick search for a free line code editor, found NotePad++, and immediately began the work I needed to do as I didn’t have time to RTFM
It wasn’t mission critical work, just some nerdy pass time diy tweaking. If it was mission critical, or a client project… more care would have been taken. So, it was only a small nuisance that was easy to do over though did take some time I would have rather spent reading a new book before bed.
Coming from numerous modern currently developed professional softwares, that do have an auto-.bak protocol enabled by default, I was interested that the software didn’t have the option enabled by default - what is the point of a backup system that is not enabled?
I made a more in-depth post here, don’t mind the tonality - it’s directed at the cry babies crying about a “cry baby”:
https://community.notepad-plus-plus.org/topic/22217/what-is-backup-in-notepad-context-let-the-flames-raise-high/11The only reasonable thing stated in that linked thread, is that their should be a ‘limit’ feature, that limits that amount of .baks per project. This is how it works in the other professional software I use, I think the default is 5 or 10, but the user can change it.
-
is there a Fix because when i Run “Windows 10 - Reset and Clear Recent Items and Frequent Places.BAT” i not sure why… as it reset the Backup back to default “Simple backup” so is there a way to stop reset to Original “Simple backup” and KEEP it to “Backup NONE”
-
It is impossible for us to know why a batch file called “Windows 10 - Reset and Clear Recent Items and Frequent Places.BAT” would reset your Notepad++ settings – though my guess is that it is maliciously or foolishly deleting some or all files in
%AppData%
without explaining itself to the user. I would highly recommend not using batch files you don’t understand, especially if you don’t know or remember where they came from.As for how to fix Notepad++ once its settings have been corrupted: you can change the settings in the same way as when Notepad++ first gets installed: go into Notepad++'s Settings > Preferences > Backups, and change it to NONE. After that, as long as you don’t run batch files that delete config files and don’t uninstall Notepad++, Notepad++ should honor your NONE setting, even after upgrades.
-
@peterjones
It a cleanup of Multiple of the History and like each time you open WinRAR so on Taskbar there a multiple of History and so onhere is where i got it from here: https://www.tenforums.com/tutorials/3476-reset-clear-recent-items-frequent-places-windows-10-a.html
-
I have been using Notepad++ for 13+ years now. On a new laptop, I downloaded the latest version and found that EVERY file I saved after editing, it created the backup.
This is a very bad decision to make this feature a default for a lot of reasons. What other application makes a backup file in the user’s directory? Office creates temp ones and cleans them up. That is intrusive and very assumptive that that behavior will be accepted and welcomed. It is not and I hope this will be undone in the near future. If a user wants this feature, they are the ones to search for this, not EVERY other user that isn’t expecting this. The users will now be wasting their time trying to understand HOW the file got there, what the differences in the files are, and if it is safe to delete. If I want a backup, I will create one.
Notepad++ should be a simple tool out of the box, and an advanced tool for those that want to enable other features and utilize the incredible library of plugins to manage advance features. Not the other way around.
-
@dennis-mz said in It automatically creates backups of my files, don't know how to deactivate the option:
This is a very bad decision
It’s been rethought by the Notepad++ devs and has been returned (in 8.3.1) to how you are used to having it.
-
Congratulations. You have now seen what many other users have complained about, and which has been changed back in the newly-announced v8.3.1.
Unfortunately (from your perspective), since you have installed the program on a fresh laptop with the automatic .bak, , that setting has now been saved in your preferences file. Which means you have the task of going to Settings > Preferences > Backup and clicking the radiobutton next to
None
to change that laptop to not do backup-on-save. And with that step, you are now back to the state you were used to on previous installations.However, given that you’re thinking about it, I would use now to audit your entire data integrity plan – backups, automatic saves, revision control, and the like – to make sure that you will never find yourself in the situation where you will lose data. A good place to start is the Periodic Backup vs AutoSave Plugin FAQ… a well-configured AutoSave Plugin will help you prevent data loss. (edit: sorry, didn’t see your portion about saving plugins for advanced users. if you don’t want to use the plugin, you don’t have to.) But, most importantly, however you do it: “Save early, save often.”
-
@alan-kilborn Thanks. Great to hear. I love the product and appreciate the quick feedback.
-
@peterjones This is great feedback about the plugins. I feel most users “don’t know what they don’t know” about the capabilities of Notepad++. I encourage users of all skillsets to get it and discover its features. Most want an editor better than notepad.exe but not too complicated. Others like me have vetted plugins and use their features daily. I will look into this one.
-
I wasn’t going to respond, but let’s start with at least one language that I know of, since the original inception of the Big 3 desktop applications, dBASE does it. Most software does it, to some extent and gives you the option to turn it off. NOT the other way around.
I am amazed at the power users who don’t RTFM, but then quip other users should RTFM, and try to evicerate anyone that dares look at life differently than themselves.
So be it. Notepad.exe does not come with anything but word wrap, cut, copy, paste, a generic find and replace capability, and a time/date insertion macro.
You folks want a programmer’s editor, without paying for it, like we did with Multi-Edit, and several others from days gone by, in what is essentially supposed to be a Notepad.exe replacement. The fact that it is quite good at it, freeware, is a nice thing. To expect it to cater to your’s and only your point of world view to the exclusion of others that you can’t understand, is arrogance. But. cie la vie. You guys seem no better than the cranky old dudes you wanted to replace because they couldn’t learn to do things more modern…and here you are, still crying because someone changed your brain dead default. You installed a new installation, what did you think was going to happen? RTFM and RTRN.
Rant over.
Lee