daniel berteaud wrote:
Le Wed, 20 Sep 2006 10:43:30 -0400,
Toby Johnson <[EMAIL PROTECTED]> a écrit :

  
I am using rsync to backup a server which has a chroot-ed BIND 
environment. This means that it has a copy of the /proc filesystem
under /var/named/chroot, which of course includes all sorts of stuff
I don't want to backup, including the 256TB "kcore" file.

I tried to exclude these using BackupFilesExclude, but it's still
trying to back them up. Does rsync honor the BackupFilesExclude list?
Anything else I'm doing wrong?

 From my host-specific config.pl:

$Conf{RsyncClientCmd} = '$sshPath -q -C -x -l root
-i /path/to/keyfile $host $rsyncPath $argList+';

$Conf{RsyncShareName} = ['/etc', '/var', '/home', '/root', '/usr', 
'/lib', '/lib64', '/bin', '/sbin'];

$Conf{BackupFilesExclude} = ['/var/named/chroot/dev', 
'/var/named/chroot/etc', '/var/named/chroot/proc', '/var/log'];

    

You should try this:

$Conf{RsyncClientCmd} = '$sshPath -q -C -x -l root -i /path/to/keyfile $host $rsyncPath $argList+';
 
$Conf{RsyncShareName} = ['/etc', '/var', '/home', '/root', '/usr', '/lib', '/lib64', '/bin', '/sbin'];

$Conf{BackupFilesEsclude} = {'/var' => ['/named/chroot/dev','/named/chroot/etc','/named/chroot/proc','/log',]};

It should works then.
  

That still doesn't work. Perhaps I should just hardcode --exclude statements into the RsyncClientCmd?
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to