is this patch, submitted some time ago, considered the "correct" fix
for the excessive messages from incremental tar runs?  i just went
hopefully looking for a tar option to suppress that message, but
didn't find one.  :-/

paul

 > 
 > so to avoid this annoying line on incremental backup logs using tar method i 
 > have modified Tar.pm to not log thoses line, here is the patch :
 > 
 > --------------------------------------------------------------------------------
 > -----------------
 > $diff -urN Tar.pm.bkp Tar.pm
 > --- Tar.pm.bkp  2005-10-09 15:38:34.288803965 +0200
 > +++ Tar.pm      2005-10-09 15:44:54.338083736 +0200
 > @@ -221,8 +221,11 @@
 >              $t->{XferLOG}->write(\"$_\n") if ( $t->{logLevel} >= 2 );
 >              $t->{fileCnt}++;
 >          } else {
 > +               if ( ! /file is unchanged\; not dumped$/ )
 > +               {
 >              $t->{XferLOG}->write(\"$_\n") if ( $t->{logLevel} >= 0 );
 >              $t->{xferErrCnt}++;
 > +               }
 >             #
 >             # If tar encounters a minor error, it will exit with a non-zero
 >             # status.  We still consider that ok.  Remember if tar prints
 > --------------------------------------------------------------------------------
 > -------------------
 > 
 > this modification working for me and i have eliminate all messages regarding 
 > files not dumped due to unchanged status.
 > 
 > This modification need probably to be tested by somebody else, and may be we 
 > can add some filtering strings in config.pl to be more scalable.
 > 
 > Another way of modification can be done only in the CGI handling view logs, 
 > this way have the advantage to log all messages and display only errors.
 > 
 > Michael.
 > 

=---------------------
 paul fox, [EMAIL PROTECTED] (arlington, ma, where it's 19.2 degrees)


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to