Amanda-Users

How could amflush NOT flush ? :o)

2003-07-23 09:39:06
Subject: How could amflush NOT flush ? :o)
From: Nicolas Ecarnot <nicolas.ecarnot AT accim DOT com>
To: amanda-users AT amanda DOT org
Date: Wed, 23 Jul 2003 15:53:13 +0200
Hi,

My Amanda setup keeps improving tests after tests and I still have so many 
questions.
Today is : How could I do to make automatic flushes (autoflush) but without 
deleting the holding disk directories ?

What I'd like to have is this situation :
- cron launches amdump
- the autoflush option is set, so as to write datas on the holding disk AND to 
tape
- but to keep the last holding disk directory
- Another cron would remove the (n-1) last hoslding disk directory

That way, I could restore the previous-day files directly from the holding disk 
files, without having to go search my tapes. 

I first thought about a script that would launch amdump without the option 
autoflush, then copy the last created directory, then launch amflush.
But that copy is way too large for my not-so-small 120Go holding disk.

Have you any idea ?

-- 
Nicolas Ecarnot