BackupPC-users

Re: [BackupPC-users] Possible bug in rsyncp

2009-08-06 10:20:42
Subject: Re: [BackupPC-users] Possible bug in rsyncp
From: Holger Parplies <wbppc AT parplies DOT de>
To: Adam Goryachev <mailinglists AT websitemanagers.com DOT au>
Date: Thu, 6 Aug 2009 15:37:52 +0200
Hi,

just saw the e-Mail in passing. I'll try to take a closer look tonight.

Adam Goryachev wrote on 2009-08-06 22:58:59 +1000 [[BackupPC-users] Possible 
bug in rsyncp]:
> [...]
> The problem portion of the log file is:
>   pool     644    18/544     3760613 PHOTOS/111/IMG_0766.JPG
>   pool     644    18/544     3808103 PHOTOS/111/IMG_0773.JPG
>   pool     644    18/544     3922850 PHOTOS/111/IMG_0774.JPG
>   pool     644    18/544     4189728 PHOTOS/111/IMG_0775.JPG
> Read EOF:
> Tried again: got 0 bytes
> finish: removing in-process file PHOTOS/111/IMG_0776.JPG
>   delete d 755    18/544           0 PHOTOS/S
>   delete d 755    18/544           0 PHOTOS/ZZZZ_PROBLEM_PHOTOS
> [...]

That looks familiar. Wait - "delete d"? Are there also files that are deleted,
or only directories?

> and so on to the end of the backup:
> Child is aborting
> Got fatal error from child: Unable to read 4 bytes

So, apparently the error is passed on to the parent. At least that much
works :). Is the backup marked as successful?

> Got fatal error during xfer (Unable to read 4 bytes)
> Backup aborted (Unable to read 4 bytes)

As I said, I can't look closer right now. What I would have expected to happen
is that the backup is marked as unsuccessful and discarded (or kept as a
partial if it's a full). I didn't think much further than that. Deleting files
past the point of failure doesn't make any difference for a backup that will
be discarded, but it's a bad idea for a partial, so I might have to think of
something better. Was your backup actually a full?

One possibly unrelated thing I notice is that the files quoted above are
marked "pool", not "same". Is that what you expect (moved or copied photos),
or is it the result of a previous partial which failed in a similar way (but
then there should be nothing left to delete, should there)?

Regards,
Holger

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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>