index : devops | |
Archlinux32 devs' convenience-scripts | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-11-13 09:04:53 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-11-13 09:04:53 +0100 |
commit | 372ba57997645c91c7a97654c903db3a832d511c (patch) | |
tree | 1b407cc27e067f734683eda644b8ba3b52105224 /replicate-db | |
parent | 1c7788b7a9ada127d3be8d7f554ef711e04a3c1a (diff) |
-rwxr-xr-x | replicate-db | 2 |
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}" |