From b1aba12e9e0fccf0751fd7ba8b05397aba23d24e Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Tue, 31 Dec 2024 00:54:42 -0800 Subject: use complete name instead of alias, because I may remove studio ssh alias config --- sh/upd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sh') diff --git a/sh/upd b/sh/upd index df5fe1d..7e49171 100755 --- a/sh/upd +++ b/sh/upd @@ -67,8 +67,8 @@ backup () { if [ "$hostname" = xyzinsp ] || [ "$hostname" = xyzstudio ]; then # rsync backup from ia - rsync -avPR --delete ia:/home/xyz/.config/qBittorrent :/home/xyz/.local/share/qBittorrent/BT_backup "$HOME/backup/ia" - rsync -avPR --delete ib:/home/xyz/.config/qBittorrent :/home/xyz/.local/share/qBittorrent/BT_backup "$HOME/backup/ib" + rsync -avPR --delete xyz@ia.flylightning.xyz:/home/xyz/.config/qBittorrent :/home/xyz/.local/share/qBittorrent/BT_backup "$HOME/backup/ia" + rsync -avPR --delete xyz@ib.flylightning.xyz:/home/xyz/.config/qBittorrent :/home/xyz/.local/share/qBittorrent/BT_backup "$HOME/backup/ib" # In the future, maybe other VPS servers also need bakcup to insp and studio. Now, both ia and ib need fi -- cgit v1.2.3-70-g09d2