Re: [Evolution] Backup contacts only
- From: Thomas Mittelstaedt <tmstaedt t-mittelstaedt de>
- To: Dianne Reuby <pramclub yahoo co uk>
- Cc: evolution-list gnome org
- Subject: Re: [Evolution] Backup contacts only
- Date: Fri, 20 Nov 2009 19:00:03 +0100
Dianne,
Am Freitag, den 20.11.2009, 14:37 +0000 schrieb Dianne Reuby:
Is it possible to backup just my contacts, rather than a full backup?
(Perhaps by manually copying files to the backup location?)
You are lucky, Dianne. Just a few days ago, I figured it is somewhat
inefficient to archive the whole .evolution folder to my usb stick every
day. So I wrote a little script which uses GNU tar to do an incremental
backup, see below. Of course, it's necessary to do this from a terminal.
I hope, you are familiar with that.
So first I would do:
mybackup-evolution-increm.sh /media/disk/evolution-0.tar.gz ## 0-level
backup, i.e. everything
next time:
mybackup-evolution-increm.sh /media/disk/evolution-1.tar.gz ## level-1
mybackup-evolution-increm.sh /media/disk/evolution-2.tar.gz ## level-2
... and so on
########################################################
### Do incremental backups of your .evolution folder
#! /bin/bash
echo "Shutting down evolution"
/opt/evo/bin/evolution --force-shutdown
echo "Backing up gnome configuration for /apps/evolution"
gconftool-2 --dump /apps/evolution
/home/tom/.evolution/backup-restore-gconf.xml
echo "Creating incremental backup"
if [ -f "$1" ] ; then echo "File exists, please choose different
name" ; exit 1; fi
cd $HOME && tar chf - .evolution -g .tar-g-evolution | gzip > $1
########################################################
See also:
http://www.gnu.org/software/tar/manual/html_section/Incremental-Dumps.html
--
thomas
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]