Fix up container name
This commit is contained in:
parent
284bc8ad8e
commit
d94ecc9a26
|
@ -3,7 +3,7 @@
|
||||||
container=${1}
|
container=${1}
|
||||||
customer=${2}
|
customer=${2}
|
||||||
if [[ -z ${container} ]]; then
|
if [[ -z ${container} ]]; then
|
||||||
container='mariadbbackup_mariadb_backup_1'
|
container='mariadb_backup_mariadb_backup_1'
|
||||||
fi
|
fi
|
||||||
if [[ -z ${customer} ]]; then
|
if [[ -z ${customer} ]]; then
|
||||||
location='<%= @location %>'
|
location='<%= @location %>'
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
docker exec mariadbbackup_mariadb_backup_1 mysql -u root -p'<%= @mysql_root_password %>' -N -B -e "show status like 'Slave_running'"
|
docker exec mariadb_backup_mariadb_backup_1 mysql -u root -p'<%= @mysql_root_password %>' -N -B -e "show status like 'Slave_running'"
|
||||||
|
|
Loading…
Reference in a new issue