Amanda-Users

Re: External HD as backup yapes

2006-03-18 18:23:24
Subject: Re: External HD as backup yapes
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Nathanel <nathanels AT biocontrol.co DOT il>
Date: Sat, 18 Mar 2006 23:16:25 +0100
Nathanel schreef:
I would like to setup 3 external HD (USB) as backup tapes.

What should be done to setup this setting?

First read:

  http://wiki.zmanda.com/index.php/File_driver

When choosing a filesystem, formatting them with ext3 is just fine.
Many of them come preformatted with NTFS -- unusable under Linux.
If the drives need to be shared with a PC, then vfat is an option
too (but then you need also use Amanda 2.5.0 with tape-splitting
feature to avoid bumping into the 4 Gbyte filesize limit of vfat).

I could add something more about how to rotate 2 or 3 external disks
using the scheme there.

I can think of two ways:
Each of the disks contains e.g. 7 slots (let's you rotate them
one each week):
   - disk 1: slot1 .. slot7
   - disk 2: slot8 .. slot14
   - disk 3: slot15 .. slot21

Mount the disks (can be done automatically) under /media/amandavtapes,
so that the slots can be found as /media/amandavtapes/slot1 etc.

When using chg-disk, you have to create the vtape tree on the
internal hard disk, but instead of creating subdirectories named "slot1"
you make them soft links to /media/amandavtapes/slot1 etc.
Chg-disk uses a softlink "data" pointing to the current slot too. So
this means that amanda follows two symlinks now to get to the external
disk.

When using chg-multi, you can set up the /media/amandavtapes/slotX
immediately in the chg-multi.conf file.


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