+1 to this.
You can reduce likelihood of any known risk with a preventative measure, in this case the permissions and ownership structure. That is good.
Backup does not reduce likelihood of risk.
It does something more wide-reaching, it mitigates against the bad outcome of loss (from most causes).So it defends from many unknown risks as well as known ones, and unexpected failure of preventative measures. It sort of protects you from your own ignorance and complacency.
Shit - i'm off to do some more work on backup.sh.
in case it's not clear from the comments . and sorry for repeating if it is, but this >> thing is a really useful terminal thing to know in many cases.
>>
will trap and redirect terminal output.
So consider any old commmand and its output:
echo abc
This invokes the echo command and echo outpts "abc" to terminal.
If we add on >> we can catch and redirect the output:
Will capture the output "abc" into the file.
Note this is an APPEND operation, so run it twice to the same output file and you'll add more and more output to new lines at the end of the same file.