Pierre Hourdebaigt writes:

> I am a new backuppc user (5 days ago). I use it to backup XP clients, 
> Fedora (FC4) and Mandriva (2006) clients. The server is on debian Sarge 3.1.
> I can backup and restore without problem.
> But I have noticed that 'BackupFilesExclude' parameter doesn't run for 
> my configuration. And I do not have message about it on log files.
> I do not see why this occurs. is anyone have an idea ?
> Thanks a lot.
> 
> Here the small config.pl for backuping a mandriva client :
> 
> $Conf{XferMethod} = 'rsync';
> $Conf{RsyncClientPath} = '/usr/bin/rsync';
> $Conf{RsyncClientCmd} = '$sshPath -q -x -l root $host $rsyncPath $argList+';
> $Conf{RsyncClientRestoreCmd} = '$sshPath -q -x -l root $host $rsyncPath 
> $argList
> +';
> $Conf{RsyncShareName} = [
>         '/home/pierre',
>         '/root/.ssh',
>         '/devel',
>         '/var/www/html',
>         '/etc/samba'
> ];
> $Conf{BackupFilesExclude} = [
>         '/home/pierre/download',
>         '/home/pierre/tmp',
>         '/home/pierre/OperaDownloads',
>         '/home/pierre/.cddb',
>         '/home/pierre/.swp',
>         '/home/pierre/.fonts',
>         '/home/pierre/.opera',
>         '/home/pierre/.mozilla',
>         '/home/pierre/.thumbnails',
>         '/home/pierre/.xsession-errors'
> ];

The excludes are relative to the share name.

So you probably want this:

    $Conf{BackupFilesExclude} = {
         '/home/pierre' => [
             '/download',
             '/tmp',
             '/OperaDownloads',
             '/.cddb',
             '/.swp',
             '/.fonts',
             '/.opera',
             '/.mozilla',
             '/.thumbnails',
             '/.xsession-errors'
        ]
    };

I'm not sure the leading '/' is right for rsync, but if it
doesn't work then try a leading './' or omit it altogether.

Craig


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to