Way to auto-save the database after retrieving headers?

Post Reply
Newscrazy
Posts: 7
Joined: Tue Aug 26, 2003 9:39 pm

Way to auto-save the database after retrieving headers?

Post by Newscrazy »

Also, what exactly does the "Database Backup" checkbox do on the general properties tab? Does it save everything I need in case of a "crash"?

I ask because I had Newspro running in the task tray and logged off the computer (did not shut down), and the next time I logged in and started Newspro, all headers were gone. Needless to say, losing millions of headers that took several hours to download was somewhat disturbing.
alex
Posts: 4558
Joined: Thu Feb 27, 2003 5:57 pm

Post by alex »

there is no automatic option for save database&restart since it is a slow function.

i'm working on a model with automatic backup but it is not trivial and also a kind of not completely light-weight solution. the problem is in principle the database should be fault-tolerant, it means records should be protected, also the database space should be minimized, if the same principle to apply to memory it would incur significant overhead and compromise performance, it means should be no direct access to records on disk, so such a function would work only on per newsgroup basis (to save all newsgroup to backup it, although with maximal compression).
Post Reply