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.lognothing 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@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
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@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/