7 lines
166 B
Plaintext
7 lines
166 B
Plaintext
|
#!/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/
|