How to Backup and Restore Evolution

Posted by kimus | July 27, 2008 @ 17:56 | Filed under: evolution, gnome, linux

This describes how to backup your Evolution data (Mail, Calendar, Contacts, Accounts and other settings).

Step 1

Shutdown evolution and gconftool-2:

$ gconftool-2 --shutdown $ evolution --force-shutdown

Step 2

Create an archive with the data and configuration files: Note: To completely save the Evolution data and configuration, you need to save the following directories/files:

  1. ~/.evolution/
  2. ~/.gconf/apps/evolution/
  3. ~/.gnome2_private/Evolution

You also have to backup evolution settings:

$ gconftool-2 --dump /apps/evolution > evolution_settings.xml

To restore your data just do:

$ gconftool-2 --shutdown $ evolution --force-shutdown $ tar xvf evolution-data-backup.tgz $ gconftool-2 --unload evolution_settings.xml $ gconftool-2 --load evolution_settings.xml $ rm -f evolution_settings.xml