mirror of
https://github.com/YunoHost-Apps/grafana_ynh.git
synced 2024-09-03 20:36:29 +02:00
fix backup/restore
This commit is contained in:
parent
ee905417dd
commit
d50ad8e6de
2 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ fi
|
||||||
|
|
||||||
ynh_backup --src_path="/etc/influxdb"
|
ynh_backup --src_path="/etc/influxdb"
|
||||||
ynh_backup --src_path="/etc/$app"
|
ynh_backup --src_path="/etc/$app"
|
||||||
ynh_backup --src_path="/var/lib/grafana/plugins"
|
ynh_backup --src_path="/var/lib/grafana/plugins" --not_mandatory
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# BACKUP THE MYSQL DATABASE
|
# BACKUP THE MYSQL DATABASE
|
||||||
|
|
|
@ -76,7 +76,7 @@ ynh_script_progression --message="Restoring various files..." --weight=2
|
||||||
|
|
||||||
ynh_restore_file --origin_path="/etc/influxdb"
|
ynh_restore_file --origin_path="/etc/influxdb"
|
||||||
ynh_restore_file --origin_path="/etc/grafana"
|
ynh_restore_file --origin_path="/etc/grafana"
|
||||||
ynh_restore_file --origin_path="/var/lib/grafana/plugins"
|
ynh_restore_file --origin_path="/var/lib/grafana/plugins" --not_mandatory
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RESTORE THE INFLUXDB DATABASE
|
# RESTORE THE INFLUXDB DATABASE
|
||||||
|
|
Loading…
Reference in a new issue