Amanda-Users

Re: retrieving 1 year old file

2004-03-11 12:09:19
Subject: Re: retrieving 1 year old file
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Sergio Pereira <sergio AT ee.ryerson DOT ca>
Date: Thu, 11 Mar 2004 18:05:46 +0100
Sergio Pereira wrote:

I'm starting to play win amanda (2.4.4p2) on rh9 and using external hard
disk as virtual tapes. I was wondering how do I setup amanda to be able
to retrieve a 1 year old file? in other words, I want to have 1 year bkp
with level 0 weekly. If someone has any other idea .. pls share.:-)

here's my relevant configuration on amanda.conf:

dumpcycle 7 daysrunspercycle 5 tapecycle 6 tapes runtapes 1

If you have 6 tapes, and run amdump 5 times over a dumpcycle of 7 days, then your oldest backup will be only 1 week + 2 days old.
(and "daysrunspercycle" is a syntax error, but I guess that's a typo)

You'll need 5 * 52 = 260 tapes to span a year with the above frequency.

Alternatively, you make 1 backup, all full, then wait a complete year,
and you'll be able to restore a 1 year old file from only 1 tape.

Or did I completely misunderstand what you playing with?


tpchanger "chg-disk"
tapedev "file:/amandavtapes" (this is a entire disk)

my virtual tapes are: (amtape daily show)

slot 2: date 20040311 label daily2
slot 3: date 20040311 label daily3
slot 4: date 20040311 label daily4
slot 5: date 20040311 label daily5
slot 6: date 20040310 label daily6
slot 1: date 20040311 label daily1


--
Paul Bijnens, Xplanation                            Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...    *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************


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