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 76c737b..431b70f 100755
--- a/replicate-db
+++ b/replicate-db
@@ -39,7 +39,7 @@ tmp_file=$(mktemp)
trap 'rm "${tmp_file}"' EXIT
ssh master@10.100.10.1 '
- cd /data/backup;
+ cd /data/backup/mysql;
ls -t | grep -m1 '"'"'^database-.*\.xz$'"'"' | xargs pv
' > "${tmp_file}"