On Tue, May 31, 2016 at 12:35:39PM +0200, Samuel Wolf wrote:
> Hi Ludovic,
>
> + * Fix for Samba 4.2.x update which broke SMB based backups.
> + Moreover $Conf{BackupZeroFilesIsFatal} = 0 should be set for SMB
> backups,
> + or add '-d 5' to $Conf{SmbClientFullCmd} and $Conf{SmbClientIncrCmd}
> + in [1]config.pl. Closes: #820963
>
> you mean -d 5 than -d 1?
>
> $smbClientPath \\$host\$shareName $I_option -U $userName -E -d 1 -c tarmode\
> full -Tc$X_option - $fileList
> $smbClientPath \\$host\$shareName $I_option -U $userName -E -d 5 -c tarmode\
> full -Tc$X_option - $fileList
Hi,
Yes, '-d 5' is needed if you have $Conf{BackupZeroFilesIsFatal}=1.
It's also needed for successful restores.
BR,
--
Ludovic Drolez.
http://www.aopensource.com - The Android Open Source Portal
http://www.drolez.com - Personal site - Linux and Free Software