Added log file location to output of backup script in second place
This commit is contained in:
parent
5cbc0266c6
commit
c5ba1e0cc7
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ fi
|
||||||
|
|
||||||
echo "Preparing to transfer differences in home directory to backup USB drive using rsync."
|
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/Documents /media/tracey/Backup/tracey/Documents/ 2>&1 | tee /home/tracey/rsync-output.txt
|
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/Documents /media/tracey/Backup/tracey/Documents/ 2>&1 | tee $log_file
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "Backup Complete"
|
echo "Backup Complete"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue