diff --git a/backups/backup.nomad b/backups/backup.nomad index 54eb7a8..dc52494 100644 --- a/backups/backup.nomad +++ b/backups/backup.nomad @@ -43,7 +43,7 @@ job "backup%{ if batch_node != null }-oneoff-${batch_node}%{ endif }" { volume "all-volumes" { type = "host" - read_only = true + read_only = false source = "all-volumes" } @@ -86,7 +86,7 @@ job "backup%{ if batch_node != null }-oneoff-${batch_node}%{ endif }" { volume_mount { volume = "all-volumes" destination = "/data" - read_only = true + read_only = false } config { @@ -123,14 +123,19 @@ job "backup%{ if batch_node != null }-oneoff-${batch_node}%{ endif }" { template { # Probably want to use database credentials that have access to dump all tables data = <