sunetdrive/templates/mariadb_backup/status-test.erb

4 lines
146 B
Plaintext
Raw Normal View History

2023-02-13 09:44:56 +00:00
#!/bin/bash
docker exec mariadbbackup_mariadb_backup_1 mysql -u root -p'<%= @mysql_root_password %>' -N -B -e "show status like 'Slave_running'"