From 372ba57997645c91c7a97654c903db3a832d511c Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 13 Nov 2019 09:04:53 +0100 Subject: replicate-db: /data/backup -> /data/backup/mysql --- replicate-db | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'replicate-db') 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}" -- cgit v1.2.3-70-g09d2