Amanda-Users

RE: amflush during amdump

2006-10-27 16:57:53
Subject: RE: amflush during amdump
From: "Lee, Raymond" <Raymond.Lee AT qwest DOT com>
To: "Matt Hyclak" <hyclak AT math.ohiou DOT edu>, <amanda-users AT amanda DOT org>
Date: Fri, 27 Oct 2006 15:49:58 -0500
> > Will there be a conflict if I run amflush while an amdump 
> is running?
> > 
> > I'll be running amdump like this so that I can accumulate enough
> > multiple dumps in my holding disk before I amflush it to tape:
> > 
> >     amdump DailySet1 -o tapedev=/dev/null -o tpchanger=""
> >     (thanks to Jean-Louis for the taper options patch)
> > 
> > 
> > Then I'll have a cron job that periodically checks the 
> amount of space
> > used in the holding disk.  If the size is close to the 
> capacity of one
> > of my tapes, then amflush will run.
> > 
> > So my question is, if amflush runs while amdump is running, 
> will it try
> > to flush the dump that amdump is currently working on and cause any
> > problems?
> > 
> 
> It won't run, it will complain there is another process 
> already running.
> What I would do is set autoflush=yes in amanda.conf, then 
> instead of running
> a separate cron job just write a wrapper around your amdump 
> job. If the data
> is less than your required level, call it with your -o 
> options, if it is
> above, call as usual and it will flush everything (including 
> that run) to
> tape.
> 
> Matt
> 

Ah, great idea.  Thanks, Matt!


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


This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly 
prohibited and may be unlawful.  If you have received this communication 
in error, please immediately notify the sender by reply e-mail and destroy 
all copies of the communication and any attachments.


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