>From RH Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1294761

There are two (partially tested) patches there for smbclient >=  4.1.16,
one of which you've partially applied.

https://bugzilla.redhat.com/attachment.cgi?id=1111264&action=diff
https://bugzilla.redhat.com/attachment.cgi?id=1192784&action=diff

I have not tried these personally (I prefer rsync + vshadow) and the author
hasn't tested restores, so YMMV.




Kris Lou
[email protected]

On Sun, Oct 30, 2016 at 1:26 PM, Tim Evans <[email protected]> wrote:

> On 10/28/2016 11:37 AM, Tim Evans wrote:
> > On 03/06/2016 07:45 AM, Tim Evans wrote:
> >> On 03/04/2016 01:52 PM, Tim Evans wrote:
> >>> On 03/03/2016 08:49 PM, Christophe Gouinaud wrote:
> >>>> Hello,
> >>>>
> >>>> I got same problem using backuppc 3.3.1 an smbclient 4.3.5.
> >>>>
> >>>> New version of samba change output to
> >>>>   "tar: XXXX Total bytes received: XXXX "
> >>>> from "tar: dumped ZZZZ files".
> >>>>
> >>>> So I modify  Smb.pm at line 233 as follow :
> >>>> ----------------------------------------------------
> >>>>         } elsif ( /^\s*tar: dumped \d+ files/ ) {
> >>>>             $t->{xferOK} = 1;
> >>>>             $t->{XferLOG}->write(\"$_\n") if ( $t->{logLevel} >= 0 );
> >>>> #Changed by gouinaud
> >>>>         } elsif ( /^\s*tar:\d+  Total bytes received: \d+/ ) {
> >>>>             $t->{xferOK} = 1;
> >>>>             $t->{XferLOG}->write(\"$_\n") if ( $t->{logLevel} >= 0 );
> >>>> #end
> >>>> …
> >>>>
> >>>> in config.pl file i modify  BackupZeroFilesIsFatal like this :
> >>>>
> >>>> $Conf{BackupZeroFilesIsFatal} = 0;
> >>>
> >>> Thank you very much, Christophe.  This worked for me as well with
> >>> smbclient 4.3.4,
> >>>
> >>> Have you sent this fix to the developers?
> >>>
> >>
> >> Whoops.  This fixed incremental backups, but full backups now
> >> hang--apparently indefinitely.  No errors, but they never complete. My
> >> most recent full has been running for nearly 19 hours now:
> >>
> >> # ps -ef | grep smbclient
> >> backuppc 27472 27468  7 Mar05 ?        01:26:12 /usr/bin/smbclient
> >> \\pelican\C$ -U backup -E -d 1 -c tarmode full -Tc -
> >>
> >
> > This thread is several months old, but I don't see any conclusion in the
> > list archive with respect to the full-backup issue I raised. (I ended up
> > disabling BackupPC back then and going to an alternative backup method,
> > although I would like to move back to the former.) thanks.
> >
>
> As a follow-up, I've re-enabled BackupPC (BackupPC-3.3.1-6.fc24.x86_64
> on Fedora 24), *with* the above patch applied.
>
> Full backups run for a few minutes over 24 hours, then error out and
> re-start themselves.  See log below:
>
>
> 2016-10-28 15:15:00 full backup started for share C$
> 2016-10-29 15:22:07 Aborting backup up after signal ALRM
> 2016-10-29 15:22:12 Got fatal error during xfer (Unexpected end of tar
> archive)
> 2016-10-29 15:22:16 full backup started for share C$
> 2016-10-30 15:35:56 Aborting backup up after signal ALRM
> 2016-10-30 15:36:02 Got fatal error during xfer (Unexpected end of tar
> archive)
> 2016-10-30 15:36:05 full backup started for share C$
> 2016-10-30 16:22:21 Aborting backup up after signal INT
> 2016-10-30 16:22:23 Got fatal error during xfer (Unexpected end of tar
> archive)
> 2016-10-30 16:22:24 full backup started for share C$
>
> --
> Tim Evans                       |   5 Chestnut Court
>                                 |   Owings Mills, MD 21117
>                                 |   443-394-3864
>
> ------------------------------------------------------------
> ------------------
> The Command Line: Reinvented for Modern Developers
> Did the resurgence of CLI tooling catch you by surprise?
> Reconnect with the command line and become more productive.
> Learn the new .NET and ASP.NET CLI. Get your free copy!
> http://sdm.link/telerik
> _______________________________________________
> 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/
>
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
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/

Reply via email to