Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-04-2008, 04:18 PM
|
#1
|
LQ Newbie
Registered: Aug 2004
Posts: 18
Rep:
|
How might I restore kmail folders/mail/settings from a "badly" saved "home"?
I would like to recover my kmail settings, mail, etc., but my saved file has some problems.
The sequence was-- Suse 10.2 locked up during a driver installation and didn't work after power-down/up. So I figured maybe a Suse 10.3 upgrade would clean it up. All sorts of problems.
First my system backup turned out to be no good.
I then tried a saving the whole system in its current semi-broken state to a new external drive. I *think* I did a cp -pr source dest. The result is that "/home" is available, but the owner and permissions appear incorrect.
I tried copying the saved "/home" directory from the external drive to a new installed Suse 10.3. The desktop then failed. Reload the Suse 10.3 and try copying ".kde" directory in. Kmail said that configurations et al. couldn't be written. Realizing that permissions and owners was off I tried doing a chmod 666 and chown. No luck.
Any ideas of what to do?
|
|
|
03-04-2008, 04:52 PM
|
#2
|
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
|
Not used kmail in a long time but under the .kde is of the backup there should be something for it. Then maybe a .kmail for email or it may not be hidden. If not the same user then use the commands ' chown -R owner directory ' to change ownership to you. Then the same for ' chgrp -R owner directory ' for groupship to you. Then you should be able to copy over and replace of existing directories exist.
Brian
|
|
|
03-04-2008, 06:42 PM
|
#3
|
LQ Newbie
Registered: Aug 2004
Posts: 18
Original Poster
Rep:
|
Brian1,
Thanks for the response. Yes, I did that. Copying .kde resulted everything on the desktop disappearing, and I was unable to launch anything, including a terminal window (so I had to reload the system).
There seems to be more to problem than copying .kde after making the owner and permissions changes. Perhaps something in some systems directory(?)
|
|
|
03-05-2008, 04:43 PM
|
#4
|
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
|
It can depend on the version of kmail or any other app related to files under .kde. If you have a newer version of something than what is installed on the second it may not under stand the older format of files. Normally during a app upgrade if configs change they usually change between those versions. Just a possible idea.
I would not copy the entire .kde since it is info on several apps. If one config is started and the base app is not it may make it unstable.
Brian
|
|
|
03-06-2008, 02:52 PM
|
#5
|
LQ Newbie
Registered: Aug 2004
Posts: 18
Original Poster
Rep:
|
Brian1,
Good thought. It's doubtful that versions are the problem. The old one would have been no earlier than 3.5.5 R45 and the new one is 3.5.7 R72.6.
What I haven't found is where the email is stored.
In the new installation I find it under the directories (for each folder) under:
~/.kde/share/apps/kmail/mail
In the old "stuff that was saved" I don't find a mail directory under kmail.
I doubt that it got erased, but on the other hand... The system crash was one where it locked up when Suse 10.2 Yast was writing the system configuration, after making some changes to the network cards. Rebooting the system had some problems, (e.g. it had reversed the drivers for the two network cards and AppAmor(sp?) didn't come up during bootup, as well as a couple of other things), but I did check the email program as a test to see of the network was working (which it was not). After trying a bunch of things, the details I now forget, I decided that maybe the best solution would be upgrade to reinstall, upgrading to, Suse 10.3. That "partially worked", e.g. some things like the Yast upgrade that follows the installation failed also, the kernel patch failed(!). I suspect the original system configurations from earlier crash was screwing up the installation/update. At that point I decided I'd better save everything.
Possibly some of the kmail stuff got zapped.
|
|
|
03-08-2008, 09:25 PM
|
#6
|
LQ Newbie
Registered: Aug 2004
Posts: 18
Original Poster
Rep:
|
Just to close this thread--
I did find the email in the system save. It was under my nose, so to speak in:
~/Mail
Kmail on another Suse 10.2 machine as well as Suse 10.3 have the mail under
~/.kde/share/apps/kmail/mail
Consequently, 'find -name mail' would not turn up anything.
It's all back up and working.
|
|
|
All times are GMT -5. The time now is 01:24 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|