Craig Barratt wrote:
> Steven writes:
>
>   
>> Running: /usr/bin/ssh -q -x -l netbackup freedom.rapidxdev.com
>> /usr/bin/sudo /usr/bin/rsync --server --sender --numeric-ids --perms
>> --owner --group --links --times --block-size=2048 --recursive -D
>> --bwlimit=200 --ignore-times . /
>>     
>
> Yes, you can see none of the excludes make it into the command.
> But you knew that.
>
> The most likely explanation is there is a per-client config.pl that
> is overriding the setting.  Try editing $Conf{BackupFilesExclude}
> and $Conf{RsyncClientCmd} in the per-client config.pl (make
> $Conf{RsyncClientCmd} something different to the main config
> file to make sure the file is correctly being parsed).  Then
> check the actual command being run.
>
> Craig
>   
Yes, I know that seems like the likely answer, but unfortunately it 
isn't.  This happens on all of the hosts, regardless of whether or not 
there are per host configuration files. 

As an update, it works fine if I update the RsyncArgs directly, like so:

$Conf{RsyncArgs} = [
            #
            # Do not edit these!
            #
            '--numeric-ids',
            '--perms',
            '--owner',
            '--group',
            '--links',
            '--times',
            '--block-size=2048',
            '--recursive',

            #
            # If you are using a patched client rsync that supports the
            # --checksum-seed option (see http://backuppc.sourceforge.net),
            # then uncomment this to enabled rsync checksum cachcing
            #
            #'--checksum-seed=32761',

            #
            # Add additional arguments here
            #
            '-D',
            '--bwlimit=200',
             '--exclude', '/proc',
             '--exclude', '/sys',
             '--exclude', '/tmp',
             '--exclude', '/var/tmp',
             '--exclude', '/usr/tmp',
             '--exclude', '/mnt',
             '--exclude', '/media',
             '--exclude', '/auto',
             '--exclude', '/var/run/acpid.socket',
             '--exclude', '/var/run/dbus/system_bus_socket',
             '--exclude', '/var/lib/backuppc/cpool',
             '--exclude', '/var/lib/backuppc/pc',
             '--exclude', '/var/lib/backuppc/pool',
             '--exclude', '/var/lib/backuppc/trash',
             '--exclude', '/var/lib/vmware/Virtual Machines/*/*.vmdk',
             '--exclude', '/var/lib/vmware/Virtual Machines/*/*.vmem',
             '--exclude', '/var/lib/vmware/Virtual Machines/*/*.vmsd',
             '--exclude', '/var/lib/vmware/Virtual Machines/*/*.vmsn',
             '--exclude', '/var/lib/vmware/Virtual Machines/*/*.vmss',
             '--exclude', '/backupdata',

];



-- 
Puryear Information Technology, LLC
Baton Rouge, LA * 225-706-8414
http://www.puryear-it.com

Visit http://www.puryear-it.com/pubs/ebooks/ to download your free
copies of:

 "Best Practices for Managing Linux and UNIX Servers"
 "Spam Fighting and Email Security in the 21st Century"


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to