sunetdrive/templates/mariadb_backup/status-test.erb

4 lines
147 B
Plaintext

#!/bin/bash
docker exec mariadb_backup_mariadb_backup_1 mysql -u root -p'<%= @mysql_root_password %>' -N -B -e "show status like 'Slave_running'"