diff options
author | Xiao Pan <xyz@flylightning.xyz> | 2025-10-03 20:00:01 +0800 |
---|---|---|
committer | Xiao Pan <xyz@flylightning.xyz> | 2025-10-03 20:00:01 +0800 |
commit | e7be18d88749047867f31eca0acaadb237e7ddcd (patch) | |
tree | dc74b95cc2209ed3b8bdb880ac9dae927284cb59 | |
parent | 03eb2e047507e1276bd7beb6ea3365af34a52d24 (diff) |
upd pp no need duplicity backup to ca
-rwxr-xr-x | sh/upd | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -95,9 +95,10 @@ backup () { if [ "$hostname" = xyzpp ]; then # duplicity backup to ib sudo duplicity --ssh-askpass --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@ib.flylightning.xyz//home/xyz/backup/pp" - - # duplicity backup to ca - sudo duplicity --ssh-askpass --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@ca.flylightning.xyz//home/xyz/backup/pp" + # pp no need duplicity backup to ca, because 321 backup rule is already + # satisfied: pp files in ~/.config/myconf/upd_rsync_files are backed up + # in pp, insp, and ib duplicity; pp /etc/.cfgs is backed up in pp, insp + # gitolite, and ib duplicity. fi } |