mirror of
https://github.com/YunoHost-Apps/grafana_ynh.git
synced 2024-09-03 20:36:29 +02:00
Backup all databases and use portable format
Portable format is recommended by influxdata for version > 1.4
This commit is contained in:
parent
51b1a6179c
commit
435ee20a40
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ if [ -d "/var/lib/influxdb/data/opentsdb" ]; then
|
||||||
ynh_print_warn --message="The InfluxDB database will not be saved, because 'do_not_backup_data' is set."
|
ynh_print_warn --message="The InfluxDB database will not be saved, because 'do_not_backup_data' is set."
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
influxd backup -database opentsdb influxdb_data
|
influxd backup -portable influxdb_data
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue