Re: [Evolution] Is there a simple way to backup using a command line command?

Am Donnerstag, den 27.01.2011, 11:12 -0600 schrieb Leonard Evens:
I have a couple of shell scripts which I run to backup my files.   Right
now I do something rather complicated to backup evolution.

Can I just use the evolution command in these scripts to do the backup
directly?  Where do I find out about this.  evolution doesn't have
a man page and
evolution -h
didn't help much.

I use the following bash script to do incremental backups of
my evolution data, version 2.28, that is.
It uses the incremental backup feature of GNU tar. You have to modify it
for version 2.32, since data is now stored in different places, like
~/.local/share/evolution and ~/.config/evolution. See also:

#### begin of #####
#! /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

echo "Creating incremental backup"
while [ $i ] ; do

  if [ ! -f $archive ] ; then
    echo Creating $archive
    cd $HOME && tar chf - .evolution -g .tar-g-evolution | gzip >
    let i=i+1

#### end of #####


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]