From 10c44fe5fc8c0a2255eca8790a9cf991cd43b0d7 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Fri, 10 Mar 2023 10:05:21 +0100 Subject: [PATCH] Fix container name --- templates/mariadb_backup/check_replication.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/mariadb_backup/check_replication.erb b/templates/mariadb_backup/check_replication.erb index 8df406f..f133caa 100755 --- a/templates/mariadb_backup/check_replication.erb +++ b/templates/mariadb_backup/check_replication.erb @@ -1,6 +1,6 @@ #!/bin/bash -result="$(docker exec mariadbbackup_mariadb_backup_1 mysql -p<%= @mysql_root_password %> -BN -e 'show status like "slave_running"')" +result="$(docker exec mariadb_backup_mariadb_backup_1 mysql -p<%= @mysql_root_password %> -BN -e 'show status like "slave_running"')" if [[ "${result}" == "Slave_running ON" ]]; then echo "OK: Replica running" exit 0