[Evolution] Running the Evolution Backup plugin from the command line



I'd like to be able to run the backup-restore plugin as a cron job
periodically. 

This command almost does the trick, 

/usr/lib/evolution/2.32/evolution-backup
--backup /home/portsample/EvolutionBackup_$(date +%T_%F)

Output from the command is:

** Message: evolution --quit
** Message: rm /home/portsample/.local/share/evolution/.running
rm: cannot remove `/home/portsample/.local/share/evolution/.running': No
such file or directory
** Message: gconftool-2 --dump /apps/evolution
/home/portsample/.local/share/evolution/backup-restore-gconf.xml
** Message: cd /home/portsample && tar chf
- .local/share/evolution .config/evolution .camel_certs evolution.dir |
gzip > '/home/portsample/EvolutionBackup_22:04:54_2011-01-09'
tar: .camel_certs: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
** Message: rm /home/portsample/evolution.dir

This command does not exit cleanly back to a shell prompt. 

Any suggestions regarding correcting the two error messages in the
second and third to last lines? 

Thanks.






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