BackupPC-users

[BackupPC-users] Merge config in per-host config?

2009-09-03 07:27:52
Subject: [BackupPC-users] Merge config in per-host config?
From: Etaoin Shrdlu <shrdlu AT unlimitedmail DOT org>
To: backuppc-users AT lists.sourceforge DOT net
Date: Thu, 3 Sep 2009 11:52:56 +0100
Apologies if this is a FAQ, but it seems I'm not able to merge the per-host 
config with the general config. In config.pl, I have

$Conf{BackupFilesExclude} = {
  '/' => [ '/proc',
           '/dev',
           '/sys'           
         ]
};

For a specific host, I want to exclude some other directories, so in the per-
host config file I'm doing

$Conf{BackupFilesExclude}{'/'} = [ 
  @{$Conf{BackupFilesExclude}{'/'}},
  '/var/spool' 
];

However, when the backup runs, it seems that the only exclusion is /var/spool, 
instead of '/proc', '/dev', '/sys', '/var/spool' as I would expect.

I'm surely doing something wrong, but I cannot find out what.
Thank you in advance.

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