Make sure grafana mysql dump happens after dir is created

This commit is contained in:
IamTheFij 2022-11-03 22:18:04 -07:00
parent 9d56f6226c
commit 931e2b6e00

View File

@ -12,6 +12,7 @@ job "Grafana" {
}
}
task "Backup database" {
mysql "Backup database" {
hostname = env("MYSQL_HOST")
port = env("MYSQL_PORT")
@ -21,6 +22,7 @@ job "Grafana" {
no_tablespaces = true
dump_to = "/local/grafana/dump.sql"
}
}
backup {
paths = ["/local/grafana"]