rm -rf $HOME/.modest-backup.tar.gz
-echo "$*" | grep -q "emails" || exit 0
+echo "$*" | grep -q "comm_and_cal" || exit 0
cd $HOME/
tar czvf .modest-backup.tar.gz --exclude="*.ev-summary.mmap" --exclude=".modest/images/*" .modest
<backup-configuration>
<locations>
- <location type="file" category="emails" auto="true">/home/user/.modest-backup.tar.gz</location>
- <location type="dir" category="emails" auto="true">/var/lib/gconf/apps/modest</location>
+ <location type="file" category="comm_and_cal" auto="true">/home/user/.modest-backup.tar.gz</location>
+ <location type="dir" category="comm_and_cal" auto="true">/var/lib/gconf/apps/modest</location>
</locations>
</backup-configuration>