Wednesday, February 25, 2009

Evolution Backup and Restore - Ubuntu

Backup Evolution

Step 1: Shutdown evolution and gconftool-2

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

Step 2:Create an archive with the data and configuration files


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

The following command will take care of these
$cd
$tar -cvzf evolution-backup.tar.gz .evolution .gconf/apps/evolution

Now the file evolution-backup.tar.gz is the backup you want. You can move the data over to another Ubuntu computer if you like, and just un-tar the archive while in your /home/username/ directory to restore it.

To restore, use:

$gconftool-2 --shutdown

$evolution --force-shutdown
$tar xzf evolution-backup.tar.gz



No comments: