BackupPC-users

Re: [BackupPC-users] Can't get BackupFilesOnly working (yes, I've googled)

2011-11-18 09:08:34
Subject: Re: [BackupPC-users] Can't get BackupFilesOnly working (yes, I've googled)
From: Holger Parplies <wbppc AT parplies DOT de>
To: Neal Becker <ndbecker2 AT gmail DOT com>
Date: Fri, 18 Nov 2011 15:05:34 +0100
Hi,

Neal Becker wrote on 2011-11-15 12:02:12 -0500 [[BackupPC-users] Can't get 
BackupFilesOnly working (yes, I've googled)]:
> Using rsync (fedora 15 server, fedora 16 client)
> 
> I put this in nbecker1.pl:
> 
> $Conf{BackupFilesOnly} = {
>  '*' => [
>    '/home/nbecker'
>  ]
> };
> 
> 
> But when I try to start full backup, on the client I see:
> 
> ps auxwww | grep rsync
> root     13295  0.3  1.0 159092 43840 ?        Ss   11:53   0:00
> /usr/bin/rsync --server --sender --perms --owner --group -D --links --hard-
> links --times --block-size=2048 --recursive --one-file-system --ignore-times .
> /
> 
> Notice the dirs to backup seem to be set to '.' and '/'.

just to clear up a misconception: includes and excludes are *not* passed via
the command line, so, presuming your share name is '/', this is perfectly
correct. Your old XferLOG files from the times when backups were still working
should confirm this. Additionally, they should show exactly what includes and
excludes are sent via the rsync protocol exchange.

As far as I can tell, the first directory parameter ('.' for rsync command
lines generated by BackupPC) is simply ignored by rsync. In any case, command
lines just like the one you quoted have been working just fine for all of us
for years, so this is not where the problem is.

I agree that leaving out the excludes might lead to a situation similar to
yours when rsync starts traversing /proc, so it's not a bad idea to check the
XferLOG of your failing backup to see what is actually going on (and at which
point it is getting stuck).

Regards,
Holger

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
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/