Re: rsnapshot is Throwing an Intermittent Error.

2018-06-14 Thread Martin McCormick
Greg Wooledge writes: > My immediate thought is to stop throwing away the output of these > commands, so that if one of them is failing or giving warnings, you can > actually see what's wrong. > > At least get rid of the 2>&1 on all 3 lines, so you get the stderr output. > Or log the stdout and s

Re: rsnapshot is Throwing an Intermittent Error.

2018-06-14 Thread Greg Wooledge
On Thu, Jun 14, 2018 at 10:36:01AM -0500, Martin McCormick wrote: > /bin/rm: cannot remove > '/var/cache/rsnapshot/halfday.1/wb5agz/home/usr/lib/grub > #Mount backup media first since this next is just a rotation. > mount /rsnapshot1 >/dev/null 2>&1 ||exit 1 > mount /rsnapshot2 >/dev/null 2>&1 ||