sunetdrive/templates/mariadb_backup/status-test.erb

4 lines
147 B
Text
Raw Normal View History

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