From 401fe02b6076178be9f32bdcc9586c8749277192 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Wed, 29 Nov 2023 18:13:02 -0800 Subject: backup .cfgs to ka --- home/xyz/.local/bin/upd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'home/xyz/.local') 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 () { -- cgit v1.2.3-70-g09d2