1
0
Fork 0
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:
BrunoSpy 2023-04-17 12:21:25 +02:00 committed by GitHub
parent 51b1a6179c
commit 435ee20a40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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