Backup of .db concept flaw

Discussion related to "Everything" 1.5 Alpha.
Post Reply
Fred0815
Posts: 25
Joined: Sat May 01, 2021 10:50 am

Backup of .db concept flaw

Post by Fred0815 »

Hello,
i needed to use the backup of the .db to get my scan results back that I collected over months.

Currently, the backup.db is overwritten on ending Everything.
=> .db lost => months of scanning time lost

Would it be possible to have at least 5-10 backup versions back instead of only one?
Best,
Fred
void
Developer
Posts: 16776
Joined: Fri Oct 16, 2009 11:31 pm

Re: Backup of .db concept flaw

Post by void »

You can load your Everything backup db with:
Everything.exe -db <everything.backup.db> -read-only



Currently, the db backup is only designed to prevent reindexing when the last db wasn't correctly flushed to disk.

I recommend manually making a backup of your Everything.db
or setup a script to do this daily, weekly, monthly etc...
therube
Posts: 4985
Joined: Thu Sep 03, 2009 6:48 pm

Re: Backup of .db concept flaw

Post by therube »

A simple backup utility, BACKUP9.EXE.

(Each time a desktop shortcut is clicked) backup all the files in the c:\123\mp\ directory to the directory c:\dev\backup\out\.
Each time it is run, it will update any changed files to \backup\out\ while maintaining the last 9 copies of each updated file.

Code: Select all

backup9.exe C:\123\MP\*.* C:\DEV\BACKUP\OUT
Fred0815
Posts: 25
Joined: Sat May 01, 2021 10:50 am

Re: Backup of .db concept flaw

Post by Fred0815 »

Thank you for the hint.
Although, the effort to introduce a ring buffer of some configurations may not be that big...
A separate tool or script sounds a bit "workaroundish" ;-)
Imagine every tool on your PC needs that...
Post Reply