Amanda-Users

RE: Tape Order

2003-04-24 10:46:24
Subject: RE: Tape Order
From: "Bort, Paul" <pbort AT tmwsystems DOT com>
To: Amanda Users <amanda-users AT amanda DOT org>
Date: Thu, 24 Apr 2003 10:42:16 -0400
I thought it was more like: 

grep -v no-reuse tapelist | sort -rk nnn

where 'nnn' is the column of the last date used. (I don't have an amanda
server handy to check the exact column.) 

Of course the source code is authoritative. 


> -----Original Message-----
> From: Stephen Carville [mailto:carville AT cpl DOT net]
> Sent: Thursday, April 24, 2003 10:19 AM
> To: Amanda Users
> Subject: Tape Order
> 
> 
> How does Amanda select which tape(s) to use next?  I am trying to 
> write a program to list the tape for the next N days so the tech can 
> load the changer.  However, the program isn't always right.  I 
> thought that Amanda just read the tapelist from bottom up, dropping 
> anything labeled "no-reuse" but it doesn't seem to be that simple.
> 
> -- 
> Stephen Carville http://www.heronforge.net/~stephen/gnupgkey.txt
> ===========================================
> You have the right to remain helpless. Should you give up this right, 
> anything you do will be used against you in a court of law. You have 
> the right to an assailant. If you cannot find one yourself, the court 
> will release one for you.
> 

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