Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- BackupPC_dump.bak 2018-01-25 17:33:45.908872201 +0100
- +++ BackupPC_dump 2018-01-26 10:14:21.072250040 +0100
- @@ -1198,6 +1198,9 @@
- }
- }
- + # patch to let BackupPC exit abort even with Xfer Errors
- + $stat{xferOK} = 0 if ( $stat{hostError} || $stat{hostAbort} || $stat{xferErrCnt} > 0 );
- +
- if ( $NeedPostCmd ) {
- UserCommandRun("DumpPostShareCmd", $shareName);
- if ( $? && $Conf{UserCmdCheckStatus} ) {
- @@ -1207,7 +1210,6 @@
- }
- }
- - $stat{xferOK} = 0 if ( $stat{hostError} || $stat{hostAbort} );
- if ( !$stat{xferOK} ) {
- #
- # kill off the transfer program, first nicely then forcefully
- @@ -1254,6 +1256,12 @@
- $stat{xferOK} = 0;
- }
- +# Return error in logfile if XFer Errors were found
- +if ( $stat{xferErrCnt} > 0 ) {
- + print(LOG $bpc->timeStamp,"Xfer errors found during backup\n");
- + $stat{xferOK} = 0;
- +}
- +
- $stat{xferOK} = 0 if ( $Abort );
- #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement