Fix up container name

This commit is contained in:
Micke Nordin 2023-03-13 13:26:05 +01:00
parent 284bc8ad8e
commit d94ecc9a26
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@
container=${1}
customer=${2}
if [[ -z ${container} ]]; then
container='mariadbbackup_mariadb_backup_1'
container='mariadb_backup_mariadb_backup_1'
fi
if [[ -z ${customer} ]]; then
location='<%= @location %>'

View file

@ -1,3 +1,3 @@
#!/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'"