diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2024-01-13 11:49:47 -0800 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2024-01-13 11:49:47 -0800 |
commit | 9a1f2b6798751adeebe31b0407f181c7a993aeb1 (patch) | |
tree | cb5ea61c175ae4284d9f1f2a2beddcc8b745b1b6 /home/xyz/.local | |
parent | 58a20364744b25552f3d1a2fbfa4a5a19ef6663c (diff) |
Revert "update"
This reverts commit 58a20364744b25552f3d1a2fbfa4a5a19ef6663c.
Diffstat (limited to 'home/xyz/.local')
-rwxr-xr-x | home/xyz/.local/bin/upd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/home/xyz/.local/bin/upd b/home/xyz/.local/bin/upd index 3cd17ac1..7784a9cc 100755 --- a/home/xyz/.local/bin/upd +++ b/home/xyz/.local/bin/upd @@ -26,14 +26,14 @@ backup () { ) # --files-from make -a not imply -r, so need to specify explicitly - rsync -avPRr --delete --files-from="$XDG_CONFIG_HOME/myconf/upd_rsync_files" / studio:/home/xyz/backup/insp + rsync -avPRr --delete --files-from="$XDG_CONFIG_HOME/myconf/upd_rsync_files" / studio:/home/xyz/backup/master rsync -avPR --delete ka:/home/xyz/.config/qBittorrent :/home/xyz/.local/share/qBittorrent "$HOME/backup/ka" rsync -avPR --delete studio:/home/xyz/.config/qBittorrent :/home/xyz/.local/share/qBittorrent "$HOME/backup/studio" # https://wiki.archlinux.org/title/Duplicity # Need // for absolute path, see manpage URL FORMAT section. If not use //, will store to /home/xyz/home/xyz/... # --files-from has a bug, this bug makes source url that is / not working while /home works, more see vq notes - 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/insp + 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/master } clean () { |