SuSE; 9.1 KDE; stock with above Kmail; stock with above Where does Kmail store; account info adresses configuration filters I need to get a backup of the above from a system which (I suspect) might soon run into hardware failure. (The disk has begun making noises). It's been *some* time since I used Kmail and I've completely forgotten where to look :P TIA /Jon -- YMMV
On Wednesday 06 April 2005 05:46, Jon Clausen wrote:
SuSE; 9.1 KDE; stock with above Kmail; stock with above
Where does Kmail store;
account info adresses configuration filters
I need to get a backup of the above from a system which (I suspect) might soon run into hardware failure. (The disk has begun making noises).
It's been *some* time since I used Kmail and I've completely forgotten where to look :P
if you backup ~/Mail you'll be fine. (Might as well back up the whole /home though, to get prefs, ssh hosts/keys, etc) H
On Wednesday 06 April 2005 06:46, Jon Clausen wrote:
SuSE; 9.1 KDE; stock with above Kmail; stock with above
Where does Kmail store;
account info adresses configuration filters
I need to get a backup of the above from a system which (I suspect) might soon run into hardware failure. (The disk has begun making noises).
It's been *some* time since I used Kmail and I've completely forgotten where to look :P
Kmail stores just about everything except the actual mail in .kde/share/config/kmailrc
On Wed, 06 Apr, 2005 at 13:29:46 +0200, Anders Johansson wrote:
On Wednesday 06 April 2005 06:46, Jon Clausen wrote:
where to look :P
Kmail stores just about everything except the actual mail in .kde/share/config/kmailrc
Great :) Thanks /Jon -- YMMV
On Wednesday 06 April 2005 14:59, Jon Clausen wrote:
On Wed, 06 Apr, 2005 at 13:29:46 +0200, Anders Johansson wrote:
On Wednesday 06 April 2005 06:46, Jon Clausen wrote:
where to look :P
Kmail stores just about everything except the actual mail in .kde/share/config/kmailrc
Great :)
Thanks
/Jon -- YMMV
I just upgraded from 9.1 to 9.2 and ran apt to update to KDE 3.4. And found the following: Kmail 1.8 (?) moved the maildir From ~/Mail to ~/.kde/share/apps/kmail/maildir I also needed to copy the files ~/.kde/share/config/emaildefaults ~/.kde/share/config/emailidentities ~/.kde/share/config/kmailrc To get everything up and running as before again. Isn't it about time the people of KMail make a "save and export" function to SAFELY and conveniently save ALL settings such as filters, accounts and stuff?? Its way to messy to back it up by hand. -- /Rikard " Sharing knowledge is the most fundamental act of friendship. Because it is a way you can give something without loosing something." -R. Stallman --------------------------------------------------------------- Rikard Johnels email : rikjoh@norweb.se Web : http://www.rikjoh.com/users/rikjoh Mob : +46 735 05 51 01 PGP : 0x461CEE56 ---------------------------------------------------------------
On Wednesday 06 April 2005 20:22, Rikard Johnels wrote:
On Wednesday 06 April 2005 14:59, Jon Clausen wrote:
On Wed, 06 Apr, 2005 at 13:29:46 +0200, Anders Johansson wrote: [...]
I just upgraded from 9.1 to 9.2 and ran apt to update to KDE 3.4. And found the following:
Kmail 1.8 (?) moved the maildir From ~/Mail to ~/.kde/share/apps/kmail/maildir
I also needed to copy the files ~/.kde/share/config/emaildefaults ~/.kde/share/config/emailidentities ~/.kde/share/config/kmailrc
To get everything up and running as before again.
Isn't it about time the people of KMail make a "save and export" function to SAFELY and conveniently save ALL settings such as filters, accounts and stuff?? Its way to messy to back it up by hand.
/Rikard
I've installed 9.2 from scratch and it is pain in the neck to move KMail stuff including structure of the folders with the contents ( messages) , addresses with the distribution list and so on from old installation from 9.0. So, "save and export" is needed.
Jul, On Thursday 07 April 2005 06:50, Jul wrote:
...
I've installed 9.2 from scratch and it is pain in the neck to move KMail stuff including structure of the folders with the contents ( messages) , addresses with the distribution list and so on from old installation from 9.0. So, "save and export" is needed.
Would you explain the difficulties you encountered? Randall Schulz
On Thursday 07 April 2005 17.08, Randall R Schulz wrote:
Jul,
On Thursday 07 April 2005 06:50, Jul wrote:
...
I've installed 9.2 from scratch and it is pain in the neck to move KMail stuff including structure of the folders with the contents ( messages) , addresses with the distribution list and so on from old installation from 9.0. So, "save and export" is needed.
Would you explain the difficulties you encountered?
Randall Schulz
Its easy enough to get the mailfolders across, but at least MY problems were: Trying to copy all the filters i have entered. Copying the multiple accounts i have set up. Making KMail find what folders the receiving accounts use. And a few minor other things. As it is now, its WAY to complex for a newer user to handle. What to copy, where to look etc.. It would be so much simpler if there was a "backup/export" utility that got ALL the settings, filters and stuff in one go. -- /Rikard " Sharing knowledge is the most fundamental act of friendship. Because it is a way you can give something without loosing something." -R. Stallman --------------------------------------------------------------- Rikard Johnels email : rikjoh@norweb.se Web : http://www.rikjoh.com/users/rikjoh Mob : +46 735 05 51 01 PGP : 0x461CEE56 ---------------------------------------------------------------
Rikard, On Thursday 07 April 2005 13:43, Rikard Johnels wrote:
On Thursday 07 April 2005 17.08, Randall R Schulz wrote:
Jul,
On Thursday 07 April 2005 06:50, Jul wrote:
...
I've installed 9.2 from scratch and it is pain in the neck to move KMail stuff including structure of the folders with the contents ( messages) , addresses with the distribution list and so on from old installation from 9.0. So, "save and export" is needed.
Would you explain the difficulties you encountered?
Randall Schulz
Its easy enough to get the mailfolders across, but at least MY problems were: Trying to copy all the filters i have entered. Copying the multiple accounts i have set up. Making KMail find what folders the receiving accounts use. And a few minor other things.
Is there a problem copying the KMail settings in the directory "~/.kde/.kde/share/apps/kmail"?
...
--
/Rikard
Randall Schulz
On Thursday 07 April 2005 16:43, Rikard Johnels wrote:
Its easy enough to get the mailfolders across, but at least MY problems were: Trying to copy all the filters i have entered. Copying the multiple accounts i have set up. Making KMail find what folders the receiving accounts use. And a few minor other things.
As it is now, its WAY to complex for a newer user to handle. What to copy, where to look etc.. It would be so much simpler if there was a "backup/export" utility that got ALL the settings, filters and stuff in one go.
Having hosed my email system regularly, I've found the restoration process to be a pretty simple process performing it manually. But a new user who hasn't had the pleasure of hosing their system might be a bit confused with locations of files and such. A simple bash script with a half dozen or so lines might be all you would need to perform the house keeping chores. Maybe similar to the following based on the assumption that the new directories have been created: #!/bin/bash # #screwed up kmail again utility v 0.0.1 # cp ~/oldmaildirectory/* newmaildirectory # if new directory not yet created than the following will create the # directory and copy all the files over # cp -r /oldmaildirectory newmaildirectory cp ~/.oldkde/share/apps/kmail/* ~/.newkde/share/apps/kmail # ditto the above comment here # cp -r /.oldkde/share/apps/kmail ~/.newkde/share/apps/kmail cp ~/.ok/share/config/emaildefaults ~/.nk/share/config/emaildefaults cp ~/.ok/share/config/emailidentities ~/.nk/share/config/emailidentities cp ~/.oldkde/share/config/kmailrc ~/.newkde/share/config/kmailrc Now, a new user would be able to read this file and figure out where the necessary files are located and manually copy them over. ;> I think something like this would work for the purpose of moving kmail stuff somewhere else. Add another half dozen lines and you could backup the files. HTH
On Friday 08 April 2005 05.04, columbo@wowway.com wrote:
On Thursday 07 April 2005 16:43, Rikard Johnels wrote:
Its easy enough to get the mailfolders across, but at least MY problems were: Trying to copy all the filters i have entered. Copying the multiple accounts i have set up. Making KMail find what folders the receiving accounts use. And a few minor other things.
As it is now, its WAY to complex for a newer user to handle. What to copy, where to look etc.. It would be so much simpler if there was a "backup/export" utility that got ALL the settings, filters and stuff in one go.
Having hosed my email system regularly, I've found the restoration process to be a pretty simple process performing it manually. But a new user who hasn't had the pleasure of hosing their system might be a bit confused with locations of files and such.
A simple bash script with a half dozen or so lines might be all you would need to perform the house keeping chores. Maybe similar to the following based on the assumption that the new directories have been created:
#!/bin/bash # #screwed up kmail again utility v 0.0.1 # cp ~/oldmaildirectory/* newmaildirectory
# if new directory not yet created than the following will create the # directory and copy all the files over # cp -r /oldmaildirectory newmaildirectory
cp ~/.oldkde/share/apps/kmail/* ~/.newkde/share/apps/kmail
# ditto the above comment here # cp -r /.oldkde/share/apps/kmail ~/.newkde/share/apps/kmail
cp ~/.ok/share/config/emaildefaults ~/.nk/share/config/emaildefaults cp ~/.ok/share/config/emailidentities ~/.nk/share/config/emailidentities cp ~/.oldkde/share/config/kmailrc ~/.newkde/share/config/kmailrc
Now, a new user would be able to read this file and figure out where the necessary files are located and manually copy them over. ;>
I think something like this would work for the purpose of moving kmail stuff somewhere else. Add another half dozen lines and you could backup the files.
HTH
Yes. This is the same procedure (though not in script form) as i did it. But it would be so much easier to have it included in KMail to begin with. or have a separate routine for it to be able to backup/restore all files. The question of what to backup is a recurring one on this list (and others) so i think there is a "need" for a simpler way. I would, if i could (i am no programmer at all) write a small program for the purpose, or maybe a YAST module. But i lack the knowledge for it. -- /Rikard " Sharing knowledge is the most fundamental act of friendship. Because it is a way you can give something without loosing something." -R. Stallman --------------------------------------------------------------- Rikard Johnels email : rikjoh@norweb.se Web : http://www.rikjoh.com/users/rikjoh Mob : +46 735 05 51 01 PGP : 0x461CEE56 ---------------------------------------------------------------
participants (7)
-
Anders Johansson
-
columbo@wowway.com
-
Hamish
-
Jon Clausen
-
Jul
-
Randall R Schulz
-
Rikard Johnels