Corrected diff direction.
Showing
... | ... | @@ -6,6 +6,6 @@ ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" |
source $ROOT/set_env.sh | ||
source $ROOT/functions.sh | ||
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 | ||
\ No newline at end of file |
Please register or sign in to comment