X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/79c6636acc892cc8fd336a0506948fcd16e8654f..4c86175022c9036999f9d8341e48cbd884448709:/cookbooks/osqa/templates/default/backup.cron.erb diff --git a/cookbooks/osqa/templates/default/backup.cron.erb b/cookbooks/osqa/templates/default/backup.cron.erb index 28b4a0fbf..e9d0e7352 100644 --- a/cookbooks/osqa/templates/default/backup.cron.erb +++ b/cookbooks/osqa/templates/default/backup.cron.erb @@ -13,7 +13,7 @@ sudo -u <%= @user %> pg_dump --format=custom --file=$T/<%= @name %>-$D/osqa.dmp ln -s <%= @directory %>/upfiles $T/<%= @name %>-$D/upfiles export GZIP="--rsyncable -9" -export RSYNC_RSH="ssh -ax -c arcfour" +export RSYNC_RSH="ssh -ax" nice tar --create --gzip --dereference --directory=$T --file=$T/$B <%= @name %>-$D nice rsync $T/$B backup::backup