Re: [BackupPC-users] The parameter BackupFilesExclude is not recognized
2008-07-22 11:11:51
Nils Breunese (Lemonbit) a écrit :
> Ray Todd Stevens wrote:
>
>> On 22 Jul 2008 at 15:39, Frédéric Massot wrote:
>>
>> I don't believe that the exclude parameter works with rsync. Or at
>> least
>> that is what I ran into and what I believe that the documentation
>> says.
>>
>> I basically had to include multiple directories in such a manner as
>> to not
>> include what I wanted to exclude. The ability to use exclude in some
>> manner would certainly be welcome.
>
> Excluding directories with rsync works just fine. Try this:
>
> $Conf{RsyncShareName} = [ '/usr/local' ];
> $Conf{BackupFilesExclude} = [ '/usr/local/bin' ];
With this configuration:
$Conf{ClientCharset} = 'iso-8859-15';
$Conf{RsyncClientCmd} = '$sshPath -q -x -l backuppc
host1.juliana-multimedia.com sudo $rsyncPath $argList+';
$Conf{XferMethod} = 'rsync';
$Conf{RsyncShareName} = [
'/usr/local'
];
$Conf{BackupFilesExclude} = [ '/usr/local/bin' ];
There is this line in the file auth.log:
sudo: backuppc : TTY=unknown ; PWD=/var/lib/backuppc ; USER=root ;
COMMAND=/usr/bin/rsync --server --sender --numeric-ids --perms --owner
--group -D --links --hard-links --times --block-size=2048 --recursive
--ignore-times . /usr/local/
The parameter exclude is not in the command line of rsync.
--
==============================================
| FRÉDÉRIC MASSOT |
| http://www.juliana-multimedia.com |
| mailto:frederic AT juliana-multimedia DOT com |
===========================Debian=GNU/Linux===
-------------------------------------------------------------------------
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/
|
|
|