X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=shell%2F.local%2Fbin%2Fbackup.sh;h=06568118689714891137363378cc4612ba197fac;hb=03456357bce935f8e8af9580a1f31a3ac8ea6cac;hp=d3a8c23a6784378bbfd0e829c17b186eae275570;hpb=2604401a97f7b0cadcfce99b5ef40ec23c3cfcdb;p=dotfiles.git diff --git a/shell/.local/bin/backup.sh b/shell/.local/bin/backup.sh index d3a8c23..0656811 100755 --- a/shell/.local/bin/backup.sh +++ b/shell/.local/bin/backup.sh @@ -22,7 +22,7 @@ elif mount -U "$1" then mkdir -p /mnt/backupdrive/home/mrl /mnt/backupdrive/mnt/data &&\ rsync --delete --bwlimit=20M --exclude 'minidlna/*' --exclude 'transmission/ipt/*' -va /mnt/data/ /mnt/backupdrive/mnt/data > /home/mrl/backup.log &&\ - rsync --delete --bwlimit=20M -va /home/mrl/ /mnt/backupdrive/home/mrl >> /home/mrl/backup.log &&\ + rsync --delete --bwlimit=20M --exclude 'VirtualBox VMs' -va /home/mrl/ /mnt/backupdrive/home/mrl >> /home/mrl/backup.log &&\ umount /mnt/backupdrive &&\ cat<