Updated exclusions and backup folder on USB disk
This commit is contained in:
parent
eedc97e27c
commit
c1a341462d
1 changed files with 2 additions and 2 deletions
|
|
@ -36,9 +36,9 @@ if ! mountpoint -q ${mount_point}/; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
echo "Preparing to transfer differences in home directory to backup USB drive using rsync."
|
||||
echo "Preparing to rsync differences in home directory to backup USB drive."
|
||||
|
||||
rsync -azh --exclude '.cache' --exclude 'Videos' --exclude 'Nextcloud' --exclude 'Downloads/isos' --exclude 'VirtualBox VMs' --exclude 'Sync' --exclude '.local/share/Steam' --exclude 'Music' --progress /home/tracey/ $mount_point 2>&1 | tee $log_file
|
||||
rsync -azh --exclude '.cache' --exclude 'Videos' --exclude 'Nextcloud' --exclude 'Downloads/isos' --exclude 'VirtualBox VMs' --exclude 'Sync' --exclude '.local/share/Steam' --exclude 'Music' --exclude '.Trash-*' --exclude 'home_backup' --progress /home/tracey/ $mount_point/tracey_home 2>&1 | tee $log_file
|
||||
|
||||
echo ""
|
||||
echo "Backup Complete"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue