index : devops | |
Archlinux32 devs' convenience-scripts | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | replicate-db | 2 |
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' |