diff options
author | Xiao Pan <xyz@flylightning.xyz> | 2024-12-31 00:54:42 -0800 |
---|---|---|
committer | Xiao Pan <xyz@flylightning.xyz> | 2024-12-31 00:54:42 -0800 |
commit | b1aba12e9e0fccf0751fd7ba8b05397aba23d24e (patch) | |
tree | ddc6cdd3a7c25ec700c295779369e5c935fbd9d4 /sh | |
parent | 559a309320ca57381143f0aaf4e826f80cae2f8e (diff) |
use complete name instead of alias, because I may remove studio ssh alias config
Diffstat (limited to 'sh')
-rwxr-xr-x | sh/upd | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |