From 0838982ac43ac189752b8fb99477bc6eca355084 Mon Sep 17 00:00:00 2001 From: j38560 Date: Thu, 22 Dec 2016 15:44:59 +0000 Subject: [PATCH] Added --force. --- bin/diff.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/diff.sh b/bin/diff.sh index ec2e5b4..342083f 100644 --- a/bin/diff.sh +++ b/bin/diff.sh @@ -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 --server1=deployment@$SOURCE_IP --server2=deployment@$TARGET_IP performance:performance --changes-for=server2 --difftype=sql | tee /tmp/changes.sql" +runRemoteSSH "$ROOT/../keys/deploykey.private" "mysqldiff --force --server1=deployment@$SOURCE_IP --server2=deployment@$TARGET_IP performance:performance --changes-for=server2 --difftype=sql | tee /tmp/changes.sql" scp -o StrictHostKeyChecking=no -i $ROOT/../keys/deploykey.private root@$TARGET_IP:/tmp/changes.sql $ROOT/../changes.sql \ No newline at end of file -- GitLab