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,14 +12,16 @@ job "Grafana" {
} }
} }
mysql "Backup database" { task "Backup database" {
hostname = env("MYSQL_HOST") mysql "Backup database" {
port = env("MYSQL_PORT") hostname = env("MYSQL_HOST")
database = "grafana" port = env("MYSQL_PORT")
username = env("MYSQL_USER") database = "grafana"
password = env("MYSQL_PASSWORD") username = env("MYSQL_USER")
no_tablespaces = true password = env("MYSQL_PASSWORD")
dump_to = "/local/grafana/dump.sql" no_tablespaces = true
dump_to = "/local/grafana/dump.sql"
}
} }
backup { backup {