Amanda-Users

Re: amdump - backup error

2007-05-30 17:15:55
Subject: Re: amdump - backup error
From: "Jeanna Geier" <jeanna AT webteam DOT net>
To: "Dustin J. Mitchell" <dustin AT zmanda DOT com>, Jeanna Geier <jeanna AT webteam DOT net>
Date: Wed, 30 May 2007 12:36:17 -0500
After looking into this some more, I tried the following:

- running the backup command in the log/debug file manually

  from the command line: root@melbourne:/usr/bin# backup
Osf
  1048576

  and got the following error message (also in the log 
  file): backup: Extra argument. Try backup --help for more

  info.


 - when I run the '--help' option:
root@melbourne:/usr/sbin#
  backup --help
  usage: backup [OPTIONS] [WHEN]
  Options are:

   -l, --level=LEVEL       Do backup level LEVEL (default 
   0).
   -f, --force             Force backup even if today's log

   file already
                           exists.
   -v, --verbose[=LEVEL]   Set verbosity level. Default
100.
   -t, --time=TIME         Wait till TIME, then do backup.

   Informational options:
   -h, --help              Display this help message.
   -L, --license           Display program license.
   -V, --version           Display program version.

   Optional argument WHEN is for backward compatibility 
   only. It has been
   superseded by --time option.
   TIME argument can be one of:

        now          --     do backup immediately.
        HH           --     do backup at HH hours.
        HH:MM        --     do backup at HH:MM.

   Send bug reports to bug-tar AT gnu DOT org.
   root@melbourne:/usr/sbin#



So, the options that the 'backup' command that 'amdump'
runs (backup Osf 1048576) is incorrect...  How can this be
fixed/changed?


Thanks again,
-jg


On Wed, 30 May 2007 11:53:24 -0500
 "Dustin J. Mitchell" <dustin AT zmanda DOT com> wrote:
> On Wed, May 30, 2007 at 11:24:28AM -0500, Jeanna Geier
> wrote:
> > sendsize[30823]: time 0.007: running "/usr/sbin/backup
> 0sf 1048576 - /etc"
> > sendsize[30823]: time 0.010: running
> /usr/local/amanda_2.5.2/libexec/killpgrp
> > sendsize[30818]: time 0.010: waiting for any estimate
> child: 1 running
> > sendsize[30823]: time 0.044: backup: Extra argument.
> Try backup --help for more info.
> > 
> > Does anyone know what these messages are caused by and
> how
> > to correct them?  Or see anything else that is causing
> my
> > dump to error out that I'm missing??
> 
> It looks like Amanda is calling /usr/sbin/backup
> incorrectly.  I've
> forgotten what flavor of system you're on, but if you can
> figure out how
> 'backup' *should* be called on your system, then we
> either need to
> figure out how you can configure Amanda to call it that
> way, or add a
> patch to Amanda to detect and correctly handle the
> differences.
> 
> Dustin
> 
> P.S. Thanks for chipping in and answering others'
> questions while you're
> asking your own!
> 
> -- 
>         Dustin J. Mitchell
>         Storage Software Engineer, Zmanda, Inc.
>         http://www.zmanda.com/


________________________
Jeanna Geier
System Administrator
Webteam, Inc.
jeanna AT webteam DOT net
http://www.webteam.net
------------------------
ph: 608.788.8100
fx: 608.788.6613
tf: 866.788.0023

<Prev in Thread] Current Thread [Next in Thread>