On Tue, 2007-01-30 at 17:16 -0600, John Buttery wrote:
>   I'm wondering if I've got the syntax right for this stuff...it looks 
> right, but I can't find any actual examples anywhere and some of the 
> files that I think should be excluded by this, aren't.
> 
>   This is BackupPC 2.1.1 as installed by Debian Sarge (the full package 
> version string is '2.1.1-2sarge2').
> 
>   When excluding directories, do I need to put a trailing '/' character?  
> Are wildcards allowed?  When specifying directory names inside the 
> per-share array, do I put the leading '/' characters?
> 
>   Also, this backup fails with the following error (the other 7 or 8 
> hosts we back up are fine)...but I think this may be due to its trying 
> to back up files that are getting created/destroyed or modified during 
> the run.  That problem should solve itself once the files start getting 
> excluded properly, I'm guessing.
> 
> The following hosts had an error that is probably caused by a
> misconfiguration.  Please fix these hosts:
>   - hostname (aborted by signal=ALRM)
> 
>   Here are the lines from the main config.pl that affect what's being 
> backed up (as far as I know...I can send other stuff as required, 
> didn't want to spam the list with the entire file :p).
> 
> ----- cut here
> $Conf{XferMethod} = 'rsync';
> $Conf{RsyncShareName} = ['/','/usr','/var','/home'];
> ----- cut here
> 
>   And, here are the entire contents (excluding comments) of the 
> host-specific config file for the machine in question:
> 
> ----- cut here
> $Conf{BackupFilesExclude} = {
>         '/' => [
>                 '/dev',
>                 '/tmp',
>                 '/mnt',
>                 '/floppy',
>                 '/cdrom',
>                 '/proc'
>         ],
> 
>         '/var' => [
>                 '/log/maillog',
>                 '/lib/mysql/data',
>                 '/lib/mysql/mysql',
>                 '/log/mysql/mysql.log',
>                 '/log/mysql/mysql-bin*',
>                 '/spool/exim4'
>         ],
> };
> ----- cut here
Would you be running into problems because the other rsync share names
 are included in "/"?
-- 
Travis Fraser <[EMAIL PROTECTED]>


-------------------------------------------------------------------------
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
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to