Re: [CentOS] Another Tar stopper

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Will McDonald wrote:
On 12/09/06, Ralph Angenendt <ra+centos@xxxxxxxxxxxx> wrote:
Will McDonald wrote:
> I'd send STDOUT and STDERR to separate logs for brevity's sake.
> Something like...
>
> tar czvf $destfile $tobetarred > /tmp/tarlog.std 2> /tmp/tarlog.err

If you want to have it brief - why the "v"?

Pedant. :)

What I *meant* was then all the errors would be in one place, all the
standard messages in an other, which is kinda brevity.
OK.  I used the following:


tar -cpvzO / --exclude-from=/home/not-file 2>/tmp/tarlog.err | ssh user@ipaddrs "cat > backup.tgz"


No messages went to the screen. tarlog.err is 4Mb large. Looked at it for error messages.

NONE! not even the one I was getting before routing stderr.out. I did a the -l option, but that should not result in no error messages...

So now what?

Confused.


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux