gh-ost/resources/hooks-sample/gh-ost-on-stop-replication-hook

7 lines
268 B
Plaintext
Raw Permalink Normal View History

2016-08-25 11:55:34 +00:00
#!/bin/bash
# Sample hook file for gh-ost-on-stop-replication
# Useful for RDS/Aurora setups, see https://github.com/github/gh-ost/issues/163
2016-08-25 11:55:34 +00:00
echo "$(date) gh-ost-on-stop-replication $GH_OST_DATABASE_NAME.$GH_OST_TABLE_NAME $GH_OST_MIGRATED_HOST" >> /tmp/gh-ost.log