diff options
-rwxr-xr-x | replicate-db | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/replicate-db b/replicate-db index 482cb58..76c737b 100755 --- a/replicate-db +++ b/replicate-db @@ -57,7 +57,7 @@ ssh master@10.100.10.1 ' 3306 \ 'replikat' \ "${replikat_pw}" - xzcat "${tmp_file}" | pv + pv "${tmp_file}" | xzcat xzgrep -- '^-- CHANGE MASTER TO ' "${tmp_file}" | \ sed 's/^-- //' printf 'START SLAVE;\n' |