Le Wed, 20 Sep 2006 11:23:41 -0400,
Toby Johnson <[EMAIL PROTECTED]> a écrit :

> > 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?

Well, sorry it's

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

without the fisrt slash. I usually backup from the root ($Conf{RsyncShareName} 
= ['/'];)
so I can exclude with absolute paths. but when you exclude from another 
directory 
you must use relative paths


-- 
Daniel Berteaud
FIREWALL-SERVICES SARL.
Société de Services en Logiciels Libres
Technopôle Montesquieu
33650 MARTILLAC
Tel : 05 56 64 15 32
Fax : 05 56 64 82 05
Mail: [EMAIL PROTECTED]
Web : http://www.firewall-services.com

-------------------------------------------------------------------------
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