diff options
author | Erich Eckner <git@eckner.net> | 2019-11-08 11:58:18 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-11-08 11:58:18 +0100 |
commit | 0d6d785ee6b5cd5eeb2b542d011943d7e1b15157 (patch) | |
tree | de8ff52adfcd020354b4af75be2c7e93cbd499a2 | |
parent | e7891fd81393fc5b74a4f2270e034a17e5c3b140 (diff) | |
download | devops-0d6d785ee6b5cd5eeb2b542d011943d7e1b15157.tar.xz |
replicate-db: use ssh through tinc for syncing, too
-rwxr-xr-x | replicate-db | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/replicate-db b/replicate-db index 9116a41..482cb58 100755 --- a/replicate-db +++ b/replicate-db @@ -38,7 +38,7 @@ printf '\n\n\n%s\n%s\n\n\n\n\n' "${root_pw}" "${root_pw}" | \ tmp_file=$(mktemp) trap 'rm "${tmp_file}"' EXIT -ssh master@buildmaster.archlinux32.org ' +ssh master@10.100.10.1 ' cd /data/backup; ls -t | grep -m1 '"'"'^database-.*\.xz$'"'"' | xargs pv ' > "${tmp_file}" |