diff options
Diffstat (limited to 'home')
-rw-r--r-- | home/xyz/.config/myconf/upd_rsync_files | 14 | ||||
-rwxr-xr-x | home/xyz/.local/bin/upd | 4 |
2 files changed, 5 insertions, 13 deletions
diff --git a/home/xyz/.config/myconf/upd_rsync_files b/home/xyz/.config/myconf/upd_rsync_files index f9dcdb36..118e4f89 100644 --- a/home/xyz/.config/myconf/upd_rsync_files +++ b/home/xyz/.config/myconf/upd_rsync_files @@ -1,12 +1,2 @@ -home/xyz/.cache/nsxiv -home/xyz/.config/qBittorrent -home/xyz/.local/share/qBittorrent -home/xyz/.local/share/sdcv_history -home/xyz/.password-store -home/xyz/archive -home/xyz/documents -home/xyz/music -home/xyz/pictures -home/xyz/programs -home/xyz/test -home/xyz/videos +/home/xyz/.local/share/evolution/addressbook/system/contacts.db +/home/xyz/.local/share/sdcv_history diff --git a/home/xyz/.local/bin/upd b/home/xyz/.local/bin/upd index 04009440..86e7581a 100755 --- a/home/xyz/.local/bin/upd +++ b/home/xyz/.local/bin/upd @@ -7,8 +7,10 @@ all () { } 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/pp # --use-agent not working, works on insp, not sure why - sudo duplicity --ssh-askpass --encrypt-key 9790577D2BE328D46838117ED3F54FE03F3C68D6 --sign-key 05899270DF25BB1EEDF57BE824F769E5D08C9E9A --full-if-older-than 1Y --include /etc/.cfgs --exclude / / sftp://xyz@xyzka.kyun.li//home/xyz/backup/pp + sudo duplicity --ssh-askpass --encrypt-key 9790577D2BE328D46838117ED3F54FE03F3C68D6 --sign-key 05899270DF25BB1EEDF57BE824F769E5D08C9E9A --full-if-older-than 1Y --include /etc/.cfgs --include-filelist "$XDG_CONFIG_HOME/myconf/upd_rsync_files" --exclude / / sftp://xyz@xyzka.kyun.li//home/xyz/backup/pp } clean () { |