Re: Tape reuse

2003-07-11 Thread Dave Sherohman
On Fri, Jul 11, 2003 at 10:17:25AM -0400, Kin-Ho Kwan wrote:
> After the testing was done, I want to reuse the tape for the real 
> backup. Should I just need to amrmtape all tapes and rewind them using 
> mt or I have do somthing else?

Personally, I've used amlabel -f in that sort of situation (the -f
forces the tape to be relabeled even though is already has one and
the new label is already in use) and it's worked fine.  I would expect
amrmtape to cause amanda to forget that the tape even exists and refuse
to recognize it in the future (until relabeled).



Re: tape reuse

2001-08-28 Thread Joshua Baker-LePain

On Mon, 27 Aug 2001 at 10:40pm, Oliver Aldulea wrote

> Let's number the tapes 1 2 3 4. I would like to use them like this:
>
> Mon: level 0 on 1
> Tue: level 1 on 2
> Wed: level 1 on 3
> Thu: level 1 on 2
> Fri: level 1 on 3
> Mon: level 0 on 4
> Tue: level 1 on 2
> and so on.
>
> Is it possible using just one configuration? I got it working with two
> configs, one for full, one for incremental level 1, but it's a pain when
> it comes to restoring. I would have to restore a full, then an incr,
> manually, as amrecover doesn't work with 2 indexes. I also can't use a
> different backup system because this is pretty much the only gpl'd one
> that can do samba (unless anyone has some ideeas).

I can think of one way that it's "sorta" possible.  "Sorta" in that I
think this will work, it will require vigilance on your part, and it won't
be quite as rigid as the above.

Day 1: level 0 on 1
Day 2: level 1 on 2
Day 3: level 1 on 3

You notice two successful level 1s, and perform 'amrmtape Config 2' to
remove tape 2 from amanda's knowledge.  You then 'amlabel Config 2' to
tell amanda it now has a new tape, which it will ask for next.  So

Day 4: level 1 on relabeled 2
Day 5: amrmtape/amlabel 3, level 1 on tape 3
Day 6: level 0 on 4

Of course, amanda is going to try to help you out by promoting
filesystems to level 0s when it can, so all your level 0s may not
always be on the same tape, which throws a big monkey wrench in all
this.

> By the way, is anyone working on a GUI/web interface for amrecover? (I
> don't really care about setting up the system, because it's one-time,
> I just don't want to drive 40 minutes and pay for parking just to
> restore the pr0n that the boss erased the other day, or some other
> similar event).

Why not ssh?

Regarding a web interface, I'll channel John R. Jackson (is he on a
much-deserved vacation, or just dealing with the return of the undergrads
*shudder*?) and say "are you volunteering?".  ;)

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University