Amanda-Users

Re: Amanda can't run dump to estimate dump size but works from cmd line..

2004-04-16 10:16:43
Subject: Re: Amanda can't run dump to estimate dump size but works from cmd line..
From: Joshua Baker-LePain <jlb17 AT duke DOT edu>
To: William Hargrove <whargrove AT dsc DOT net>
Date: Fri, 16 Apr 2004 10:13:49 -0400 (EDT)
On Fri, 16 Apr 2004 at 2:59pm, William Hargrove wrote

> My disklist entry for this test is:
> 
> augustus.XXXX.com /etc nocomp-test

> sendsize[26770]: time 0.006: getting size via dump for /etc level 0
> sendsize[26770]: time 0.007: calculating for device '/etc' with ''
> sendsize[26770]: time 0.007: running "/sbin/dump 0Ssf 1048576 - /etc"
> sendsize[26770]: time 0.008: running /opt/amanda/libexec/killpgrp
> sendsize[26767]: time 0.009: waiting for any estimate child: 1 running
> sendsize[26770]: time 0.040:   DUMP: Cannot open /dev/md1
> sendsize[26770]: time 0.041:   DUMP: The ENTIRE dump is aborted.
> sendsize[26770]: time 0.042: .....

This error is misleading.  You're trying to run 'dump' on /etc, which is 
not a filesystem -- dump only works (well, incrementals only work) on an 
entire filesystem.  Generally amanda will complain about that, but I think 
the software RAID may be throwing it off.

In any case, you need to use tar rather than dump to backup a 
subdirectory.  Give that a shot.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University

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