BackupPC-users

Re: [BackupPC-users] Return of backuppc_tarcreate in a logfile

2013-05-24 11:59:48
Subject: Re: [BackupPC-users] Return of backuppc_tarcreate in a logfile
From: Norman Goldstein <normvcr AT telus DOT net>
To: backuppc-users AT lists.sourceforge DOT net
Date: Fri, 24 May 2013 08:58:29 -0700
According to
http://www.ucblueash.edu/thomas/Intro_Unix_Text/IO_Redir_Pipes.html

this should work (but I have not tested it):

instead of  >>, use   2>>



On 05/24/2013 01:29 AM, Nicolas Cauchie wrote:
Hello all,

I'd like to catch to log the output of the "backuppc_tarcreate" command :
Done: 24 files, 167345 bytes, 1 dirs, 1 specials, 0 errors

If I put in a script, for example :
sudo -u backuppc /usr/share/backuppc/bin/BackupPC_tarCreate -t -h host -s \* -n -1 . > /archive/host.raw)" >> /my/logfile.log
nothing goes in my log file.

Instead of, for example :
du -sh /archive/* >>/my/logfile.log

sends me to my logfile :
204K    /archive/folder1
366G    /archive/folder2

Any idea ?

Thanks a lot

Nicolas
--




------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may


_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
<Prev in Thread] Current Thread [Next in Thread>