I have been using smbclient as the transfer method, and could not get
the exclusions to work as per the documentation. I saw in the archives
that this question has come up before. 

I experimented a bit and found that the 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.

I am using samba-3.0.14a on a Gentoo box, backing up Windows XP Pro and
Server 2003.

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]>



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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