diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2024-04-19 14:46:03 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2024-04-19 14:46:03 -0700 |
commit | 7a00edccbfcc86bab1d63bb0c60dc3e676e78770 (patch) | |
tree | 7cb4eaedca7b9611ad55b8ba2fde7732a911b1a8 /sh | |
parent | a1ae95058f61d5b2bf9e30153da52ed50cab1e3a (diff) |
Revert "ia HDD readonly issue, no backup for several days"
This reverts commit 9837c634d2abfea8eee0b0303bc898386e924faa.
ia is back online, so I should resume backup operations in upd.
Diffstat (limited to 'sh')
-rwxr-xr-x | sh/upd | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -60,7 +60,7 @@ backup () { # rsync backup from ka rsync -avPR --delete ka:/home/xyz/.config/qBittorrent :/home/xyz/.local/share/qBittorrent/BT_backup "$HOME/backup/ka" # 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 ia:/home/xyz/.config/qBittorrent :/home/xyz/.local/share/qBittorrent/BT_backup "$HOME/backup/ia" fi if [ "$hostname" != xyzstudio ] && [ "$hostname" != xyzka ] && [ "$hostname" != xyzia ] && [ "$hostname" != xyzca ]; then @@ -77,7 +77,7 @@ backup () { # --use-agent not working when ssh to pp and insp, works on insp, not sure why use_agent= [ "$hostname" = xyzinsp ] && use_agent='--use-agent' - #sudo duplicity --ssh-askpass $use_agent --encrypt-key 9790577D2BE328D46838117ED3F54FE03F3C68D6 --sign-key 05899270DF25BB1EEDF57BE824F769E5D08C9E9A --full-if-older-than 2Y --include /etc/.cfgs --include-filelist "/home/xyz/.config/myconf/upd_rsync_files" --exclude / / "sftp://xyz@ia.flylightning.xyz//home/xyz/backup/$backup_branch" + sudo duplicity --ssh-askpass $use_agent --encrypt-key 9790577D2BE328D46838117ED3F54FE03F3C68D6 --sign-key 05899270DF25BB1EEDF57BE824F769E5D08C9E9A --full-if-older-than 2Y --include /etc/.cfgs --include-filelist "/home/xyz/.config/myconf/upd_rsync_files" --exclude / / "sftp://xyz@ia.flylightning.xyz//home/xyz/backup/$backup_branch" sudo duplicity --ssh-askpass $use_agent --encrypt-key 9790577D2BE328D46838117ED3F54FE03F3C68D6 --sign-key 05899270DF25BB1EEDF57BE824F769E5D08C9E9A --full-if-older-than 2Y --include /etc/.cfgs --include-filelist "/home/xyz/.config/myconf/upd_rsync_files" --exclude / / "sftp://xyz@xyzka.kyun.li//home/xyz/backup/$backup_branch" fi } |