Amanda-Users

Re: Trying to figure out a rational setup

2004-05-18 17:54:47
Subject: Re: Trying to figure out a rational setup
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: amanda-users AT amanda DOT org
Date: Tue, 18 May 2004 23:43:57 +0200
Stefan G. Weichinger wrote:

Setup a config with device=<your-physical-changer>, define a DLE
pointing at your vtapes-dir, let the dumptype contain "dumpcycle 0",
which will make it do always full dumps.

Check fillage, if it is close to tapesize, run amdump.


Don't forget that such a setup makes restores a PITA:
First you make "vtapes", just a set of large files with a
strange name.  When you have collected enough of these files,
and make a backup with amdump, and then you erase those "vtapes",
and together probably their indexes (or jump through hoops to
avoid this).

Now you don't have a real index of the files on tape, only a list
of hostnames-filesystems; even the dates are missing (because
you put a lot of days on one tape).

To restore, you first have to restore the image from tape,
to get the "vtape" back, then you have to run restore again from
that "vtape".
In real life, you probably need to try a few times, because you're
just guessing on which tape that file actually is.
Those vtapes are probably quiet large.  First wait 2 hours for
one 40 GB tape to read to disk, and then again an hour or so
to restore from that vtape. And again, if you mistyped the name
of the file, or if you want to see if the file was there a day
earlier.

Doing a backup to holdingdisk instead of vtapes avoids this
backup-of-backup-images; amflush migrates the images from disk
to tape instead, and keeps the indexes up to date.

While creating backups should be easy, *restoring* from backups
should be even more straightforward: it's then that you're working
under high pressure (disk crash?  important file erased?  agry
users waiting etc.)

--
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>