Thread View: news.software.readers
8 messages
8 total messages
Started by Alexandre Janssens
Wed, 05 Apr 2017 05:55
How to recover from Windows 40Tude Dialog data corruption
Author: Alexandre Janssens
Date: Wed, 05 Apr 2017 05:55
Date: Wed, 05 Apr 2017 05:55
32 lines
2100 bytes
2100 bytes
How to recover from the common 40Tude Dialog data corruption:
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!
The cat_{1,2,3,4,5}.cto file gives you (empty) category tabs.
The "groups.{idg,sdg,sub.idx} files handle the groups.
B. At corruption time, make a copy of the corrupted data directory.
C. One by one replace the data files you think are corrupted.
Tricks to figuring out which files to replace:
A. Look for the largest and/or smallest files
B. Look for the latest-modified files, by date
C. For example, replace .\data\groups.idg" (groups tabs: All, New,
Filtered)
groups.idg (fills out the groups tabs All, New, & Filtered)
groups.sdg
groups_sub.idx
Tricks for getting back to where you were (depends on what was corrupted)
A. File > Update all database files
B. Online > Update grouplists
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!
C. It's handy to have a process-killing app ready for when 40Tude Dialog
hangs.
Re: How to recover from Windows 40Tude Dialog data corruption
Author: 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
Re: How to recover from Windows 40Tude Dialog data corruption
Author: Alexandre Janssens
Date: Thu, 06 Apr 2017 03:11
Date: Thu, 06 Apr 2017 03:11
193 lines
8911 bytes
8911 bytes
In <news:jsgz0z2oen96.dlg@b.rose.tmpbox.news.arcor.de>, Bernd Rose
<b.rose.tmpbox@arcor.de> wrote:
>> How to recover from the common 40Tude Dialog data corruption:
>
> Following these suggestions is likely to produce an even more
> corrupted database.
I understand what you're intimating Bernd, but the fact is that you want to
recover your setup somehow, after a corruption occurs in dialog.
So the question is how to recover.
1. The hard way to recover is to start fresh.
2. The easier way to recover is to at least get back your setup.
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.
It's the initial setup, before any messages are downloaded, which is what
I'm trying to recover when dialog corrupts itself.
> Btw.: If corruption is "common", than sth.
> is wrong with the setup (faulty hardware, OS/driver defect or
> misconfiguration, UAC install folder,...) from beginning.
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.
>> 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).
I agree with you that servers.dat gives you your servers, ports, logins,
and passwords, which are critical to recover.
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.).
Bernd: Do you know offhand what file contains the dialog identities?
>
>> 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).
Thanmks for reminding me that it starts with user-defined cateogyr
"cat_0.cto". I make extensive use of categories instead of using
subscriptions, where it takes about an hour just to manually set up the
categories.
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.
Bernd: Do you know offhand what file contains the groups that are inside
each of the user-defined categories?
>> 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.
Thank you Bernd for suggesting the alldsc.dss and *.gtl files.
I saw them, but I wasn't successful recovering them.
Are they the missing information?
1. What file contains the dialog identities?
2. What file contains the groups inside user-defined categories?
> Groups_sub.idx,
> OTOH, belongs to your earlier group of category tabs. It is the
> cat_X.cto equivalent for "Subscribed".
Aha! Maybe that's the answer to the question of what file contains the
groups that are assigned to each user-defined category!
>> 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.
Thank you for the warning about "compact database" always changing things
out from under us. I don't normally use that command. I'm just trying to
"fix" a corruption when it happens (because it will happen).
I think the better way to fix a corruption is to have a saved copy of the
initial setup.
What's important to save (in this order) are:
1. Servers (servername, nntp port, logins, and passwords)
2. Identities (name & email & attribute lines mostly)
3. Categories (names plus the groups inside each user-defined category)
What's less important to save are:
4. Scripts (I have a couple of scripts which would be nice to save)
I think if I could save those 4 things by archiving the related data files,
then I could more easily recover from the dialog data corruption.
>> 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.
Thank you Bernd for explaining that, essentially, the update doesn't really
do anything anymore.
>> 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.
Thank you Bernd for understanding that the least important thing to recover
is the group list, since it's easily updated.
I don't use the subscribed/unsubscribed process so for me, I only care
about the roughly dozen groups that are inside of each user-defined
category, of which I have about a dozen user-defined categories.
Of course I can manually re-create everything but I'm hoping for a way to
find the files that will re-create the initial setup.
>> 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.)
Thank you Bernd. This is probably the best option of all.
How does this sound as insurance against dialog corruption?
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.
> 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...)
I think zipping the data backup should "protect" it enough so that it can
be re-used.
>> 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.
I understand. Dialog seems to write "something" to a few files when it
closes, so when it doesn't close gracefully, those files seem to get
corrupted.
> Therefore, killing the task must only be used as a last resort.
> Afterwards, the cause of Dialog not responding should be investigated
> and eliminated.
I wish I had those debugging skills.
Re: How to recover from Windows 40Tude Dialog data corruption
Author: That Guy... You Know, The Guy Wi...
Date: Thu, 06 Apr 2017 03:22
Date: Thu, 06 Apr 2017 03:22
209 lines
10096 bytes
10096 bytes
Alexandre Janssens wrote:
> In <news:jsgz0z2oen96.dlg@b.rose.tmpbox.news.arcor.de>, Bernd Rose
> <b.rose.tmpbox@arcor.de> wrote:
>
>>> How to recover from the common 40Tude Dialog data corruption:
>>
>> Following these suggestions is likely to produce an even more
>> corrupted database.
>
> I understand what you're intimating Bernd, but the fact is that you want to
> recover your setup somehow, after a corruption occurs in dialog.
>
> So the question is how to recover.
> 1. The hard way to recover is to start fresh.
> 2. The easier way to recover is to at least get back your setup.
>
> 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.
>
> It's the initial setup, before any messages are downloaded, which is what
> I'm trying to recover when dialog corrupts itself.
>
>> Btw.: If corruption is "common", than sth.
>> is wrong with the setup (faulty hardware, OS/driver defect or
>> misconfiguration, UAC install folder,...) from beginning.
>
> 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.
>
>>> 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).
>
> I agree with you that servers.dat gives you your servers, ports, logins,
> and passwords, which are critical to recover.
>
> 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.).
>
> Bernd: Do you know offhand what file contains the dialog identities?
>
>>
>>> 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).
>
> Thanmks for reminding me that it starts with user-defined cateogyr
> "cat_0.cto". I make extensive use of categories instead of using
> subscriptions, where it takes about an hour just to manually set up the
> categories.
>
> 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.
>
> Bernd: Do you know offhand what file contains the groups that are inside
> each of the user-defined categories?
>
>>> 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.
>
> Thank you Bernd for suggesting the alldsc.dss and *.gtl files.
> I saw them, but I wasn't successful recovering them.
>
> Are they the missing information?
> 1. What file contains the dialog identities?
> 2. What file contains the groups inside user-defined categories?
>
>> Groups_sub.idx,
>> OTOH, belongs to your earlier group of category tabs. It is the
>> cat_X.cto equivalent for "Subscribed".
>
> Aha! Maybe that's the answer to the question of what file contains the
> groups that are assigned to each user-defined category!
>
>>> 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.
>
> Thank you for the warning about "compact database" always changing things
> out from under us. I don't normally use that command. I'm just trying to
> "fix" a corruption when it happens (because it will happen).
>
> I think the better way to fix a corruption is to have a saved copy of the
> initial setup.
>
> What's important to save (in this order) are:
> 1. Servers (servername, nntp port, logins, and passwords)
> 2. Identities (name & email & attribute lines mostly)
> 3. Categories (names plus the groups inside each user-defined category)
>
> What's less important to save are:
> 4. Scripts (I have a couple of scripts which would be nice to save)
>
> I think if I could save those 4 things by archiving the related data files,
> then I could more easily recover from the dialog data corruption.
>
>>> 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.
>
> Thank you Bernd for explaining that, essentially, the update doesn't really
> do anything anymore.
>
>>> 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.
>
> Thank you Bernd for understanding that the least important thing to recover
> is the group list, since it's easily updated.
>
> I don't use the subscribed/unsubscribed process so for me, I only care
> about the roughly dozen groups that are inside of each user-defined
> category, of which I have about a dozen user-defined categories.
>
> Of course I can manually re-create everything but I'm hoping for a way to
> find the files that will re-create the initial setup.
>
>>> 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.)
>
> Thank you Bernd. This is probably the best option of all.
> How does this sound as insurance against dialog corruption?
>
> 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.
>
>> 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...)
>
> I think zipping the data backup should "protect" it enough so that it can
> be re-used.
>
>>> 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.
>
> I understand. Dialog seems to write "something" to a few files when it
> closes, so when it doesn't close gracefully, those files seem to get
> corrupted.
The way I do it is to set up CloneZilla on a separate bootable
partition of an external USB drive, then set up several partitions (of
the same exact size as the internal drive) on that external USB drive.
Once a week, I clone the internal drive to one of the partitions on
the external USB drive, overwriting the oldest clone. In this way, I
have multiple backups, and the most I have to roll back is only a
week.
If Dialog crashes so hard it corrupts the database, all I have to do
is shut down Dialog, open Explorer, copy the latest clone of the
Dialog directories over to the same place on the internal drive, start
up Dialog again, and re-download all the messages for the past week.
It takes less than 5 minutes to get back up and running (it'd take a
bit less if I scripted it, I suppose), and if absolutely need be (if
the internal drive crashes), I can selectively boot from one of those
cloned partitions and continue working until I get the internal drive
replaced.
Re: How to recover from Windows 40Tude Dialog data corruption
Author: Alexandre Janssens
Date: Thu, 06 Apr 2017 04:00
Date: Thu, 06 Apr 2017 04:00
34 lines
2711 bytes
2711 bytes
In <news:9f3a4e81d9576915c368851893eb1503@dizum.com>, <JeremyHellman@gmail.com> wrote: > The way I do it is to set up CloneZilla on a separate bootable > partition of an external USB drive, then set up several partitions (of > the same exact size as the internal drive) on that external USB drive. > > Once a week, I clone the internal drive to one of the partitions on > the external USB drive, overwriting the oldest clone. In this way, I > have multiple backups, and the most I have to roll back is only a > week. Wow. You clone the entire "program files" hierarchy and the Windows registry hives? > If Dialog crashes so hard it corrupts the database, all I have to do > is shut down Dialog, open Explorer, copy the latest clone of the > Dialog directories over to the same place on the internal drive, start > up Dialog again, and re-download all the messages for the past week. That's essentially what Bernd said to do, but he said to save off the entire data directory. I think I'll save "data" and "Scripts" and then zip them, and hope for the best the next time Dialog corrupts itself. > > It takes less than 5 minutes to get back up and running (it'd take a > bit less if I scripted it, I suppose), and if absolutely need be (if > the internal drive crashes), I can selectively boot from one of those > cloned partitions and continue working until I get the internal drive > replaced. I've been manually recovering from Dialog corruptions, which takes about an hour since I have a pretty well honed setup with about a dozen user-defined categories and a dozen groups in each category and about a dozen servers.
Re: How to recover from Windows 40Tude Dialog data corruption
Author: That Guy... You Know, The Guy Wi...
Date: Thu, 06 Apr 2017 14:17
Date: Thu, 06 Apr 2017 14:17
63 lines
4099 bytes
4099 bytes
Alexandre Janssens wrote: > In <news:9f3a4e81d9576915c368851893eb1503@dizum.com>, > <JeremyHellman@gmail.com> wrote: > >> The way I do it is to set up CloneZilla on a separate bootable >> partition of an external USB drive, then set up several partitions (of >> the same exact size as the internal drive) on that external USB drive. >> >> Once a week, I clone the internal drive to one of the partitions on >> the external USB drive, overwriting the oldest clone. In this way, I >> have multiple backups, and the most I have to roll back is only a >> week. > > Wow. You clone the entire "program files" hierarchy and the Windows > registry hives? Yes, everything. It's a bit-by-bit clone, an exact duplicate of the internal drive. On the laptop I'm running Dialog on, my external USB drive is huge. I've got 12 partitions that I can clone to, and an extra partition where I archive other stuff. I've also got a USB thumb drive that I clone to once a month, just in case, but it's just a single clone, no multiple partitions. One 'gotcha' with CloneZilla is that you have to make each external partition the same exact size as the internal drive... if the external partitions are too small, Clonezilla won't let you clone the internal drive to the external partitions. If the external partitions are too large, it'll let you clone the internal drive, but if you need to clone one of those external partitions back to the internal drive, it won't let you do it. Clonezilla is supposed to resize each partition to the size of the internal drive after you clone to it, but apparently it doesn't. By making each external partition the same exact size as the internal drive, Clonezilla no longer has to attempt the resize. Once you've got that issue resolved, though, it works well. >> If Dialog crashes so hard it corrupts the database, all I have to do >> is shut down Dialog, open Explorer, copy the latest clone of the >> Dialog directories over to the same place on the internal drive, start >> up Dialog again, and re-download all the messages for the past week. > > That's essentially what Bernd said to do, but he said to save off the > entire data directory. I think I'll save "data" and "Scripts" and then zip > them, and hope for the best the next time Dialog corrupts itself. > >> >> It takes less than 5 minutes to get back up and running (it'd take a >> bit less if I scripted it, I suppose), and if absolutely need be (if >> the internal drive crashes), I can selectively boot from one of those >> cloned partitions and continue working until I get the internal drive >> replaced. > > I've been manually recovering from Dialog corruptions, which takes about an > hour since I have a pretty well honed setup with about a dozen user-defined > categories and a dozen groups in each category and about a dozen servers. I like to be sure I can get back up and running with a minimum of fuss. I wish I could clone the internal drive while Windows was still running, but until I find some program that can do that, CloneZilla works well enough.
Re: How to recover from Windows 40Tude Dialog data corruption
Author: Alexandre Janssens
Date: Thu, 06 Apr 2017 14:41
Date: Thu, 06 Apr 2017 14:41
77 lines
4737 bytes
4737 bytes
In <news:d0fa745f93c4a9e9fe7bd8719492bb34@msgid.frell.theremailer.net>, "That Guy... You Know, The Guy With The Thing. No, The Other Guy. Yeah," <JeremyHellman@gmail.com> wrote: >> Wow. You clone the entire "program files" hierarchy and the Windows >> registry hives? > > Yes, everything. It's a bit-by-bit clone, an exact duplicate of the > internal drive. It's sort of a RAID system, which I agree, has the reduncancy you want for safety. But that's more than I want to set up (I have a very small disk and an old Windows XP computer that must be ten years old if it's a day). > On the laptop I'm running Dialog on, my external USB > drive is huge. I've got 12 partitions that I can clone to, and an > extra partition where I archive other stuff. I've also got a USB thumb > drive that I clone to once a month, just in case, but it's just a > single clone, no multiple partitions. Wow. Nice setup. I agree, nowadays, USB drives are huge. They have a fatal flaw, which, besides speed is that on Windows, they get corrupted like you can't believe when you disconnect them suddenly. Makes them useless, to me, as a backup system, if you tend to remove them. I guess if they are connected to the router, far far far away from Windows, they're probably safe though. > One 'gotcha' with CloneZilla is that you have to make each external > partition the same exact size as the internal drive... if the external > partitions are too small, Clonezilla won't let you clone the internal > drive to the external partitions. If the external partitions are too > large, it'll let you clone the internal drive, but if you need to > clone one of those external partitions back to the internal drive, it > won't let you do it. That's an interesting catch 22. If it's too small, it won't clone onto the backup disk. If it's too large, it won't return to the original disk. Intereting but luckily you seem to have that catch 22 under control, so it's only a catch 21. > Clonezilla is supposed to resize each partition to the size of the > internal drive after you clone to it, but apparently it doesn't. I just googled and found lots of people complain about something like that. https://community.spiceworks.com/topic/225979-clonezilla-restore-to-smaller-hard-drive "Use Gparted to resize the partition on the larger drive until it's smaller than the target partition. Then use Clonezilla to image to the partition. You can then expand the target partition at the end if you want." > By > making each external partition the same exact size as the internal > drive, Clonezilla no longer has to attempt the resize. > > Once you've got that issue resolved, though, it works well. I understand and agree that you seem to have a well working system, where the caveats are already taken care of. I'm trying to do the same, on a much smaller and more manual scale, with just backing up the 40tude Dialog directories "data" and "Scripts". >> I've been manually recovering from Dialog corruptions, which takes about an >> hour since I have a pretty well honed setup with about a dozen user-defined >> categories and a dozen groups in each category and about a dozen servers. > > I like to be sure I can get back up and running with a minimum of > fuss. I wish I could clone the internal drive while Windows was still > running, but until I find some program that can do that, CloneZilla > works well enough. I like your whole-disk idea for recovery. For me, it's just the 40Tude Dialog "data" and "Scripts" directories I'm recovering.
Re: How to recover from Windows 40Tude Dialog data corruption
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads