Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/replicate-db
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-11-13 09:04:53 +0100
committerErich Eckner <git@eckner.net>2019-11-13 09:04:53 +0100
commit372ba57997645c91c7a97654c903db3a832d511c (patch)
tree1b407cc27e067f734683eda644b8ba3b52105224 /replicate-db
parent1c7788b7a9ada127d3be8d7f554ef711e04a3c1a (diff)
replicate-db: /data/backup -> /data/backup/mysql
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}"