Amanda-Users

Re: autoflush off, but still flushing to tape after amdump

2006-10-23 11:28:08
Subject: Re: autoflush off, but still flushing to tape after amdump
From: Sven Rudolph <Sven_Rudolph AT drewag DOT de>
To: amanda-users AT amanda DOT org
Date: Mon, 23 Oct 2006 16:45:37 +0200
Gene Heskett <gene.heskett AT verizon DOT net> writes:

>>However, when I run an amdump that only backs up a 200MB of data, I can
>>see the dumps being written to /dump/amanda, but then it's be flushed to
>>tape automatically at the end of amdump.  I also tried "autoflush no"
>>and commenting the line out (default should be "off", right?), but it
>>always flushes to tape after a dump.  Any ideas?

> Std procedure is to remove the tape until such time as there is a tapefull 
> in the holding disk.

With Amanda 2.5.1 the best way might be to overwrite the tapedev
config variable with a non-existing device (even /dev/null should
work), like:

  amdump DailySet1 -o tapedev=/dev/null

So the tape is unavailable when you run the (scheduled) amdump but it
is there when you do the flush.

        Sven