diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2023-11-29 18:13:02 -0800 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2023-11-29 18:13:02 -0800 |
commit | 401fe02b6076178be9f32bdcc9586c8749277192 (patch) | |
tree | 6625f113aecd88a29d8923b62f8c0ffef400a507 /home/xyz/.local | |
parent | a35a40fafa06c779e68d444e436d6a0ad7ea1db7 (diff) |
backup .cfgs to ka
Diffstat (limited to 'home/xyz/.local')
-rwxr-xr-x | home/xyz/.local/bin/upd | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/home/xyz/.local/bin/upd b/home/xyz/.local/bin/upd index 0539a384..b99d524f 100755 --- a/home/xyz/.local/bin/upd +++ b/home/xyz/.local/bin/upd @@ -28,7 +28,8 @@ backup () { # 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 - duplicity --ssh-askpass --use-agent --encrypt-key 9790577D2BE328D46838117ED3F54FE03F3C68D6 --sign-key 05899270DF25BB1EEDF57BE824F769E5D08C9E9A --full-if-older-than 1Y --include-filelist "$XDG_CONFIG_HOME/myconf/upd_rsync_files" --exclude / / sftp://ka//home/xyz/backup + sudo duplicity --ssh-askpass --use-agent --encrypt-key 9790577D2BE328D46838117ED3F54FE03F3C68D6 --sign-key 05899270DF25BB1EEDF57BE824F769E5D08C9E9A --full-if-older-than 1Y --include /etc/.cfgs --include-filelist "/home/xyz/.config/myconf/upd_rsync_files" --exclude / / sftp://xyz@xyzka.kyun.li//home/xyz/backup/master + } clean () { |