Displaying 3 results from an estimated 3 matches for "exc_file".
Did you mean:
ex_file
2018 Sep 11
2
Ensuring that rsync doesn't try to write to an unmounted drive
...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 the hard drive instead of the USB drive?
rsync -vaWSHpl --timeout=15 --delete-excluded --filter "merge
${EXC_FILE}" / "${BACKUP_DIR}" > /home/chris/rsyncbackup.log 2>
/home/chris/rsyncbackup.errors.log
If this is sufficient or would it be better if I lowered the 'timeout'
to 5 seconds?
Thanks for any suggestions/advice.
Chris
--
Chris
KeyID 0xE372A7DA98E6705C
31.11972; -97.90...
2018 Sep 11
1
Ensuring that rsync doesn't try to write to an unmounted drive
...icient to ensure that if the external
> > drive somehow becomes unmounted that rsync will gracefully fail
> > without
> > trying to write to the hard drive instead of the USB drive?
> >
> > rsync -vaWSHpl --timeout=15 --delete-excluded --filter "merge
> > ${EXC_FILE}" / "${BACKUP_DIR}" > /home/chris/rsyncbackup.log 2>
> > /home/chris/rsyncbackup.errors.log
> >
> > If this is sufficient or would it be better if I lowered the
> > 'timeout'
> > to 5 seconds?
> >
> > Thanks for any suggestio...
2018 Sep 11
0
Ensuring that rsync doesn't try to write to an unmounted drive
...> --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 the hard drive instead of the USB drive?
>
> rsync -vaWSHpl --timeout=15 --delete-excluded --filter "merge
> ${EXC_FILE}" / "${BACKUP_DIR}" > /home/chris/rsyncbackup.log 2>
> /home/chris/rsyncbackup.errors.log
>
> If this is sufficient or would it be better if I lowered the 'timeout'
> to 5 seconds?
>
> Thanks for any suggestions/advice.
>
> Chris
>
>...