Re: DLE splitting

2021-09-19 Thread Olivier
Hi,

> My GenesAmandaHelper does not do anything to the vtape, all it does is 
> run amanda as a child so it knows when amanda is done. at which point it 
> does its thing copyiing the now uptodate indices and configs to that 
> same vtape amanda just made. so they are valid for the vtape just 
> remade, as opposed to always being a day out of date.
>
> No one else has publicly discussed how they've handled that so I have no 
> clue what others are doing, if anything to prevent a days indexes loss 
> if the drive or the amandatapes drive pukes and you have to recover to 
> bare metal. I also delete from the index database I keep, those files 

At the end of each dump, I rsync index and all to another machine, I
also send that info to me by mail (and my mail is automatically
replicated in at least 3 places). The reason being the one you
mentioned: loss of main Amanda index disk.

Olivier


> that represent a vtape that has been re-used. So I have a duplicate of 
> amandas index stuff that takes up a few gigabytes on the main drive in 
> addition to a backup copy on the vtape. Belt and suspenders approach.
> Recovering the latest indice and putting it where amanda keeps them, 
> enables access to the whole /amandatapes drive in one swell foop.
>
> Copyright 2019 by Maurice E. Heskett
> Cheers, Gene Heskett

-- 


Re: DLE splitting

2021-09-19 Thread Gene Heskett
On Sunday 19 September 2021 23:07:54 Jon LaBadie wrote:

> is there a way to run a user supplied program just
> before amanda's taper opens each tape file?  I.e.,
> before it actually opens and creates a new file on
> the tape.
>
> Do I recall correctly that it opens a tmp file on
> the vtape and when complete renames it?  Or am I
> thinking of the chunks on the holding disk?
>
> jon

My GenesAmandaHelper does not do anything to the vtape, all it does is 
run amanda as a child so it knows when amanda is done. at which point it 
does its thing copyiing the now uptodate indices and configs to that 
same vtape amanda just made. so they are valid for the vtape just 
remade, as opposed to always being a day out of date.

No one else has publicly discussed how they've handled that so I have no 
clue what others are doing, if anything to prevent a days indexes loss 
if the drive or the amandatapes drive pukes and you have to recover to 
bare metal. I also delete from the index database I keep, those files 
that represent a vtape that has been re-used. So I have a duplicate of 
amandas index stuff that takes up a few gigabytes on the main drive in 
addition to a backup copy on the vtape. Belt and suspenders approach.
Recovering the latest indice and putting it where amanda keeps them, 
enables access to the whole /amandatapes drive in one swell foop.

Copyright 2019 by Maurice E. Heskett
Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


Re: DLE splitting

2021-09-19 Thread Jon LaBadie

is there a way to run a user supplied program just
before amanda's taper opens each tape file?  I.e.,
before it actually opens and creates a new file on
the tape.

Do I recall correctly that it opens a tmp file on
the vtape and when complete renames it?  Or am I
thinking of the chunks on the holding disk?

jon

--
Jon H. LaBadie j...@jgcomp.com
 11226 South Shore Rd.  (703) 787-0688 (H)
 Reston, VA  20190  (703) 935-6720 (C)