[Samba] tarmode exclude not working?

James Morris morris.570 at osu.edu
Wed Apr 20 18:38:00 MDT 2011

On 4/20/2011 7:48 PM, Jeremy Allison wrote:
> On Sun, Apr 17, 2011 at 11:44:25AM -0400, James Morris wrote:
>> I am trying to backup a windows7 machine with smbclient.  I would
>> like to exclude the "medSchool" directory.  However, using the
>> command:
>> /usr/bin/smbclient \\\\server1\\D -U user -E -d 1 -c tarmode\ full
>> -TcrX - /medSchool/\* medSchool \medSchool \\medSchool\\>  /dev/null
>> no exclusion occurs (w/>/dev/null there for testing purposes). As
>> you can see I've tried every which way I could think of to exclude
>> this directory.  Any help would be greatly appreciated.
> What Samba version ?
Thank you for the reply jeremy:

   Installed: 2:3.5.8~dfsg-1ubuntu2
   Candidate: 2:3.5.8~dfsg-1ubuntu2
   Version table:
  *** 2:3.5.8~dfsg-1ubuntu2 0
         500http://us.archive.ubuntu.com/ubuntu/  natty/main amd64 Packages
         100 /var/lib/dpkg/status

More information about the samba mailing list