Thank you very much for the patch.
Regards.
2007/12/31, Craig Barratt <[EMAIL PROTECTED]>:
> Jesus writes:
>
> > There are more files in the share and the full backup is created
> > successful. This is the XferLOG of full backup:
>
> Ok, this is a bug that I will fix in the next version.
>
> The fix is simple, just add an increment of the error counter
> when NT_STATUS_ACCESS_DENIED is seen. A patch is attached.
>
> Craig
>
> --- lib/BackupPC/Xfer/Smb.pm.orig 2007-12-30 19:27:43.578125000 -0800
> +++ lib/BackupPC/Xfer/Smb.pm 2007-12-30 19:27:58.875000000 -0800
> @@ -284,6 +284,7 @@
> $t->{XferLOG}->write(\"$_\n") if ( $t->{logLevel} >= 0 );
> } elsif ( /^\s*NT_STATUS_ACCESS_DENIED listing (.*)/
> || /^\s*ERRDOS - ERRnoaccess \(Access denied\.\) listing (.*)/
> ) {
> + $t->{xferErrCnt}++;
> my $badDir = $1;
> $badDir =~ s{\\}{/}g;
> $badDir =~ s{/+}{/}g;
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/