BackupPC-users

Re: [BackupPC-users] Problem with $Conf{BackupFilesExclude}

2009-01-19 15:50:43
Subject: Re: [BackupPC-users] Problem with $Conf{BackupFilesExclude}
From: Steve <leperas AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 19 Jan 2009 15:48:33 -0500
I don't know if this is what you're asking, but i just did mine
explicitly and it seems to work:

$Conf{RsyncArgs} = [
  '--numeric-ids',
  '--perms',
  '--owner',
  '--group',
  '-D',
  '--links',
  '--hard-links',
  '--times',
  '--block-size=2048',
  '--recursive',
  '--exclude',
  '/proc',
  '--exclude',
  '/mnt',
 '--exclude',
  '/mnt',
  '--exclude',
  '/tmp',
  '--exclude',
  '/media',
  '--exclude',
  '/sys',
  '--exclude',
  '/var/lib/backuppc'
];


Evets

On Mon, Jan 19, 2009 at 3:35 PM, Max Hetrick <maxhetrick AT verizon DOT net> 
wrote:
> Nick Bright wrote:
>> In my /etc/BackupPC/pc/host.pl file, I have the
>> $Conf{BackupFilesExclude} directive configured as:
>>
>> $Conf{BackupFilesExclude} = {
>>    '/usr/local/vpopmail/domains' => [
>>      ''
>>    ],
>>    '/usr/local/MPP/working' => [
>>      ''
>>    ],
>>    '/proc' => [
>>      ''
>>    ],
>>    '/var/qmail/queue' => [
>>      ''
>>    ],
>>    '/backup' => [
>>      ''
>>    ]
>> };
>>
>> This was configured through the web interface, on BackupPC v3.1.0.
>> Backup method is "rsync".
>>
>> The backup runs, but it disregards my exclude directives and backs up
>> the directories I'm telling it not to back up. Unfortunately, because of
>> the first exclude line not being excluded, this is making the backup
>> take about 20 hours to run!
>>
>> Any thoughts as to why these directories aren't being excluded?
>
> Perhaps I have my understanding of of BackupPC's exclude files, but I
> have mine as follows, and I think things are relative to the path, or
> something of the sort. I had problems with mine too when I had
> "/var/cache" on one line. When I made it look like the following, it worked.
>
> $Conf{BackupFilesExclude} = {
>   '/var' => [
>     '/cache'
>   ]
> };
>
> So, perhaps try:
>
> $Conf{BackupFilesExclude} = {
>    '/usr/local/vpopmail' => [
>      '/domains'
>    ],
>    '/usr/local/MPP/' => [
>      '/working'
>    ],
>    '/proc' => [
>      ''
>    ],
>    '/var/qmail' => [
>      '/queue'
>    ],
>    '/backup' => [
>      ''
>    ]
> };
>
> Regards,
> Max
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> 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/
>



-- 
"eWhatever."  - eAnonymous

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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/