Re: How to tell Amanda to keep the latest full+incremental on the holding disk?

2001-05-01 Thread Jason Shupe

I don't think amanda was designed with such a goal in mind.

Here's a couple ideas to consider:

Idea 1:

It's too bad you're amanda server isn't on solaris, or another OS with
support for large files. I know the 2.4 kernel has support for large
files, but I'm not sure about RH7.0. It would simplify the following
hack, because you wouldn't have to deal with as many files... 

Here's what I would do:

Since you can predict a large part of the holding disk filename that
amanda will pick for a backup of a file system on any given day.
something like date/hostname.device.*

I would write a script that watches the holding disk for a
filename that matches your important partitions, and then
creates a hard link of the same name in a different directory.
This allows amanda to do what it wants with the file (spool it
to tape and delete it) yet you still get your copy.

A script like this would need to run the whole time amanda is
running and wake up every few minutes to check for the important
files, otherwise you might miss them...

You'd also need another script to manage the expiration of your
copied dump files.


If you backups are bigger than the 2gig file limit your script will have
to be more intelligent to watch for each chunk file and then create the
corresponding hard link...

Idea 2:

Split your holding disk into two partitions, half is still a holding
disk for amanda, the other half is for manually dumping the
important partitions to, and then let amanda back up the new
partition and the dumps your important partitions to tape...

Again the 2gig file limit might bite you, so you could use rsync
instead of dump or tar if your all your files on the important
partition are less than 2gigs.

With this idea restores from tape are a lot more work because after
amanda gets the files off of tape you still have copy/restore them
to the important system...

Cheers,
Jason

On Tue, May 01, 2001 at 03:40:57PM +1000, Srdjan Nikolic wrote:
> Hi,
> 
> I just recently started using Amanda across a Linux/AIX/Solaris/NT/2000
> environment.
> 
> We have an arrangement where the Amanda server (Compaq DL380, RAID array,
> DLT-8000, RH 7.0, Amanda 2.4.2p2 + the client patch) happily does nightly
> backup across all the machines.
> 
> What I would like to do is, for a given set of sensitive file systems, keep
> the last Level 0, level 1 etc.. on the holding disk, in case speedy recovery
> is needed. I have allocated a 26GB holding disk for this purpose only. I
> have not seen anything in amanda.conf backup type definitions that points to
> this feature?
> 
> Is it the case of RTFM, or does Amanda not support this type of arrangement?
> 
> Cheers,
> 
> Srdjan Nikolic
> Melbourne



Re: access to raid

2001-04-24 Thread Jason Shupe

I backup md devices on multiple linux boxen...

what about permissions? does the amanda user have group read permission?

On Wed, Apr 25, 2001 at 03:30:01PM +1200, thing wrote:
> These dumps were to tape kaitlin01.
> Tonight's dumps should go onto 1 tape: a new tape.
> 
> FAILURE AND STRANGE DUMP SUMMARY:
>   kaitlin/dev/md0 lev 0 FAILED [disk /dev/md0 offline on kaitlin?]
>   localhost  /root lev 0 STRANGE
>   localhost  sdb1 lev 0 STRANGE
> 
> 8><
> 
> kaitlin   /dev/hda6  0   10   32 320.00:00  485.50:00 7281.8
> 
> kaitlin   /dev/hdd2  0   146470   126112  86.12:20  902.91:41 1255.1
> 
> kaitlin   /dev/md0   0   FAILED 
> 
> localhost /bin   0 2000  960  48.00:01  882.70:00 2484.8
> 
> localhost /boot  0  920  768  83.50:01 1395.30:00 2574.4
> 
> the raid device isnt off line its working fineis /dev/md0 a
> non-acceptable device in amanda?
> 
> Steven



Re: spectra logic bullfrog and barcodes

2001-04-07 Thread Jason Shupe

That works, even without putting the bullfrog in tree frog emulation
mode...

I had touched the labelfile file, which It didn't like, when I removed
it then it recreated it and built the database...

so for a bullfrog the things that worked for me are:

amanda-2.4.2.p1
chg-scsi from amanda-2.5

and these configuration options in chg-scsi.conf

havebarcode 1
changerident 215

Thanks!
Jason

On Sat, Apr 07, 2001 at 12:59:49PM +0200, Thomas Hepper wrote:
> On Sat, Apr 07, 2001 at 02:52:32AM -0700, Jason Shupe wrote:
> > Ok the 2.5 chg-scsi doesn't work native, but the bullfrog can
> > theoretically emulate a tree frog...  I'll try the emulation tomorrow,
> > for grins the debug output is here:
> > 
> 
> Ahhh, i see, the generic robot driver ignores the havebarcode flag.
> 
> Please add the following to you chg-scsi.conf
> changerident 215
> debuglevel 9:0
> 
> 
>   Thomas



spectra logic bullfrog and barcodes

2001-04-06 Thread Jason Shupe

Hi all,

I'm having great fun with amanda-2.4.2p1 and a spectra logic bullfrog
ait-2 tape library...

I was just wondering if anyone got the bar code reader stuff working
with a bullfrog?

should I try the 2.5 chg-scsi?

here's some info from the 2.4.2p1 chg-scsi

$ chg-scsi -info
21 39 1 0

If you want more info about the bullfrog it should be in the developers
guide here:


http://www.spectralogic.com/common/collateral/documentation/BullFrog/92844008.pdf

And finally the contents of chg-scsi.debug will be here for a while:
 
http://d13.com/~jshupe/chg-scsi.debug.txt

Thanks,
Jason