Amanda-Users

Re: Problems backing up large W2K drive

2003-07-24 14:50:55
Subject: Re: Problems backing up large W2K drive
From: "Stefan G. Weichinger" <monitor AT oops.co DOT at>
To: amanda-users AT amanda DOT org
Date: Thu, 24 Jul 2003 20:47:57 +0200
Hi, Bob,

on July, 24th 2003 at 19:55 you wrote to amanda-users:

BZ> I was hoping to use include or exclude options of gnutar but samba will not 
really play well in
BZ> this game. I tried to divide the large shared drive into directories using 
the include option in
BZ> both the disklist and in the dumptypes. Samba complains about this and 
gives error messages and
BZ> quits. Then I tried using exclude. Samba will be ok with this option as 
long as you just exclude
BZ> only one file or directory. This is not a good option either as I have many 
files or patterns I
BZ> want to exclude (i.e.,./pagefile.sys, */*.tmp, or */*.zip).

AFAIK, you can use multiple exclude-lines in a dumptype using Samba.
It just doesnŽt like or accept exclude-lists.

Jon (H. LaBadie) wrote the following earlier this year:

"smbclient will take multiple files to exclude on the command line, but not
a file argument listing files to exclude. So it was necessary to take the
list and convert it into command line arguments."

Read his full posting under (for example)
http://groups.yahoo.com/group/amanda-users/message/41819.

After I read that I just implemented something like that in a customers 
amanda.conf
today.

Like:

define dumptype hugedisk {
program "GNUTAR"
exclude "./pagefile.sys"
exclude "*/*.tmp"
exclude "*/*.zip"
< other options here ... >
}

Amcheck (2.4.4p1) returned no errors, I will see if it worked after the next
amdump tonight.

BZ> So, I thought of installing cygwin on this W2K machine with amanda client 
and
BZ> trying this configuration. I am working through this implementation 
currently
BZ> and am having some problems (I did get
BZ> the host server to talk to the w2k, cygwin, amanda client machine, but had 
to
BZ> stop at this point and got pulled off onto another project). My thought was 
I
BZ> could at least bypass Samba and just
BZ> use gnutar to backup the W2K client machine using exclude lists or files. 
Has
BZ> anyone done this or something similar?

Another idea would be to smbmount your windows-share to the
backup-host and GnuTar it right from there. HavenŽt tried that by
myself, but read about that idea on the list.

--
 
best regards,
Stefan

Stefan G. Weichinger
mailto:monitor AT oops.co DOT at