Multiple exclusions with smbclient

Richard Sharpe rsharpe at
Thu Mar 18 17:47:23 GMT 2004

On Thu, 18 Mar 2004, Gerald (Jerry) Carter wrote:

> Hash: SHA1
> Stefan G. Weichinger wrote:
> | I am member of the AMANDA-core-developers and would like
> | to ask for help and information on the following topic,
> | as John H. Terpstra has pointed me to you:
> |
> | As you may know, AMANDA as one of the leading open-source
> | backup-tools has the ability to use smbclient to backup
> | SMB-shares.
> |
> | In terms of backup it is often very useful to be able to
> | exclude stuff like pagefiles, temp-dirs, and such.
> |
> | As smbclient currently only supports ONE exclude-option,
> | AMANDA is bound to this limit in backing up SMB-shares,
> | too.
> |
> | I have repeatedly posted this on the samba-list without replies.
> Does this patch help ?
> ~
> I have been meaning to look at it, but been obligated to
> other things.  (that's my story and I'm sticking to it).

OK, this patch looks quite small and harmless, so I am prepared to apply 
it to head to see what happens.

The Amanda folks will have to test it to see if it does what they need. 
When you get back to me that you are willing to do the testing, I will 
apply the patch. My testing will be limited to:

1. Does it build.
2. Does smbclient work against the platforms I have available (which are 
Samba and Win2K).

However, another idea I had was a purpose-built tool for amanda and other 
backup needs. It would not need to be as large as smbclient and might be 
easier to modify for specifically backup behavior.

Richard Sharpe, rsharpe[at], rsharpe[at], 

More information about the samba-technical mailing list