Re: Backing up via NFS.
2003-12-16 11:38:56
All,
Along
these lines, I too have tried doing an NFS backup using
Amanda, without much luck.
The
*client* machine, is an SANS, so installing client daemons
on it is out of the question.
Doing an
amcheck pointing to the nfs mount point in the conf file
would fail with the typical *dis. offline* error message.
There was
this link on the WEB about getting this to work that a
co-worker pointed me to:
http://www.karakas-online.de/myAMANDA/test.html
So,
I then changed my conf file to point to the nfs mount point and
specified using tar to do this. I then modified the
client-src/sendbackup-gnutar.c and commented out the --one-file-system
line,
recomplied and installed amanda.
For
testing purposes, I told it to backup 1 directory, less than 2k.
I then did
the command line check (shown in the URl) and it came back
with a size parameter (this supposedly is what amdump looks for, more
specifically, the sendsize module).
I was then
able to do an amcheck, and it succeeded. Doing an amdump still
fails however. Looking into the log file (sendsize.-----.debug) it
indicated that
amdump is not receiving the size information (presumably from sendsize
module)
that it needs to complete the tar.
It is
bewildering that amcheck works, but amdump would fail, but then
amanda was written to have clients out there, so this is a little beyond
it's
scope. I am not a C programmer, but I am going to continue to *hack* at
this
to try and get it to work.
If anyone
else out there has already solved this problem, please by
all means send the fix. I really don't need to re-invent the wheel
Thanks.
At 09:15 AM 12/16/2003, Ken D'Ambrosio wrote:
pll+amanda AT permabit DOT com wrote:
> Try using GnuTar for your dump program instead. Running 'dump' over
an NFS
> mount if it ever works, is likely to be frought with problems.
Hey, Paul: yah; I'm already using tar instead of dump.
> To compile amanda, you may well need to install a bunch of things
like gcc,
> automake/autoconf, etc.
Yeah. It's actually the libraries, etc., that're giving me the most
grief. Guess it's time to hunker down and just get 'em all.
> The other option might be attempting to cross-compile for HPUX from
Linux,
> since Linux has all the necessary tools to begin with.
True 'nuff, but I wouldn't know where to begin. Think I'll take the
"compile, darn you" approach. Assuming I get it to work,
is there anywhere that I should put the binaries and/or patches/HOWTO for
public consumption?
-Ken
P.S. I should explicitly thank Eric Schnoebelen as the guy who was
kind enough to send me the patches for Amanda under HP/UX. Thus
far, I've seen nothing wrong with them, but rather with my
"development" suite (ha!) under HP/UX. See
http://www.google.com/search?q=Amanda+HP%2FUX
for the dialog.
############################################################
# Dan L. Ostrom | IT Contract Services #
# Systems Administrator III | (734) 647-5664 (voice) #
# University of Michigan | (734) 670-4001 pager) #
# Ann Arbor Michigan | (734) 763-4050 (fax) #
# 48109 | #
############################################################
|
|
|