Make sure grafana mysql dump happens after dir is created
This commit is contained in:
parent
9d56f6226c
commit
931e2b6e00
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user