Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/replicate-db
diff options
context:
space:
mode:
Diffstat (limited to 'replicate-db')
-rwxr-xr-xreplicate-db2
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'