After a failed wake-up from hibernation, I rebooted my PC and everything 1.5 was pretty much reset. All the settings were reset for folders, index settings etc. Oddly, some of my bookmarks are there, but not all.
It seems like what happened is it's now using a fresh .ini file in the same directory where my .exe is (C:\Program Files\Everything 1.5a).
And prior to that it was using the Everything-1.5a.ini and other 1.5 files located in C:\Users\user\AppData\Roaming\Everything.
The good news is my settings, bookmarks, etc files seem to still exist there and I've made a backup, so I guess it is just a matter of pointing back to this location.
Any idea why this would happen?
I'm running 1.5.0.1315a (x64).
Computer crashed - lost most of my settings in 1.5 afterwords
-
- Posts: 192
- Joined: Fri Nov 28, 2014 3:58 pm
Re: Computer crashed - lost most of my settings in 1.5 afterwords
Sorry to hear about the data loss.
This is caused by buffers not being flushed to disk.
If you examine the files you will most likely see they are filled with NUL characters.
I am looking into ways to have Everything keep a backup of all data and settings.
flush_file_buffers
This is caused by buffers not being flushed to disk.
If you examine the files you will most likely see they are filled with NUL characters.
I am looking into ways to have Everything keep a backup of all data and settings.
flush_file_buffers
Re: Computer crashed - lost most of my settings in 1.5 afterwords
Something that I do is to keep all the files (ini, csv, etc) in one directory, and every 2 or 3 days, or when I have changed anything, I backup the directory.
Re: Computer crashed - lost most of my settings in 1.5 afterwords
Is there a setting to flush and close all settings and database files to disk with immediacy, only accessing them when needed on demand then closing and releasing them again right away? No dangling handles?
Re: Computer crashed - lost most of my settings in 1.5 afterwords
With flush file buffers enabled, type in the following search and press ENTER:
/save-all
Everything uses an atomic rename when saving data and settings.
In theory the data should never be in an incomplete state.
For example:
Save new settings to Everything.ini.tmp
Replace Everything.ini with Everything.ini.tmp
However, what can happen is the file rename is flushed to disk before the Everything.ini data is written to disk.
-or-
Neither the rename or data is written to disk, but the rename is added to the transaction journal so on next boot the rename occurs with an incomplete file.
Enabling flush_file_buffers doesn't always help and will just make Everything feel slow.
There's a lot that can go wrong, so backups is the best option.
/save-all
Everything uses an atomic rename when saving data and settings.
In theory the data should never be in an incomplete state.
For example:
Save new settings to Everything.ini.tmp
Replace Everything.ini with Everything.ini.tmp
However, what can happen is the file rename is flushed to disk before the Everything.ini data is written to disk.
-or-
Neither the rename or data is written to disk, but the rename is added to the transaction journal so on next boot the rename occurs with an incomplete file.
Enabling flush_file_buffers doesn't always help and will just make Everything feel slow.
There's a lot that can go wrong, so backups is the best option.
-
- Posts: 192
- Joined: Fri Nov 28, 2014 3:58 pm
Re: Computer crashed - lost most of my settings in 1.5 afterwords
%APPDATA%\Everything
%LOCALAPPDATA%\Everything
For the portable version of Everything:
The same location as your Everything.exe
%LOCALAPPDATA%\Everything
For the portable version of Everything:
The same location as your Everything.exe
-
- Posts: 192
- Joined: Fri Nov 28, 2014 3:58 pm
Re: Computer crashed - lost most of my settings in 1.5 afterwords
Thanks!
This is off topic, but as I'm re-doing all my settings, I was reminded that a "Minimum size" would be very useful for the properties section.