Bug 4167 - smbclient tar creation does not stop with specified directories
smbclient tar creation does not stop with specified directories
Product: Samba 3.0
Classification: Unclassified
Component: Client Tools
x86 Linux
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2006-10-11 16:29 UTC by Kevin Heneveld
Modified: 2010-12-06 09:15 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Heneveld 2006-10-11 16:29:56 UTC
When creating a tar archive with smbclient, if a share is specified and a subdirectory is specified the subdirectory is backed up and then the rest of the share is also.  The expected result would be for the specified directory do be tar'ed and then the process would terminate.

For example: /usr/bin/smbclient \\\\myworkstation\\C\$ -U DOMAIN/Username -E -N -d 1 -c tarmode\ full -Tc backup.tar /Data

I would expect this to only back up the Data folder on my C$ share.  Instead it backs up /Data and then proceeds to back up all the other files and folders on the root of the C$ share.

Note:  I am actually using '-' in place of 'backup.tar' to collect the data returned (via backuppc)
Comment 1 Holger Hetterich 2010-12-06 09:15:47 UTC
Having Samba 3.5.4 installed, this doesn't happen to me. Can you please try if it works for you with a newer Samba version?