Re: [BackupPC-users] Exluding specific files within a directory tree
2009-12-09 17:09:26
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/
|
|
|