I'm busy setting up a back-up script to run on my Pi using
I see that a number of people use the
-v option in their cron jobs. Why? It's going to be run as root, and not in a terminal where someone will see it.
I understand that maybe if something happens you can
tail /var/logs/syslog, but the chance of that happening is negligible.
As I'm running the backup between 2 external hard drives on the same system, I can see the benefit of using
-z for compression because why not, the CPU is barely taxed at the best of times. The
-a to preserve permissions, time-stamps, symlinks and owners and groups and to make it recursive.
I might remove the
-z and replace it with
-W to write whole files in stead of blocks, but I don't want it to run for too many hours.
Is there a way to output any encountered errors to an error log file? In that case, the
-v option might make sense - unless I'm missing something here.