BackupPC-users

Re: [BackupPC-users] Fatal error during xfer / protocol incompatibility (code 2)

2013-12-11 07:35:36
Subject: Re: [BackupPC-users] Fatal error during xfer / protocol incompatibility (code 2)
From: Andrzej <ak AT yare DOT pl>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Wed, 11 Dec 2013 13:12:10 +0100
so I'll answer my own question:

the problem was the option --dry-run.
When the files are actually being copied, no such error occurs.

A.


On 04.12.2013 22:29, Andrzej wrote:
> Hello,
>
> I have a BackupPC installation (v.3.2.1) on a Debian Wheezy and I'm
> trying to backup a bunch of files from Windows 2008 server.
> There is a 64bit cwRsync installed on the Windows side, running as a
> service.
> When I start the test run of the full backup, it breaks after a while,
> showing an error in the rsyncd.log as follows ("__cut__" are my
> additions :| ):
>
> 2013/12/02 22:29:38 [3764] connect from SD1DEB01 (__cut__)
> 2013/12/02 22:29:38 [3764] rsync on . from backuppc@SD1DEB01 (__cut__)
> 2013/12/02 22:29:38 [3764] building file list
> 2013/12/02 22:30:30 [3764] received request to transfer non-regular file: 0 
> [sender]
> 2013/12/02 22:30:30 [3764] rsync error: protocol incompatibility (code 2) at 
> rsync.c(411) [sender=3.1.0]
>
> On the BackupPC side, one can see these lines in the XferLOG (LogLevel=4):
>
> full backup started for directory eDrive
> Connected to sd1ados01:873, remote version 31
> Negotiated protocol version 28
> Got response: e53e7af26a20db1824a8f982bec5cc40
> Auth: got challenge: __cut__, reply: backuppc __cut__
> Connected to module eDrive
> Sending args: --server --sender --numeric-ids --perms --owner --group -D 
> --links --hard-links --times --block-size=2048 --recursive --one-file-system 
> --dry-run --ignore-times . .
> Checksum seed is 1386019778
> Got checksumSeed 0x529cfbc2
> Sent include: /Ados
> Sent exclude: /*
>
> (__CUT__)
>
> Got file list: 278768 entries
> Child PID is 5437
> Xfer PIDs are now 5437
> Sending csums, cnt = 278768, phase = 0
> Read EOF: Connection reset by peer
> Tried again: got 0 bytes
> Got done from child
> Got stats: 0 0 0 0 ('errorCnt' => 0,'ExistFileSize' => 0,'ExistFileCnt' => 
> 0,'TotalFileCnt' => 0,'ExistFileCompSize' => 0,'TotalFileSize' => 0)
> Child is aborting
> Got exit from child
> Parent read EOF from child: fatal error!
> Sending csums, cnt = 273551, phase = 1
> Done: 0 files, 0 bytes
> Got fatal error during xfer (Child exited prematurely)
> Backup aborted (Child exited prematurely)
>
> What is suspect here, the numbers of check sums in phase 0 diverge from
> the count in phase 1.  But I can't draw any conclusions from that.
> Now, when I try the same command with rsync from the console, it runs
> without problems.
>
> Any help or a clue would be greatly appreciated,
> Thank you,
> Andrzej
>
>
> ------------------------------------------------------------------------------
> Sponsored by Intel(R) XDK
> Develop, test and display web and hybrid apps with a single code base.
> Download it for free now!
> http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
> _______________________________________________
> BackupPC-users mailing list
> BackupPC-users AT lists.sourceforge DOT net
> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:    http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>