summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-11-08 11:58:18 +0100
committerErich Eckner <git@eckner.net>2019-11-08 11:58:18 +0100
commit0d6d785ee6b5cd5eeb2b542d011943d7e1b15157 (patch)
treede8ff52adfcd020354b4af75be2c7e93cbd499a2
parente7891fd81393fc5b74a4f2270e034a17e5c3b140 (diff)
downloaddevops-0d6d785ee6b5cd5eeb2b542d011943d7e1b15157.tar.xz
replicate-db: use ssh through tinc for syncing, too
-rwxr-xr-xreplicate-db2
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}"