[Assorted-commits] SF.net SVN: assorted:[1364] configs/trunk/src/cron/backup.bash
Brought to you by:
yangzhang
From: <yan...@us...> - 2009-05-05 16:10:45
|
Revision: 1364 http://assorted.svn.sourceforge.net/assorted/?rev=1364&view=rev Author: yangzhang Date: 2009-05-05 16:10:32 +0000 (Tue, 05 May 2009) Log Message: ----------- added more file sets to backup script Modified Paths: -------------- configs/trunk/src/cron/backup.bash Modified: configs/trunk/src/cron/backup.bash =================================================================== --- configs/trunk/src/cron/backup.bash 2009-05-05 16:09:58 UTC (rev 1363) +++ configs/trunk/src/cron/backup.bash 2009-05-05 16:10:32 UTC (rev 1364) @@ -14,6 +14,17 @@ eval `keychain --eval --nogui id_dsa 2> /dev/null` export PASSPHRASE="$( cat ~/.backup.auth )" -duplicity $args ~/personal/ scp://hv//export/home/yang/backup-zs.ath.cx -duplicity $args ~/.purple/ scp://hv//export/home/yang/purple-zs.ath.cx -duplicity $args ~/.xchat2/ scp://hv//export/home/yang/xchat-zs.ath.cx + +run-duplicity() { + duplicity $args "$1" "scp://hv//export/home/yang/backup-zs.ath.cx/$2" +} + +run-duplicity ~/personal/ backup +run-duplicity ~/.purple/ purple +run-duplicity ~/.xchat2/ xchat +run-duplicity ~/.mozilla-thunderbird/r9d4e7vh.default/Mail/'Local Folders'/ \ + thunderbird +run-duplicity ~/.zdb/ zdb +run-duplicity ~/.quodlibet/ quodlibet +run-duplicity ~/.gnupg/ gpg +run-duplicity ~/.supybot/ supybot This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |