owner "root"
group "root"
mode 0750
- variable :passwords => passwords
+ variables :passwords => passwords
end
owner "root"
group "root"
mode 0750
- variable :passwords => passwords
+ variables :passwords => passwords
end
owner "root"
group "root"
mode 0750
- variable :passwords => passwords
+ variables :passwords => passwords
end
export GZIP="--rsyncable -9"
nice tar --create --gzip --dereference --directory=$T --file=$T/$B sotm-$D
-nice nice $T/$B backup::backup
+nice rsync $T/$B backup::backup
rm -rf $T
owner "root"
group "root"
mode 0750
- variable :passwords => passwords
+ variables :passwords => passwords
end
owner "root"
group "root"
mode 0750
- variable :passwords => passwords
+ variables :passwords => passwords
end
B=thinkup-$D.tar.gz
mkdir $T/thinkup-$D
-mysqldump --user=thinkup --password=<% @passwords["database"] %> --opt thinkup > $T/thinkup-$D/thinkup.sql
+mysqldump --user=thinkup --password=<%= @passwords["database"] %> --opt thinkup > $T/thinkup-$D/thinkup.sql
ln -s /srv/thinkup.openstreetmap.org $T/thinkup-$D/www
export GZIP="--rsyncable -9"