[BackupPC-users] backups don't complete - don't know why

2009-07-24 Thread Kanwar Ranbir Sandhu
Hi All,

I've been using BackupPC for several years.  I've used it at home, for
clients, and at my current full-time employer.  It's awesome software -
I love it.

Lately, backuppc has been unable to backup my Fedora 10 machine at home
(backuppc is running on the same box, and the backuppc package is
provided by Fedora 10).  More precisely, the backup moves along nicely
until it hits /home, where the backup just hangs.  If I run the backup
from the command line, this is the log output I see:

full backup started for directory /home; updating partial #147
started full dump, share=/home
Running: /usr/bin/sudo /usr/bin/rsync --server --sender --numeric-ids
--perms --owner --group -D --links --hard-links --times
--block-size=2048 --recursive --checksum-seed=32761 --one-file-system
--ignore-times . /home/
Xfer PIDs are now 11778
xferPids 11778
Got remote protocol 30
Negotiated protocol version 28
Checksum caching enabled (checksumSeed = 32761)
Got checksumSeed 0x7ff9
 ^CfileListReceive() failed
Done: 0 files, 0 bytes
Got fatal error during xfer (fileListReceive failed)
Backup aborted by user signal
Not saving this as a partial backup since it has fewer files than the
prior one (got 20245 and 0 files versus 20245)
dump failed: fileListReceive failed
link ranbir

I cancelled the backup at the point where backuppc output the line "Got
checksumSeed 0x7ff9" because backuppc didn't do anything for over an
hour.

I've been having this same issue for a month now.  I've tried debugging,
but nothing so far has helped.  I had 146 successful backups before this
issue came up.

Does anyone know what's going on?

Regards,

Ranbir

-- 
Kanwar Ranbir Sandhu
Linux 2.6.27.25-170.2.72.fc10.x86_64 x86_64 GNU/Linux 
11:49:47 up 3:16, 3 users, load average: 1.56, 2.20, 2.12 



--
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] timeout with rsyncd

2009-07-24 Thread Chris Purves
On July 23, 2009 03:39:08 pm Chris Purves wrote:
> On July 23, 2009 09:47:46 am Chris Purves wrote:
> > Hello,
> > 
> > I am having a problem on one of the shares for an rsyncd backup.  Normally 
> > I back up four different rsyncd shares.  Three go without problems, but the 
> > fourth gets a timeout error.  Here is the error from the rsyncd log:
> > 
> > 2009/07/22 10:29:52 [370] name lookup failed for 10.221.77.1: Name or 
> > service not known
> > 2009/07/22 10:29:52 [370] connect from UNKNOWN (10.221.77.1)
> > 2009/07/22 16:29:52 [370] rsync on . from bac...@unknown (10.221.77.1)
> > 2009/07/22 16:29:52 [370] building file list
> > 2009/07/22 17:29:58 [370] rsync error: timeout in data send/receive (code 
> > 30) at io.c(239) [sender=3.0.3]
> > 
> > The timout: one hour corresponds to the timeout value set in the 
> > rsyncd.conf file.  I can run rsync from the command line with the same 
> > arguments used by Backuppc and it takes about one minute to complete 
> > without any errors.
> > 
> > Below is the XferLOG from backuppc for the same instance.
> > 
> > incr backup started back to 2009-05-29 21:00:03 (backup #226) for directory 
> > www
> > Connected to vesuvius:873, remote version 30
> > Negotiated protocol version 28
> > Connected to module www
> > Sending args: --server --sender --numeric-ids --perms --owner --group -D 
> > --links --hard-links --times --block-size=2048 --recursive 
> > --checksum-seed=32761 . .
> > Checksum caching enabled (checksumSeed = 32761)
> > Sent exclude: /data
> > Xfer PIDs are now 20138
> >   create d 775   0/200014096 .
> >   ... removed 335 lines ...
> >   create d 755 33/334096 twiki/working/work_areas/TreePlugin
> > Remote[1]: rsync error: timeout in data send/receive (code 30) at io.c(239) 
> > [sender=3.0.3]
> > Read EOF: 
> > Tried again: got 0 bytes
> > finish: removing in-process file .
> > Child is aborting
> > Done: 0 files, 0 bytes
> > 
> 
> Adding -vvv to the rsync command shows that it hangs after the file transfer 
> has finished, but it doesn't exit cleanly.  From my rsyncd log:
> 
> ...lots of lines removed...
> 2009/07/23 21:31:30 [4545] sending file_sum
> 2009/07/23 21:31:30 [4545] false_alarms=0 hash_hits=0 matches=0
> 2009/07/23 21:31:30 [4545] sender finished 
> twiki/working/work_areas/TreePlugin/WIP_Doc.tree
> 2009/07/23 21:31:30 [4545] send_files phase=1
> 2009/07/23 21:31:35 [4545] send files finished
> 2009/07/23 21:31:35 [4545] total: matches=344  hash_hits=381  false_alarms=0 
> data=117624
> 2009/07/23 21:31:35 [4545] sent 547458 bytes  received 3143 bytes  total size 
> 49509520
> 2009/07/23 21:31:35 [4545] _exit_cleanup(code=0, file=main.c, line=749): 
> about to call exit(0)
> 

I was able to solve the problem by removing a ganttproject log file.  There was 
nothing strange about the file other than it was one of the few that had 
changed since the backup stopped working.  I can provide more information if 
anyone is interested.

-- 
Chris Purves

"No one can serve two masters. Either he will hate the one and love the other, 
or he will be devoted to the one and despise the other. You cannot serve both 
God and Money." - Jesus of Nazareth


signature.asc
Description: This is a digitally signed message part.
--
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Restore issues

2009-07-24 Thread Vetch
Hi Matthias,
All my xferlogs say they have 0 errors (apart from one, but that was after
the problem occurred anyway)...
I've had a look at them, but they are... quite long...
Without knowing what to search for, I'm not sure what I can do with them...
If they report no errors, I guess I can assume all files are backing up
properly?
Xfer Error Summary


Backup# Type View #Xfer errs #bad files #bad share #tar errs
0 full XferLOG, Errors 0 0 0 0
28 full XferLOG, Errors 0 0 0 0
56 full XferLOG, Errors 0 0 0 0
84 full XferLOG, Errors 0 0 0 0
112 full XferLOG, Errors 0 0 0 0
126 full XferLOG, Errors 0 0 0 0
133 full XferLOG, Errors 0 0 0 0
140 full XferLOG, Errors 0 0 0 0
147 full XferLOG, Errors 0 0 0 0
150 incr XferLOG, Errors 0 0 0 0
151 incr XferLOG, Errors 0 0 0 0
152 incr XferLOG, Errors 0 0 0 0
153 full XferLOG, Errors 1 0 0 0
154 incr XferLOG, Errors 0 0 0 0
155 incr XferLOG, Errors 0 0 0 0
156 incr XferLOG, Errors 0 0 0 0

Thanks,
Jx
On Fri, Jul 24, 2009 at 9:33 AM, Matthias Meyer wrote:

> You should check the backup log file XferLOG.
> Each file which can not backup will be logged theire, including the reason.
>
> br
> Matthias
> --
> Don't Panic
>
>
>
> --
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
--
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] BackupPC not deleting Backups according to FullKeepCnt

2009-07-24 Thread Matthias Meyer
Christian Bock wrote:

> Hi,
> 
> I am new to an existing BackupPC server. It was set up a long time ago
> and worked fine but the machine died. So the config Files were moved to
> a new server where BackupPC was installed via RPM on ubuntu.
> 
> Backups are working fine, but old Backups won't get removed, so the HDD
> is running out of space very quickly. I found a script to remove single
> backups by hand, but I want it to be done automatically.
> 
> I know that I didn't provide a lot info so far, but if you know where to
> srart searching for the problem, I'd be greatful if you pointed me there
> and/or ask for additional info
> 
> Thank you in advance
> 
> Christian Bock
> 
You should provide us with your configuration. Especially:
$Conf{FullPeriod}
$Conf{IncrPeriod}
$Conf{FullKeepCnt}
$Conf{FullKeepCntMin}
$Conf{FullAgeMax}
$Conf{IncrKeepCnt}
$Conf{IncrKeepCntMin}
$Conf{IncrAgeMax}
$Conf{IncrLevels}

Furthermore please send us information of already stored backups of the
relevant host. Please provide backup-date, backup-number and backup-type.

br
Matthias
-- 
Don't Panic


--
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Restore issues

2009-07-24 Thread Matthias Meyer
You should check the backup log file XferLOG.
Each file which can not backup will be logged theire, including the reason.

br
Matthias
-- 
Don't Panic


--
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/