As far as I know, the "Share" name has to be the first part of the exclude
key. Otherwise it's ignored.

so I would try something like :

$Conf{RsyncShareName} = [
  '/',
  '/boot'
];
$Conf{BackupFilesExclude} = {
  '/' => [
    'var/lib/BackupPC/*'
  ]
};

not sure of the exact syntax as it's just a copy-replace, but you get the
idea here.

Nicolas

2014-11-21 16:16 GMT+01:00 Christian Völker <[email protected]>:

> Hi all,
>
> I am running into another issue with my new backuppc system. I will
> backup the backuppc system itself. Please don't discuss if this it
> helpful or not- I will use it to restore older configuration files.
> Obviously I have to exclude /var/lib/BackupPC so I tried with excludes
> in the BackupPC/pc/host.pl:
>
> $Conf{RsyncShareName} = [
>   '/',
>   '/boot'
> ];
> $Conf{BackupFilesExclude} = {
>   '/var/lib/BackupPC/' => [
>     '*'
>   ],
>   'var/lib/BackupPC/' => [
>     '*'
>   ],
>   'var/lib/BackupPC ' => [
>     '*'
>   ]
> };
>
> None of these three is working. Every time when I start a backup it
> travels through the /var/lib/BackupPC directory. and backs up cpool and
> so on.
>
> What am I doing wrong?
>
> Thanks
>
> Christian
>
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> _______________________________________________
> BackupPC-users mailing list
> [email protected]
> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:    http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to