3 # DO NOT EDIT - This file is being maintained by Chef
5 T=$(mktemp -d -t -p /var/tmp prometheus.XXXXXXXXXX)
11 ln -s /var/lib/prometheus/alertmanager $T/prometheus-$D/alertmanager
12 ln -s /var/lib/grafana $T/prometheus-$D/grafana
14 export RSYNC_RSH="ssh -ax"
16 nice tar --create --dereference --directory=$T prometheus-$D | nice gzip --rsyncable -9 > $T/$B
17 nice rsync --preallocate --fuzzy $T/$B backup.openstreetmap.org::backup