3 # DO NOT EDIT - This file is being maintained by Chef
5 T=$(mktemp -d -t -p /var/tmp blogs.XXXXXXXXXX)
10 sqlite3 /srv/blogs.openstreetmap.org/planet.db ".backup $T/blogs-$D/planet.db"
12 export RSYNC_RSH="ssh -ax"
14 nice tar --create --dereference --directory=$T blogs-$D | nice gzip --rsyncable -9 > $T/$B
15 nice rsync --preallocate --fuzzy $T/$B backup.openstreetmap.org::backup