Amanda-Users

Re: Archiving with amanda

2007-11-08 06:21:07
Subject: Re: Archiving with amanda
From: Paul Bijnens <Paul.Bijnens AT xplanation DOT com>
To: msilva AT nmcourts DOT com
Date: Thu, 08 Nov 2007 12:14:40 +0100
On 2007-11-06 17:04, Mario Silva wrote:
Hi all:

Hope everyone is ok.

I got a question and hope you can help me.

Currently I am using virtual tapes and after a period of time I would like to send those backups to a LTO Library Tape Unit to take away to a vault our backups.

Is it possible? if yes, how can I send to the library tape the backups that I have in virtual tapes? And I have several configurations.

The stupid way is make an Amanda backup of the vtapes directories.
This works, and you data is indeed safe on the tape for offsite storage
but restoring from those images is a two way process:
first restore the needed vtapes to disk again, together with the
index-files, log files (yes!!!), so that you use amrecover on those
restored vtapes. Then recover from these vtapes.  And while doing
this, you have to make sure that you do not overwrite or erase
any vtape/index/log from the current situation.  Not for the noobs!

There is work being done (but don't hold your breath on it) to allow
copies of images, together with the needed information like indexes
and so on, from one config to another config.  That would allow
to collect e.g. the level 0 images from a set of vtapes, and put
those on tape, while doing the bookkeeping, like indexes, log files
etc in the other config (without doing the backup again).

While that feature is not yet implemented, currently the best way
to do both:
 - daily to vtapes for fast and easy recovery,
 - weekly/montlyto tape for offsite storage (only level 0)
Implement it in two separate configurations.
I run a daily config to vtapes from mon-fri, and an archive config
that I run on saterday only to real LTO tapes.  That run starts
saterday early morning at 00:05 and ends somewhere in the afternoon.
It does only level 0 dumps.
It has these special parameters:
    dumpcycle 0   # this forces level 0 always
And the "global" dumptype, from which all the other dumptypes inherit
their settings, has specially set:
    record no           # do not interfere with the daily's
    skip-incr yes       # emphasize we only want full dumps
    strategy noinc      # do not even run estimates for incr. level
(The last one, makes the estimates finish much faster, as amanda will
not generate a "plan B" degraded mode with incrementals, and does not
need to know the size of them.)


--
Paul Bijnens, xplanation Technology Services        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, *
* init 0, 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>