Set internal rsync over ssh backups to use arcfour (rc4) for performance
[chef.git] / cookbooks / db / templates / default / backup-db.erb
index 3ad1020c4d7dfba5a98abaaf178df19e61292186..04eaeebd7c3c0028959cef731ce6ef9939b686f3 100644 (file)
@@ -7,6 +7,7 @@ F=/tmp/osm-${D}.dmp
 
 pg_dump --user=backup --format=custom --file=$F openstreetmap
 
+export RSYNC_RSH="ssh -ax -c arcfour"
 rsync $F backup.openstreetmap.org::backup
 
 rm -f $F