Commit 5df80fa0 authored by j38560's avatar j38560

Fixed mysqldiff switches.

parent cb7b2d38
...@@ -6,6 +6,6 @@ ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" ...@@ -6,6 +6,6 @@ ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source $ROOT/ source $ROOT/
source $ROOT/ source $ROOT/
runRemoteSSH "$ROOT/../keys/deploykey.private" "mysqldiff --skip-row-count --skip-data-check --s[email protected]$SOURCE_IP [email protected]$TARGET_IP performance:performance --changes-for=server2 --difftype=sql | tee /tmp/changes.sql" runRemoteSSH "$ROOT/../keys/deploykey.private" "mysqldiff [email protected]$SOURCE_IP [email protected]$TARGET_IP performance:performance --changes-for=server2 --difftype=sql | tee /tmp/changes.sql"
scp -o StrictHostKeyChecking=no -i $ROOT/../keys/deploykey.private [email protected]$TARGET_IP:/tmp/changes.sql $ROOT/../changes.sql scp -o StrictHostKeyChecking=no -i $ROOT/../keys/deploykey.private [email protected]$TARGET_IP:/tmp/changes.sql $ROOT/../changes.sql
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment