Rob Morin wrote:
> So i have this in a conf file for a certain server, so in this case in 
> the file stewy.pl i have
>
> $Conf{RsyncShareName} = 
> ['/etc','/var/www/virtual','/var/cache/bind','/var/mail/virtual'];
>
> $Conf{BackupFilesExclude} = ['/var/www/virtual/*/logs', 
> '/var/www/virtual/*/backups'];
>
> However it keeps backing the log dirs in /var/www/virtual/domain.com/
>
> What am i doing wrong?
>
>   
Excludes are relative to your share names...thus your excludes should 
like like this......

$Conf{BackupFilesExclude} = ['/*/logs', '/*/backups'];

You may also want to be specific with excludes per share like below....

$Conf{BackupFilesExclude} = {

'/var/www/virtual' => ['/*/logs', '/*/backups'],
};

That way the exclude only happens for the share you want.

Regards,

Les


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to