Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #196679

Re: rsnapshot is Throwing an Intermittent Error.

From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups linux.debian.user
Subject Re: rsnapshot is Throwing an Intermittent Error.
Date 2018-06-14 17:50 +0200
Message-ID <w0CFz-4hI-1@gated-at.bofh.it> (permalink)
References <w0CvT-4ea-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 ||exit 1
>     mhddfs /rsnapshot1,/rsnapshot2 /var/cache/rsnapshot -o mlimit=100M >/dev/null 2>&1 

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 stderr to a file, if you absolutely can't stand
the thought that you might ever possibly get it mailed to you.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

rsnapshot is Throwing an Intermittent Error. "Martin McCormick" <martin.m@suddenlink.net> - 2018-06-14 17:40 +0200
  Re: rsnapshot is Throwing an Intermittent Error. Greg Wooledge <wooledg@eeg.ccf.org> - 2018-06-14 17:50 +0200
    Re: rsnapshot is Throwing an Intermittent Error. "Martin McCormick" <martin.m@suddenlink.net> - 2018-06-14 19:30 +0200

csiph-web