On Fri February 28 2003 23:14, Amanda wrote:
>Hi All-
>
>Does anyone know how to do this? I'm using 2.4.4, and have read
> the docs/SAMBA file and see the note about only being able to use
> "exclude" (not "exclude list") when backing up a windows client
> using smbclient.
>
>Is that the final answer? Is there no method whatsoever available
> for excluding more than one file per client machine?
Sure. AIUI, you can specify a file as the exclude list, and this
file then contains a list of the files you want to exclude, stated
in relative (./filename) format. Samba will I believe, translate
the backslash style of windows pathlist seperator into a forward
slash as used by the rest of the world, and if the exclude list is
a local list without translation, then an entry in the list file of
./WIN386.SWP should exclude that file. Similarly another liine
with an entry of ./SendTo in that same file should cause it (and
all its subdirs) to be excluded.
That is of course if I understand it correctly. I don't have such a
situation here, and the gotchas of useing samba made an rsync
believer out of me, so I rsync to a local mirror of the other
machine, and backup that local directory, which works much better
than the hit or miss you get because samba doesn't support the
correct file dating info since it doesn't exist on a M$ box in the
first place.
However, I'd gladly leave the final pronouncement as to how it works
to someone who is actually doing it. All volunteers welcome here.
>I don't want amanda to try and backup my \WINDOWS\WIN386.SWP file,
> and I don't want it to try and backup my \WINDOWS\SendTo
> directory (it's trying to get both right now, and when I tell it
> not to get one, it tries to get the other---when I tell it not to
> get both (with two exclude commands), amcheck complains that this
> is not allowed), and there are a few others that I will never
> want to backup. Is there any way I can do this with amanda? I
> see sourceforge has (had?) some work going on with something
> called amanda-win32, but it looks pretty stale. I see that there
> is an outstanding project to "Optionally use smbwrapper and GNU
> tar instead of smbclient to perform SAMBA backups." I also see
> from way back (year 2000) some discussion on amanda-hackers about
> a patch for doing "exclude list" with smbclient, but I'm
> skeptical about trying to patch my 2.4.4 sources with a patch
> that old---especially without much testimony on its quality.
>
>I'd love to hear some feedback on this.
>
>Thanks in advance.
--
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz 512M
99.24% setiathome rank, not too shabby for a WV hillbilly
|