sunetdrive/templates/mariadb_backup/status-test.erb

4 lines
146 B
Plaintext

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