3 # DO NOT EDIT - This file is being maintained by Chef
5 T=$(mktemp -d -t -p /var/tmp git.XXXXXXXXXX)
7 B=<%= node[:git][:backup] %>-$D.tar.gz
9 ln -s /var/lib/git $T/git-$D
11 export GZIP="--rsyncable -9"
13 nice tar --create --gzip --dereference --directory=$T --file=$T/$B git-$D
14 nice rsync $T/$B backup::backup