diff --git a/local_backup.sh b/local_backup.sh index 5e1d5c6..bde6d74 100755 --- a/local_backup.sh +++ b/local_backup.sh @@ -27,7 +27,7 @@ fi echo "Preparing to transfer differences in home directory to backup USB drive using rsync." -rsync -avzh --exclude '.cache' --exclude 'Videos' --exclude 'Nextloud' --exclude 'Downloads/isos' --exclude 'VirtualBox VMs' --exclude 'Sync' --exclude 'Downloads/torrents' --exclude '.local/share/Steam' --exclude 'Music' --progress --delete /home/tracey/ /media/tracey/Backup/tracey/ 2>&1 | tee $log_file +rsync -azh --exclude '.cache' --exclude 'Videos' --exclude 'Nextcloud' --exclude 'Downloads/isos' --exclude 'VirtualBox VMs' --exclude 'Sync' --exclude 'Downloads/torrents' --exclude '.local/share/Steam' --exclude 'Music' --progress /home/tracey/ /media/tracey/Backup/tracey/ 2>&1 | tee $log_file echo "" echo "Backup Complete"