/backup2'
df -h | grep $mount_point > /dev/null
if [ $? -eq 0 ]
then
rsync.
echo "mount point $mount_point exists, rsync started"
else
echo "Error: mount point $mount_point does not exist, rsync
operation skipped"
So, would it be ok to leave it as is or do I ne
I have a script that runs nightly as a cronjob to backup my drive to a
USB drive https://pastebin.com/yivqrGUC On the command line I use the
--timeout option. Is this sufficient to ensure that if the external
drive somehow becomes unmounted that rsync will gracefully fail without
trying to write to