[kdepim-users] What files should I backup?

r bartlett techwritebos at yahoo.com
Wed Aug 19 13:38:21 BST 2009





----- Original Message ----
From: Gary C Curtin <gary.curtin at gmail.com>
To: kdepim-users at kde.org
Sent: Tuesday, August 18, 2009 10:52:59 PM
Subject: Re: [kdepim-users] What files should I backup?

On Wednesday 19 August 2009 12:53:51 r bartlett wrote:
> I'm in the slow as molasses process of migrating from Fedora 8 to 11 and
>  want to know what files I should be sure to back up to ensure not only
>  that my mail is saved, but that my folders and identities and contacts are
>  as well.
> 
> Any thoughts?  Suggestions?  Links?  Ideas?
> 
> The last time I did this it involved a pretty painstaking process of
>  cutting and pasting files by hand and then it still didn't work very well.
>   I'd love to see a "I'm going to upgrade" button that automates all the
>  necessary stuff and puts it into a format that the new version will read. 
>  :-)

Yes, Kontact needs the same backup and restore facility as Evolution; simply a 
few clicks and you're done.

But since this is Kontact, unless you write a script to do it, you will have 
to just copy a bunch of files and folders manually. In Kmail, right click on 
your Inbox and choose Properties. Go the Maintenance Tab. Have a look at the 
Location. It has either .kde4 or .kde in the path.

Substitute the appropriate path below.

You need the following config files:

.kde4/share/config/emaildefaults
.kde4/share/config/emailidentities
.kde4/share/config/kmail.eventsrc
.kde4/share/config/kmailrc
.kde4/share/config/kaddressbookrc
.kde4/share/config/kresources/contact
.kde4/share/config/korgacrc
.kde4/share/config/korganizerrc
.kde4/share/config/knotesrc

and the following directories:

.kde4/share/apps/kmail
.kde4/share/apps/kabc
.kde4/share/apps/korganizer
.kde4/share/apps/knotes

If you use Akregator within Kontact, you will also need:

.kde4/share/config/akregator.eventsrc
.kde4/share/config/akregatorrc
.kde4/share/config/kopete.eventsrc

and the whole .kde4/share/apps/akregator directory.

This works perfectly in KDE. I have this in a script, which I use to backup 
regularly. I am not sure if it will be the same in GNOME.

Of course the simplest way is just to keep your whole $home directory. :-)

Just a word of warning. If the directory naming is different between Desktops 
or between the two versions of Fedora, this will not work as there are 
references to the directories within the config files. This means that if the 
files were in a .kde directory, you cannot just put them in a .kde4 directory 
without editing the references within the config files.

Hope this helps.

Gary


Thank you very much, Gary.  This is exactly the kind of info I was looking for.  I don't use Akregator, but all the others will be vital.  In my case it is .kde/ not .kde4/ so I'm guessing I will have to do some file editing.  I will see how things go and, again, I really appreciate the help.  If I keep my whole .kde/ directory will that cause problems?  Should I at least rename it to .kde4/ beforehand or something like that?

Again, thank you!!

_______________________________________________
KDE PIM users mailing list
kdepim-users at kde.org
https://mail.kde.org/mailman/listinfo/kdepim-users


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
KDE PIM users mailing list
kdepim-users at kde.org
https://mail.kde.org/mailman/listinfo/kdepim-users



More information about the kdepim-users mailing list