Auto-flush during amdump?

2002-06-18 Thread Colin Henein

Greetings Amanda types.

I've been using amanda for a few years now, so I'm pretty sure this can't be
done. I thought I'd ask anyway, perhaps it will stimulate discussion of this
as a potential new feature.

I'm interested in having amanda flush any backups that are in the holding
area as a part of the nightly amdump run.

Our server is co-located with our ISP. While they are pretty good at
changing our tapes, they do occasionally mess up, and we often don't catch
them before the backup runs. What happens is that our backups wind up in the
holding area, as you'd expect. The problem is that it's a multi-step
headache to call the ISP, explain the problem, get the correct tape loaded,
hang up; an amflush is then performed; then we have to call the ISP again,
and get them to put the next night's tape in.

Now, when you run amflush at the command line, it offers to put all the held
backups onto one tape for you. What would really make life easier for us is
if amdump essentially could be instructed to do the same thing... Take all
the backups from the holding area, and put them on the tape with the results
of the current amdump run.

Can anyone think of a way to do this with the current Amanda? Would this be
a popular addition if it appeared in a new version? Could this be put on a
feature-request list?

Colin 




Re: Auto-flush during amdump?

2002-06-18 Thread Ben Kochie

that's an interesting idea.. maybe it would be better to make it part of
the planner..

planner sees dumps in the holding disk, adds that count to the plan for
the current day, and will flush it along with the current disks.

this would save a lot of time for me as well.

just add to amanda.conf:

autoflush true

-ben

On Tue, 18 Jun 2002, Colin Henein wrote:

 Greetings Amanda types.

 I've been using amanda for a few years now, so I'm pretty sure this can't be
 done. I thought I'd ask anyway, perhaps it will stimulate discussion of this
 as a potential new feature.

 I'm interested in having amanda flush any backups that are in the holding
 area as a part of the nightly amdump run.

 Our server is co-located with our ISP. While they are pretty good at
 changing our tapes, they do occasionally mess up, and we often don't catch
 them before the backup runs. What happens is that our backups wind up in the
 holding area, as you'd expect. The problem is that it's a multi-step
 headache to call the ISP, explain the problem, get the correct tape loaded,
 hang up; an amflush is then performed; then we have to call the ISP again,
 and get them to put the next night's tape in.

 Now, when you run amflush at the command line, it offers to put all the held
 backups onto one tape for you. What would really make life easier for us is
 if amdump essentially could be instructed to do the same thing... Take all
 the backups from the holding area, and put them on the tape with the results
 of the current amdump run.

 Can anyone think of a way to do this with the current Amanda? Would this be
 a popular addition if it appeared in a new version? Could this be put on a
 feature-request list?

 Colin





Re: Auto-flush during amdump?

2002-06-18 Thread Joshua Baker-LePain

On Tue, 18 Jun 2002 at 3:37pm, Colin Henein wrote

 I've been using amanda for a few years now, so I'm pretty sure this can't be
 done. I thought I'd ask anyway, perhaps it will stimulate discussion of this
 as a potential new feature.
 
 I'm interested in having amanda flush any backups that are in the holding
 area as a part of the nightly amdump run.

[jlb@chaos tmp2]$ more amanda-2.4.3b3/example/amanda.conf.in 
.
.
# reserve 30 # percent
# This means save at least 30% of the holding disk space for degraded
# mode backups.  

autoflush no #
# if autoflush is set to yes, then amdump will schedule all dump on
# holding disks to be flush to tape during the run.

:)

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





Re: Auto-flush during amdump?

2002-06-18 Thread Jean-Louis Martineau

On Tue, Jun 18, 2002 at 03:37:52PM -0400, Colin Henein wrote:
 Greetings Amanda types.
 
 I've been using amanda for a few years now, so I'm pretty sure this can't be
 done. I thought I'd ask anyway, perhaps it will stimulate discussion of this
 as a potential new feature.
 
 I'm interested in having amanda flush any backups that are in the holding
 area as a part of the nightly amdump run.

That feature is already in 2.4.3b3.

Jean-Louis

 Our server is co-located with our ISP. While they are pretty good at
 changing our tapes, they do occasionally mess up, and we often don't catch
 them before the backup runs. What happens is that our backups wind up in the
 holding area, as you'd expect. The problem is that it's a multi-step
 headache to call the ISP, explain the problem, get the correct tape loaded,
 hang up; an amflush is then performed; then we have to call the ISP again,
 and get them to put the next night's tape in.
 
 Now, when you run amflush at the command line, it offers to put all the held
 backups onto one tape for you. What would really make life easier for us is
 if amdump essentially could be instructed to do the same thing... Take all
 the backups from the holding area, and put them on the tape with the results
 of the current amdump run.
 
 Can anyone think of a way to do this with the current Amanda? Would this be
 a popular addition if it appeared in a new version? Could this be put on a
 feature-request list?
 
 Colin 

-- 
Jean-Louis Martineau email: [EMAIL PROTECTED] 
Departement IRO, Universite de Montreal
C.P. 6128, Succ. CENTRE-VILLETel: (514) 343-6111 ext. 3529
Montreal, Canada, H3C 3J7Fax: (514) 343-5834



Re: Auto-flush during amdump?

2002-06-18 Thread Jon LaBadie

As others have pointed out, it is a new, existing feature.

One thing though. you will probably want to make sure
there is a sufficient tape capacity, possilby allowing
multiple tapes, for both flush and normal dump.

-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)