diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2024-04-12 02:21:35 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2024-04-12 02:21:35 -0700 |
commit | 9837c634d2abfea8eee0b0303bc898386e924faa (patch) | |
tree | af9f058611740238213dd2b0aa666d4b2f0afd9d /sh/upd | |
parent | 4c13c0ed0ef4b93ad465e4f5a3b39aca88618e36 (diff) |
ia HDD readonly issue, no backup for several days
Diffstat (limited to 'sh/upd')
-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 } |