Kmail restore.

Yesterday I lost a second disk drive. After replacing the drive I copied my
home directory from my backup usb 120GB harddrive to /home after renaming
the user directory that was created during installation of OS.
(openSUSE11.0). everything appears OK except my mail. I did change the name
of the newly installed system to the same name as the one that was wiped
out by drive failure.

When I look at kmail, the headers are restored but clicking on a header to
read mail, results in No Subject, Sender unknown and order of arrival
unknown. Message text is blank. Only thing I have found that does not look
righ is the group is now root instead of users and the permissions don’t
look right but this is on all directories and files that were copied back,
not just kmail.

Any idea what I missed in saving the original home directory or what is
going on?

Thats in advance.


Russ
Linux register user 441463

I have had that issue before, but never on a large scale. Just an email here or there, always after I did something like try to delete it in the middle of a send or something.

Kmail will store the messages in /home/wayne/.kde4/kde4/share/apps/kmail/mail if you are using KDE4, something similar in ~/.kde if you are using 3.5.9. Do you see anything in there?

wnj92996 wrote:

>
> I have had that issue before, but never on a large scale. Just an email
> here or there, always after I did something like try to delete it in the
> middle of a send or something.
>
> Kmail will store the messages in
> /home/wayne/.kde4/kde4/share/apps/kmail/mail if you are using KDE4,
> something similar in ~/.kde if you are using 3.5.9. Do you see anything
> in there?
>
>
Thanks for the response. I just checked, and the restored home director has
nothing in the kmail/mail/cur or new or temp folders. I went back to my
disk with the backup and there is nothing in the folders there. I checked
and early backup on the disk and some of the folders do have messages in
them.

NOt sure why they were dropped. I copied my whole home folder to the disk
under my user name. Do I need to do these copies as root? I did get a few
messages during the copy about not being able to follow a couple of socket
links, thats all.

None of my news group messages were lost. I use knode for it.

Thanks again, I’ll have to find or test buy just coping kmail to a disk
while its actuall good.

Russ
Linux register user 441463

russbucket wrote:

> Thanks for the response. I just checked, and the restored home director
> has nothing in the kmail/mail/cur or new or temp folders. I went back to
> my disk with the backup and there is nothing in the folders there. I
> checked and early backup on the disk and some of the folders do have
> messages in them.
>
> NOt sure why they were dropped. I copied my whole home folder to the disk
> under my user name. Do I need to do these copies as root? I did get a few
> messages during the copy about not being able to follow a couple of socket
> links, thats all.

You don’t need to be root.
But how did you copy?

I can see the potential for problems if, for instance, you’d use a
drag-and-drop, since some of those dirs are hidden.
Use rsync, at least you know it’ll do everything. And you can refresh a
backup very quickly.

Rikishi42 wrote:

> russbucket wrote:
>
>> Thanks for the response. I just checked, and the restored home director
>> has nothing in the kmail/mail/cur or new or temp folders. I went back to
>> my disk with the backup and there is nothing in the folders there. I
>> checked and early backup on the disk and some of the folders do have
>> messages in them.
>>
>> NOt sure why they were dropped. I copied my whole home folder to the disk
>> under my user name. Do I need to do these copies as root? I did get a few
>> messages during the copy about not being able to follow a couple of
>> socket links, thats all.
>
> You don’t need to be root.
> But how did you copy?
>
> I can see the potential for problems if, for instance, you’d use a
> drag-and-drop, since some of those dirs are hidden.
> Use rsync, at least you know it’ll do everything. And you can refresh a
> backup very quickly.
I’ll do that now that my 2nd crashed disc in a month is replaced. Its time
for a new system.

Russ
Linux register user 441463