BackupPC-users

Re: [BackupPC-users] 3.1.0 configuration problem

2009-09-08 11:43:23
Subject: Re: [BackupPC-users] 3.1.0 configuration problem
From: Mark Maciolek <mlm AT sr.unh DOT edu>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 08 Sep 2009 11:40:07 -0400

James Ward wrote:
>  From the main config file (/etc/backuppc/config.pl):
> 
> $Conf{BackupFilesOnly} = {};
> $Conf{BackupFilesExclude} = {
>   '/sys' => [
>     ''
>   ],
>   '/myisi' => [
>     ''
>   ],
>   '/pifisi' => [
>     ''
>   ],
>   '/vol01' => [
>     ''
>   ],
>   '/dat01' => [
>     ''
>   ],
>   '/proc' => [
>     ''
>   ],
>   '/mnt' => [
>     ''
>   ]
> };
> 
>  From one of the failing clients (/etc/backuppc/failingclient.pl):
> 
> $Conf{BackupFilesExclude} = {
>   '/pifisi' => [
>     ''
>   ],
>   '/proc' => [
>     ''
>   ],
>   '/home' => [
>     ''
>   ],
>   '/mnt' => [
>     ''
>   ],
>   '/sys' => [
>     ''
>   ],
>   '/myisi' => [
>     ''
>   ],
>   '/dat01' => [
>     ''
>   ],
>   '/vol01' => [
>     ''
>   ]
> };
> 
> Here's evidence that the exclude override is not being sent:
> 
> Contents of file /var/lib/backuppc/pc/failingclient/XferLOG.bad.z, 
> modified 2009-09-08 08:02:59
> 
> full backup started for directory /
> Running: /usr/bin/ssh -c arcfour -p 8889 -q -x -l backup failingclient sudo 
> /var/backups/rsyncSend --server --sender --numeric-ids --perms --owner 
> --group -D --links --hard-links --times --block-size=2048 --recursive 
> --ignore-times . /
> Xfer PIDs are now 31301
> Got remote protocol 29
> Negotiated protocol version 28
> Remote[2]: file has vanished: 
> "/pifisi/.snapshot/nightly_2009-09-07_01-00/data/...
> 
> As you can see, /pifisi is the first exclude in the override settings.
> 
> Any ideas?
> 
> On Sep 8, 2009, at 8:15 AM, Michael Stowe wrote:
> 
>>> I recently converted all my BackupPC servers to 3.1.0 and even more
>>> recently configured one of them to back up 5 brand new clients.  The
>>> problem is, BackupPC is not using the Override setting on
>>> BackupFilesExclude and is therefore failing trying to rsync several
>>> terabytes of Isilon network fileservers mounted on each of the 5
>>> machines.  I've reloaded the config from Admin Options.  What else do
>>> I need to do to get BackupPC to exclude those network filesystems?
>>>
>>> Ward... James Ward
>>> Tekco Management Group, LLC
>>> jeward AT torzo DOT com <mailto:jeward AT torzo DOT com>
>>> 520-290-0190x268
>>> ICQ: 201663408
>>
>> All kinds of things may have gone wrong, if you've verified in the logs
>> that the excludes aren't being sent at all, I'd suspect something wonky in
>> your config files ... note that if you have $Conf{BackupFilesOnly} set
>> that it takes precedence over $Conf{BackupFilesExclude}, so this might be
>> my first guess.
>>
>> If the setting appears in the individual configuration file at all, it's
>> overriding the main config.
>>
>> ------------------------------------------------------------------------------
>> 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 
>> <mailto: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/
> 
> Ward... James Ward
> Tekco Management Group, LLC
> jeward AT torzo DOT com <mailto:jeward AT torzo DOT com>
> 520-290-0190x268
> ICQ: 201663408
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> 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/
hi,

This is what works on my system:

$Conf{BackupFilesExclude} = {
   '*' => [
     '/tmp',
     '/net',
     '/sys',
     '/proc',
     '/dev',
     '/selinux',
     '/space',
     '/net'
   ]
};

-- 
Mark Maciolek
Network Administrator
Morse Hall 339
862-3050
mlm AT sr.unh DOT edu
https://www.sr.unh.edu

------------------------------------------------------------------------------
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/