Re: Restoring from tapes

2006-05-09 Thread Olivier Nicole
> We have a new Solaris server that can be connected to the tape drive
> as well.  Should I install Amanda server on that new server √ to
> prepare for a disaster on the main Amanda server?


You got a lot of information in Paul's reply.

I should add to that:

> Some people rsync/ftp the config/log/index files to a different
> server after running amdump.

DO IT. I also email to myself the contents of tapelist and amadmin
config export. I put all that in a script that I run after each amdump
or amflush. So I know at any time what I got on what tape and what is
the next tape to use.

> Or create CD with the Amanda binaries, gzip, gnutar, the version of dump
> that you used etc. that can be used in emergencies.

I created a version of amrestore that is statically linked (so it can
work even from simgle user mode, without /usr mounted) that uses a
local (/bin) copy of gtar and gzip. So even if I only have the /
partition I can restore stuff.

A couple of personnal recepies:

recover / partition of Amanda server
https://wwws.cs.ait.ac.th/amanda/recoveremail.txt

recover /usr partition on Amanda server
https://wwws.cs.ait.ac.th/amanda/recoveremail2.txt

(Yes I had both case in the last part 6 months).

Best regards,

Olivier



Re: Restoring from tapes

2006-05-09 Thread Paul Bijnens

gil naveh schreef:

hi,
We have a Solaris server that runs multiple applications including 
Amanda server.
This server is connected to a tape drive were the backup files are being 
stored (by Amanda).


So far, data is stored and successfully recovered from the tapes. 
However, what can be done in case the Amanda server is crushed? Are 
there indexes on the server that enables the restoration or can I 
restore the files from a different server?

What is the best practice to prepare for such event?

We have a new Solaris server that can be connected to the tape drive as 
well.
Should I install Amanda server on that new server – to prepare for a 
disaster on the main Amanda server?

Any suggestions comments are mostly welcome.
Many thanks,
gil



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


Restoring with amanda utilities is easier, but Amanda utilities
are not necessary. You should it easy for yourself.

Make the DLE's that contains the amanda binaries and the config,
log and index files not too large, making it quicker to restore those.

Do not use "tape_splitsize" on that DLE.

Do not encrypt this DLE.

Maybe even avoid compression on that DLE  (when gzip is not
part of a simple OS on your hardware -- e.g. gzip is not in Solaris)

Some people rsync/ftp the config/log/index files to a different
server after running amdump.

Or create CD with the Amanda binaries, gzip, gnutar, the version of dump
that you used etc. that can be used in emergencies.

Print out a paper label (with the "lbl-templ" tapetype parameter) that
contains an overview of the host/dle/level etc of the dumps on that
tape, and store that with the tapes.

Not only the server can fail, the tape drive can fail too.  Do you
have a spare tapedrive?  Or can you quickly get one?

Note that some essential information is not included in an Amanda 
backup:  how did you partition the disk?  How large? What filesystem?

What options on the filesystems?  Volume manager etc.
You'll need that info to do a bare metal restore.

Last:  train a restore -- the ringing telephones of angry users as
background noise is not the ideal environment to study the manuals
of your OS and Amanda.


--
Paul Bijnens, XplanationTel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax  +32 16 397.512
http://www.xplanation.com/  email:  [EMAIL PROTECTED]
***
* 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  *
***


Restoring from tapes

2006-05-09 Thread gil naveh
hi,  We have a Solaris server that runs multiple applications including Amanda  server.  This server is connected to a tape drive were the backup files are being  stored (by Amanda).So far, data is stored and successfully recovered from the tapes. However, what  can be done in case the Amanda server is crushed? Are there indexes on the  server that enables the restoration or can I restore the files from a different  server?  What is the best practice to prepare for such event?We have a new Solaris server that can be connected to the tape drive as well.  Should I install Amanda server on that new server – to prepare  for a disaster on the main Amanda server? Any suggestions comments are mostly welcome.  Many thanks,  gil