On 19 Feb 2002 at 7:27am, [EMAIL PROTECTED] wrote

> > You're exactly right -- that's the swap file, and you can't open it.  You 
> > could exclude it in your dumptype, or just ignore the error.
> 
> I would like to exclude it, but the sample amanda.conf file (from which
> I derived the one I am using) says I can't, under the comments for
> dumptypes:
> 
> # dumptypes
>   ...
> # exclude - specify files and directories to be excluded from the
> # dump. Useful with gnutar only; silently ignored by dump and samba.
> 
> Is this information outdated.  That is, does it actually work with
> samba?  I tried:

Yep -- that info is wrong and should probably be changed.  docs/SAMBA has 
the proper info:

  Smbclient only supports excluding a single file from the command line,
  not a file of patterns like GNU tar.  So "exclude" is supported from a
  dumptype but not "exclude list".

> define dumptype americom-samba {
>     americom-standard
>     program "GNUTAR"
>     exclude "/WINDOWS/WIN386.SWP"
> }
> 
> but it did not work.  Do I use backslashes, or is there anything else I
> need to do?

Well, here's what I do to exclude the recycyle bin:

define dumptype comp-high-smb {
    global
    comment "important partitions via tar (e.g. for samba)"
    compress client best
    priority medium
    exclude "./RECYCLER"
}

Give the ./ a try.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University

Reply via email to