Article View: news.software.readers
Article #261929Re: How to recover from Windows 40Tude Dialog data corruption
From: Bernd Rose
Date: Wed, 05 Apr 2017 19:24
Date: Wed, 05 Apr 2017 19:24
85 lines
4896 bytes
4896 bytes
On Wed, 5 Apr 2017 05:55:06 +0000 (UTC), Alexandre Janssens wrote:
> How to recover from the common 40Tude Dialog data corruption:
Following these suggestions is likely to produce an even more
corrupted database. Btw.: If corruption is "common", than sth.
is wrong with the setup (faulty hardware, OS/driver defect or
misconfiguration, UAC install folder,...) from beginning.
> One technique:
> A. At initial setup, make a copy of the good data directory.
> The .\data\servers.dat file gives you back all your servers &
> identities!
Contains just the initial state. Any later backup will contain
a more current version, which is preferable, because it will also
contain changed settings (SSL, port, pipelining, password).
> The cat_{1,2,3,4,5}.cto file gives you (empty) category tabs.
cat_X.cto contains only *user defined* categories. Usually, there
aren't any on initial setup. Again, restoring from the most current
backup is preferable to any "initial setup" state. Btw.: X starts
with 0 (not 1).
> The "groups.{idg,sdg,sub.idx} files handle the groups.
You missed alldsc.dss from the list of aggregate files of server
information and the server-specific *.gtl files. Groups_sub.idx,
OTOH, belongs to your earlier group of category tabs. It is the
cat_X.cto equivalent for "Subscribed".
> B. At corruption time, make a copy of the corrupted data directory.
> C. One by one replace the data files you think are corrupted.
If a database cleanup did occur between backup and this restore,
then bricking the database by such a procedure is unavoidable. In
all other cases, it is just likely. Please note: <Compact Database>
*always* reorganizes the database. (Groups are likely to get other
numbers, index positions and pointers change.) But it isn't the
only cause for internal database changes.
> Tricks for getting back to where you were (depends on what was corrupted)
> A. File > Update all database files
This command is obsolete. Its only function was to change internal
database structures between an older database format to the (as of
2003/2004) current one.
> B. Online > Update grouplists
That's of no importance. If you are about to look for new groups,
you'll refresh the group list, anyways. Apart from that, it doesn't
matter, if Dialog has current information about the groups hosted
on the server(s) you subscribed to. If you have all your subscribed
groups in your last (hopefully current) backup, that's all you'll
need in your restore process.
> C. File > Compact database
>
> Hints:
> A. When it corrupts, close Dialog (never copy files while Dialog is
> running).
> B. Why? Because some files will be overwritten or deleted when Dialog
> closes!
Better Hint:
*Never* copy/restore single files. Always backup the whole DATA folder.
(Preferably after a <Compact Database> to keep the size small.) Or at
least always keep the latest automatic pre-Compact backup folder that
Dialog creates. And if need be, completely replace the corrupt DATA
folder by a backup of DATA. I.e.: Rename or delete the current DATA
and copy the backup DATA folder as new DATA. (Do not just rename the
backup folder to DATA, in case you need it more than once...)
> C. It's handy to have a process-killing app ready for when 40Tude Dialog
> hangs.
Windows Task Manager (<Ctrl+Shift+Esc>) should do. One should keep in
mind, though, that every killing may result in a corrupted database.
Therefore, killing the task must only be used as a last resort.
Afterwards, the cause of Dialog not responding should be investigated
and eliminated.
Bernd
Technical Details
Message-ID:
<jsgz0z2oen96.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>Show Full Headers
Complete Article Headers
Message-ID: <jsgz0z2oen96.dlg@b.rose.tmpbox.news.arcor.de> Subject: Re: How to recover from Windows 40Tude Dialog data corruption Date: Wed, 5 Apr 2017 21:24:39 +0200 From: Bernd Rose <b.rose.tmpbox@arcor.de> References: <oc20ro$i7j$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: 85 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: news.albasani.net Gfe+vmFdxond9lbQ3e9rJRB4ejvgPwUMCqaGUDYZfzo+yhKxzXN3Lb0d4tSoaY5SsbNkt6qss70WpEqe0FViwg== NNTP-Posting-Date: Wed, 5 Apr 2017 19:24:46 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="hKvkz994Ymp8+Yn9OWcLzJrwzSt1bfm1aX8zOCwh4fV3XGsfsmBbYrSfMdJpDmql91BSFcbm++QUH9GBBqmZ0v8KCFzVvK5XFWCDq6tDl4oXkDYrg2P0y6C+xYCUgmAF"; mail-complaints-to="abuse@albasani.net" User-Agent: 40tude_Dialog/2.0.15.41 (b55bd473.101.271) Cancel-Lock: sha1:fFH8HQwV2EYXLE2w9tYdnalOSMM= X-Received-Bytes: 4858 X-Received-Body-CRC: 4246344921