On Sun, Sep 12, 2010 at 11:17 PM, Dustin J. Mitchell <[email protected]> wrote:
> It includes a rewrite of amdump.sh into amdump.pl.  The command-line
> argument handling in shell was just too gnarly to figure out, and
> shell is generally fraught with more portability problems than it's
> worth.

Hooray! This is committed in r3392.  You can now run
  amdump $config --no-taper
and the taper won't even start, let alone fail with an expected error.

Would you mind writing up a "How To" article on the wiki about this?
It doesn't need to be long.

In my testing, the resulting report looks like

Hostname: euclid
Org     : Conf
Config  : Conf
Date    : September 13, 2010

There are 90K of dumps left in the holding disk.
Run amflush to flush them to tape.

The next tape Amanda expects to use is: 1 new tape.


STATISTICS:
                          Total       Full      Incr.
                        --------   --------   --------
Estimate Time (hrs:min)     0:00
Run Time (hrs:min)          0:00
Dump Time (hrs:min)         0:00       0:00       0:00
Output Size (meg)            0.1        0.1        0.0
Original Size (meg)          0.1        0.1        0.0
Avg Compressed Size (%)    100.0      100.0        --
Filesystems Dumped             1          1          0
Avg Dump Rate (k/s)         17.9       17.9        --

Tape Time (hrs:min)         0:00       0:00       0:00
Tape Size (meg)              0.0        0.0        0.0
Tape Used (%)                0.0        0.0        0.0
Filesystems Taped              0          0          0
Parts Taped                    0          0          0
Avg Tp Write Rate (k/s)      --         --         --

NOTES:
  planner: Adding new disk euclid:/A/p/etc.


DUMP SUMMARY:
                                       DUMPER STATS               TAPER STATS
HOSTNAME     DISK        L ORIG-KB  OUT-KB  COMP%  MMM:SS   KB/s MMM:SS   KB/s
-------------------------- ------------------------------------- -------------
euclid       /A/p/etc    0      90      90     --    0:05   17.9

(brought to you by Amanda version 3.2.0alpha)

-- 
Open Source Storage Engineer
http://www.zmanda.com

Reply via email to