On Fri, 2006-08-11 at 13:27 +0200, Etaoin Shrdlu wrote:
> On Friday 11 August 2006 12:52, Benoit BELY wrote:
> 
> > I readed something like it is bettre use double quote " instead of
> > simple quote ' on  file name with space... but I can't find this
> > message in mailign list so trie
> > $Conf{BackupFilesExclude} = {'D$' => ["/System Volume
> > Information",'/Recycle'] };
> 
> Thanks, but what makes me think that I'm doing something else wrong is 
> the fact that also /RECYCLER (no spaces in the name, hence should be no 
> problem) gets backed up when it shouldn't. Anyone succesfully using 
> $Conf{BackupFilesExclude} with smb?

Exclusions do work, and more than one exclusion can be used. The trick
was to prefix a backslash to the directory or file that is excluded.
Forward slashes did not work. The exclusions are relative to the root of
the share, of course.

As far as spaces in the filenames goes, I haven't tried that yet.

Some examples:

$Conf{BackupFilesExclude} = [ '\foo' ]

$Conf{BackupFilesExclude} = [ '\foo', '\*\bar' ]

Per-share excludes can be done as well:

$Conf{BackupFilesExclude} = { 
        'share1$' => [ '\foo' , '\bar' ],
        'share2$' => [ '\foobar' ], 
};
-- 
Travis Fraser <[EMAIL PROTECTED]>


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

Reply via email to