]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mailman/templates/default/backup.cron.erb
Set internal rsync over ssh backups to use arcfour (rc4) for performance
[chef.git] / cookbooks / mailman / templates / default / backup.cron.erb
index 486694a1e924522052666e525bda7393fe3edcb3..84d032188073005547e20813a14d846b13af6698 100644 (file)
@@ -10,6 +10,7 @@ mkdir $T/lists-$D
 ln -s /var/lib/mailman $T/lists-$D/mailman
 
 export GZIP="--rsyncable -9"
 ln -s /var/lib/mailman $T/lists-$D/mailman
 
 export GZIP="--rsyncable -9"
+export RSYNC_RSH="ssh -ax -c arcfour"
 
 nice tar --create --gzip --dereference --directory=$T --file=$T/$B lists-$D
 nice rsync $T/$B backup::backup
 
 nice tar --create --gzip --dereference --directory=$T --file=$T/$B lists-$D
 nice rsync $T/$B backup::backup