Amanda-Users

Re: amcheck is ok, but amdump is not good

2005-06-24 11:45:13
Subject: Re: amcheck is ok, but amdump is not good
From: Matt Hyclak <hyclak AT math.ohiou DOT edu>
To: amanda-users AT amanda DOT org
Date: Fri, 24 Jun 2005 11:31:20 -0400
On Fri, Jun 24, 2005 at 11:15:12AM -0400, Lei Zhong enlightened us:
> It passed amcheck.  When I ran amdump, there was no error reporting.
> However, when I ran amrestore, I got "amrestore: reached end of tape"
> error.  So I went back to check the log file:
> 
>  
> 
> DISK planner amandtest.applimation.com /amtest
> START planner date 20050624
> INFO planner Adding new disk amandtest.applimation.com:/amtest.
> START driver date 20050624
> START taper datestamp 20050624 label DailySet101 tape 0
> STATS driver startup time 0.038
> FINISH planner date 20050624 time 1.297
> FAIL dumper amandtest.applimation.com /amtest 20050624 0 [/sbin/dump
> returned 1]
>   sendbackup: start [amandtest.applimation.com:/amtest level 0]
>   sendbackup: info BACKUP=/sbin/dump
>   sendbackup: info RECOVER_CMD=/usr/bin/gzip -dc |/sbin/restore -f... -
>   sendbackup: info COMPRESS_SUFFIX=.gz
>   sendbackup: info end
>   |   DUMP: You can't update the dumpdates file when dumping a
> subdirectory
>   |   DUMP: The ENTIRE dump is aborted.
>   sendbackup: error [/sbin/dump returned 1]
> INFO taper tape DailySet101 kb 0 fm 0 [OK]
> FINISH driver date 20050624 time 24.812
>  
> 
> Can someone tell me how to fix it?  Thanks
> 

You can't use dump to do incremental dumps on a directory. Dump works for
partitions. 

Switch to tar.

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263

Attachment: pgpfxxCSsWmjm.pgp
Description: PGP signature