summaryrefslogtreecommitdiff
path: root/sh/upd
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2024-12-31 00:54:42 -0800
committerXiao Pan <xyz@flylightning.xyz>2024-12-31 00:54:42 -0800
commitb1aba12e9e0fccf0751fd7ba8b05397aba23d24e (patch)
treeddc6cdd3a7c25ec700c295779369e5c935fbd9d4 /sh/upd
parent559a309320ca57381143f0aaf4e826f80cae2f8e (diff)
use complete name instead of alias, because I may remove studio ssh alias config
Diffstat (limited to 'sh/upd')
-rwxr-xr-xsh/upd4
1 files changed, 2 insertions, 2 deletions
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