[kdepim-users] What files should I backup?

r bartlett techwritebos at yahoo.com
Wed Aug 19 13:45:20 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:


and the following directories:


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


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.


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

KDE PIM users mailing list
kdepim-users at kde.org

More information about the kdepim-users mailing list