Article View: news.software.readers
Article #261936Re: How to recover from Windows 40Tude Dialog data corruption
From: Bernd Rose
Date: Thu, 06 Apr 2017 15:53
Date: Thu, 06 Apr 2017 15:53
78 lines
5106 bytes
5106 bytes
On Thu, 6th Apr 2017 03:11:28 +0000 (UTC), Alexandre Janssens wrote: > The things that matter are your servers, logins, passwords, and categories > (I make extensive use of categories). > > What matters less are the groups you're subscribed to. > > What doesn't matter at all are your sent messages, drafts, complete > grouplists, and current message lists, since they can all be regenerated > easily. Sent messages and drafts can not be reproduced, at all. (Direct database manipulation with external tools and eidetic memory aside.) And most users, IMHO, regard the complete set of kept, watched and probably tagged/colored messages much more worthwhile than "doesn't matter at all". [Dialog database corruption] > It's not a question of if a corruption will occur. It's a question of when. > I have been using Dialog for about five years and it gets corrupted on > various machines at a sporadic rate, but it has happened easily at least a > dozen times, maybe a score of times. Then something *is* wrong, I can tell you from 15 years of daily usage on several different machines and about the whole flock of x86/x64 Windows versions. > I agree with you that servers.dat gives you your servers, ports, logins, > and passwords, which are critical to recover. Because 40tude Dialog passwords can easily be retrieved from any running Dialog instance (e.g. by Nirsoft BulletsPassView) they don't need to be regarded as such a "secret" that they must never be saved anywhere else. Either store your settings in a password store (like Keepass) or just keep a printout of all settings somewhere in your private documents. That said: Better /also/ keep a complete backup of (at least) DATA. > But I can't for the life of me yet figure out which file contains the > identities, and their settings (email, name, message id options, attribute > options, etc.). For the most part settings.ini from Dialog main folder. Sigs are stored in sigs.dat inside the DATA folder. > When I brought back the cat_X.cto files, I only got the tabs with the > correct names, but I didn't get all the groups that were in each category. The category files just contain references to a temporary numbering scheme best accessed via groups.idg, which in itself maintains index pointers to Groups.stg. Not correctly restoring *every* linked file in exact the same version will brick the database. [Backup] > 1. Take about an hour to set up Dialog exactly as you want it to be. > 2. Then compact the datbase & zip the "data & Scripts" directories. > 3. When dialog corrupts, replace the data & Scripts directories. On a pristine Dialog setup, Compact Database isn't necessary. This command just removes deleted stuff finally. (When deleting messages inside Dialog, the delete is not done physically. Dialog just sets Flags to skip such messages in every view. Only the Compact Database command finally removes those orphans.) A side effect from Compact Database is, that any internal numbering and any pointer might/will change. As for DATA and Scripts: You also need all *.ini files from Dialog main folder. Filters.dat, which contains the history of your filter conditions, is about useless OTOH, because you can't select older filter conditions. (The filter edit boxes should have been drop-down boxes...) If you maintain customized acronym lists, you need to save acrocust.dat, as well. If storage space isn't a problem, you can backup the whole Dialog folder and its subfolders. (The overhead will be about 10 MByte; or 5 MByte when zipped.) Else, you could tell your backup to save every file not older than the day you set up Dialog. Just be sure to /not/ flatten the directory structure along that pace. Bernd
Technical Details
Message-ID:
<17grnn15bbgnk.dlg@b.rose.tmpbox.news.arcor.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mailReferences:
<oc20ro$i7j$1@gioia.aioe.org> <jsgz0z2oen96.dlg@b.rose.tmpbox.news.arcor.de> <oc4bl0$phu$1@gioia.aioe.org>Show Full Headers
Complete Article Headers
Message-ID: <17grnn15bbgnk.dlg@b.rose.tmpbox.news.arcor.de> Subject: Re: How to recover from Windows 40Tude Dialog data corruption Date: Thu, 6 Apr 2017 17:53:27 +0200 From: Bernd Rose <b.rose.tmpbox@arcor.de> References: <oc20ro$i7j$1@gioia.aioe.org> <jsgz0z2oen96.dlg@b.rose.tmpbox.news.arcor.de> <oc4bl0$phu$1@gioia.aioe.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail Newsgroups: news.software.readers Organization: albasani.net Lines: 78 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: news.albasani.net CnJl+GpOY2v3Yp88h91BSWjZg2WH+vbhDIicbSEfQ0fH0wCHfIDvxxy51rKlFvJ6bZQz+3PaSthi6wpS2AAz6Q== NNTP-Posting-Date: Thu, 6 Apr 2017 15:53:34 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="cyMt64/cqPJ7Ztl9u5tiQTYNGX5Yu6tJ26ZtUKG68oq3LI/AOc/lDmWmqJy6KdwgFvWGxy7VUUTBMcOfibixPRSLgEV+SP6IYD1UzR2HTYWja7QkkW1uvR5GOVeULRlY"; mail-complaints-to="abuse@albasani.net" User-Agent: 40tude_Dialog/2.0.15.41 (a40c57d4.200.418) Cancel-Lock: sha1:PUAl0KNjeboBhHM7NHnvRftc2xM= X-Received-Body-CRC: 2932677240 X-Received-Bytes: 5037