On Fri, Mar 01, 2002 at 11:27:04AM -0700, Jon Stearley wrote:
> On Thu, Feb 28, 2002 at 07:56:24AM -0500, Joshua Baker-LePain wrote:
> > On Wed, 27 Feb 2002 at 5:21pm, Jon Stearley wrote
> > 
> > > On Wed, Feb 27, 2002 at 12:05:10PM -0500, Joshua Baker-LePain wrote:
> > > > Well, 2.4.3b2 (derived from the 2.4.2-tapeio branch) has the ability to 
> > > > use files on disk like tapes.  You could back up to files on disk, and 
> > > > then have the cronjob which runs 'amdump' ftp those to the tape library.  
> > > > amrecover would still have access to your indexes, and when it asks you 
> > > > for a "tape" you just grab the right file off the ftp server/tape library.
> > > 
> > > sounds perfect!  so i grabbed and built 2.4.3b2 but would appreciate a
> > > pointer on how to utilize this functionality, the (.conf?) option is
> > > not jumping out at me...  thx!
> > > 
> > All is explained in amanda(8).  Basically, your tapedev would look like 
> > "file:/path/to/backup/dir".
> 
> works, of course ;)  i can amlabel a tape and dump to it.  after my
> amlabel command, i see the following in the data dir: 
>       00000-mercy00  00000.mercy00  00001-TAPEEND  00001.TAPEEND
> 
> from the docs it sounds like the data dir can contain multiple tapes,

No, where do you read that, the doc must be fixed.
With "file:/path/to/backup/dir",
/path/to/backup/dir is a tape drive and 
/path/to/backup/dir/data is a tape.

You can only have one tape in a tape drive.

> that's the part i can't figgure out.  if i amlabel a new label, it
> just changes the label on the same image files.  i tried using
> chg-multi with slots set like:
>   slot 0 /scratch/amanda/images/data/00000.mercy00
>   slot 1 /scratch/amanda/images/data/00001-mercy01
>   slot 2 /scratch/amanda/images/data
>   slot 3 /scratch/amanda/images
> none of which work.  it never thinks it has a tape loaded...
>

You should use (4 tape drives):
  slot 0 file:/scratch/amanda/images0
  slot 1 file:/scratch/amanda/images1
  slot 2 file:/scratch/amanda/images2
  slot 3 file:/scratch/amanda/images3

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

Reply via email to