icinga2-container/usr/bin/backup-influxdb

7 lines
166 B
Plaintext
Raw Normal View History

2016-04-30 23:20:43 +00:00
#!/bin/sh
mv /backup/influxdb/tmp/meta.00 /backup/influxdb/ 2>/dev/null
set -e
influxd backup /backup/influxdb/tmp
mv /backup/influxdb/tmp/meta.00 /backup/influxdb/