Amanda-Users

RE: Tapeless: how to make a SECOND backup

2003-11-03 01:16:35
Subject: RE: Tapeless: how to make a SECOND backup
From: "Dana Bourgeois" <em-lists AT netgods DOT us>
To: "'turgut kalfaoglu'" <turgut AT egenet.com DOT tr>, <amanda-users AT amanda DOT org>
Date: Sun, 2 Nov 2003 22:10:35 -0800
You have the right idea.  On my system, my second disk is mounted as
/backup.  Each 'tape' is a directory in /backup.  /backup/holding is my
holding area.

Each 'tape' directory has a structure as well: 

drwxr-xr-x    2 amanda   disk         4096 Oct 30 00:58 data
-rw-------    1 amanda   disk           11 Oct 30 08:00 info

I believe you have to create these before Amanda will use the 'tapes'.  If
you can label them, you're golden.  So two tapes would look like:

        /backup/tape1
        /backup/tape1/data
        /backup/tape1/info

        /backup/tape2
        /backup/tape2/data
        /backup/tape2/info

... and you would tell the changer you have two tapes called /backup/tape1
and /backup/tape2:

        slot 1 file:/backup/tape1
        slot 2 file:/backup/tape2

Create the data dir and info file with the correct permissions and owner
before using amlabel and amtape.  Once you have it set up correctly, both
programs will work properly as will amcheck.

Amanda behaves *exactly* the same with file 'tapes' as it does with tape
tapes.  The only difference is in the setup, data location and performance
characteristics.  So you have some new things to do to set up the file tape
system with the changer but once you've done that, its all the same.  



Dana Bourgeois


> -----Original Message-----
> From: owner-amanda-users AT amanda DOT org 
> [mailto:owner-amanda-users AT amanda DOT org] On Behalf Of turgut kalfaoglu
> Sent: Friday, October 31, 2003 8:52 PM
> To: amanda-users AT amanda DOT org
> Subject: RE: Tapeless: how to make a SECOND backup 
> 
> 
> Thank you Dana!
> Did you have to set up your data directories in a special 
> way? for example, I now have:
> 
> /data/server1
> 
> for the backups of server1, and I had to manually create the 
> 'data' subdirectory under this. However, I am not sure on how 
> to define a SECOND tape on this disk. Is it just amlabel that 
> creates the necessary subdirs for the second,third, etc, 
> "tapes"?  I assume each incremental backup needs to go into 
> its separate subdir?
> 
> thanks!
>  -turgut
> 
> 
> 


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