sunetdrive/templates/mariadb_backup/status-test.erb

4 lines
147 B
Plaintext
Raw Normal View History

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