BackupPC-users

Re: [BackupPC-users] Exluding specific files within a directory tree

2009-12-09 17:09:26
Subject: Re: [BackupPC-users] Exluding specific files within a directory tree
From: Chris Robertson <crobertson AT gci DOT net>
To: backuppc-users AT lists.sourceforge DOT net
Date: Wed, 09 Dec 2009 13:06:26 -0900
ckandreou wrote:
> I have the following files
> /cmroot/ems_src/view/2010_emsmadd.vws/.pid
> /cmroot/ems_src/view/2010_deva.vws/.pid
> /cmroot/ems_src/view/emsadmcm_01.03.006.vws/.pid
> /ccdev10/cmroot/ems_src/vob/mems.vbs/.pid
>
> I would like backuppc to exclude .pid 
>
> I used the following exclude line with  <host>.pl 
>   '--exclude=/cmroot/ems_src/view/*/.pid',
>   

Better would be using the built in configuration parameter 
$Conf{BackupFilesExclude} 
(http://backuppc.sourceforge.net/faq/BackupPC.html#item__conf_backupfilesexclude_)

> I would appreciate if someone could confirm that is correct. If not, any 
> advice on how to achieve it, would be great.
>   

$Conf{BackupFilesExclude} = '*/.pid';

Should match a file named ".pid" in any directory (at least if using 
rsync, rsyncd or tar.  I'm a bit fuzzy on the SMB matching).

> Thanks in advance.
>
> Chris.

Chris


------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>