Commit 3ba20344 authored by James Coyle's avatar James Coyle

Corrected diff direction.

parent 2658ed04
...@@ -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 --force --server[email protected]$SOURCE_IP --server2[email protected]$TARGET_IP performance:performance --changes-for=server2 --difftype=sql | tee /tmp/changes.sql" runRemoteSSH "$ROOT/../keys/deploykey.private" "mysqldiff --force --server[email protected]$SOURCE_IP --server1[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