BackupPC-users

Re: [BackupPC-users] The parameter BackupFilesExclude is not recognized

2008-07-22 20:59:19
Subject: Re: [BackupPC-users] The parameter BackupFilesExclude is not recognized
From: Holger Parplies <wbppc AT parplies DOT de>
To: Vincent Fleuranceau <vincent AT mailoo DOT org>
Date: Wed, 23 Jul 2008 02:58:34 +0200
Hi,

Vincent Fleuranceau wrote on 2008-07-22 21:43:10 +0200 [Re: [BackupPC-users] 
The parameter BackupFilesExclude is not recognized]:
> Forget what I've written.
> 
> In fact, the most important thing to remember is Craig's advice  
> (increasing XferDebugLevel to reveal the inxlude/exclude info), not  
> his explaination on the way the include/exclude info is sent.

in fact, the explanation of exclude syntax - possibly combined with the rsync
man page - is sufficient to write correct and working BackupFilesExclude
values. If you don't need to get them to work, because they do right away,
then all of the detail is rather boring and superfluous, and you won't end
up looking in your log files for how and why not they appear in the command
line.

If your excludes do *not* work, either the explanation should be better or you
should read it more carefully. If you don't read the documentation carefully,
it doesn't really matter what's in it and what isn't, right?


The correct version for the original poster is:

$Conf{RsyncShareNmae} = [
  '/usr/local'
];
$Conf{BackupFilesExclude} = {
  '/usr/local' => [
    '/bin',            # you don't need the comma a the end, but it doesn't
                       # hurt, whereas an additional '' argument is simply
                       # wrong
  ]
};

Also, please remember when posting 6 subtly different configuration versions
to somehow make the subtle differences visible. Hiding them like you did
discourages helpful responses. I believe this thread somewhat demonstrates
that nobody actually read through them ;-) [well, except Nils, that is].

Regards,
Holger

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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/