.bin/backup-and-update-system: more excludes

This commit is contained in:
Franzi 2021-09-18 17:41:55 +02:00
parent 1cbdbaedb9
commit e85b5f19a6
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -19,11 +19,11 @@ done
--rsync-path="/usr/bin/rsync --fake-super" \ --rsync-path="/usr/bin/rsync --fake-super" \
-e "ssh" --delete-excluded \ -e "ssh" --delete-excluded \
--exclude "/home/kunsi/.cache/" \ --exclude "/home/kunsi/.cache/" \
--exclude "/home/kunsi/.config/Rambox/" \
--exclude "/home/kunsi/.config/Ferdi/" \ --exclude "/home/kunsi/.config/Ferdi/" \
--exclude "/home/kunsi/.config/Rambox/" \
--exclude "/home/kunsi/.local/lib/python*/site-packages/" \ --exclude "/home/kunsi/.local/lib/python*/site-packages/" \
--exclude "/home/kunsi/.local/share/sddm/" \
--exclude "/home/kunsi/.local/share/TelegramDesktop/tdata/user_data/cache/" \ --exclude "/home/kunsi/.local/share/TelegramDesktop/tdata/user_data/cache/" \
--exclude "/home/kunsi/.local/share/sddm/" \
--exclude "/home/kunsi/.mozilla/firefox/*/storage/*" \ --exclude "/home/kunsi/.mozilla/firefox/*/storage/*" \
--exclude "/home/kunsi/.npm/" \ --exclude "/home/kunsi/.npm/" \
--exclude "/home/kunsi/.nvm/" \ --exclude "/home/kunsi/.nvm/" \
@ -31,9 +31,10 @@ done
--exclude "/home/kunsi/.ssh/cm-*" \ --exclude "/home/kunsi/.ssh/cm-*" \
--exclude "/home/kunsi/.vdirsyncer" \ --exclude "/home/kunsi/.vdirsyncer" \
--exclude "/home/kunsi/Downloads/" \ --exclude "/home/kunsi/Downloads/" \
--exclude "/home/kunsi/qemu/Windows_10.qcow2" \
--exclude "/home/kunsi/Schreibtisch/" \ --exclude "/home/kunsi/Schreibtisch/" \
--exclude "/home/kunsi/VirtualBox VMs/" \ --exclude "/home/kunsi/VirtualBox VMs/" \
--exclude "/home/kunsi/qemu/Windows_10.qcow2" \
--exclude "/home/kunsi/tmp.*/" \
"/home/kunsi" "kunsi-t470@home.nas":backups/ "/home/kunsi" "kunsi-t470@home.nas":backups/
# Exit code 24 means some files have vanished during rsync. # Exit code 24 means some files have vanished during rsync.