commit 0c75909ecf7a4b668e2345b13f516bd4dac173c6
parent 56bbb7c34506e2e09229c301c37d7ba776c9db17
Author: dwrz <dwrz@dwrz.net>
Date: Thu, 2 Nov 2023 15:10:30 +0000
Fix backup script
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/backup b/scripts/backup
@@ -16,7 +16,7 @@ backup-hosts() {
local target="$1"
for h in "${HOSTS[@]}"; do
- if [[ "${h}" == "mobile" ]]; then
+ if [[ "${h}" == "mobile.dwrz.net" ]]; then
t="${target#"${HOME}"}"
rsync --archive --delete --progress --verbose "${target}" \
"${USER}@${h}":"/data/data/com.termux/files/home/${t}"