Amanda-Users

Re: How to restore a raw device ?

2002-11-27 05:21:47
Subject: Re: How to restore a raw device ?
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: amanda-users AT amanda DOT org
Date: Wed, 27 Nov 2002 10:49:03 +0100

On Tue, Nov 26, 2002 at 06:44:14PM -0800, kh teoh wrote:

I'm using amanda-2.4.3 running on Redhat 7.1(2.4.9). I
managed to backup a raw device(/dev/sda13) using DUMP
but how do I restore it ? That raw device is not
mounted to any directory, it is reserved for Informix
use.

I'm not an Informix user, but DUMP is meant for Unix-filesystems IIRC,
not Informix databases.  Are you sure the backups contain useful
data? Did DUMP never complain? Is the size of the backupimage of the device what you would expect (uncompressed - compressed)?

The way to backup a raw device with amanda is using a GNUTAR-wrapper
script that does a "dd" instead of gnutar when given the device...
(I assume, you could just as wel use DUMP wrapper script and rename
your dump program and replace it with this script.)

--
Paul Bijnens, Xplanation                           Tel  +32 16 40.51.40
Interleuvenlaan 15 H, B-3001 Leuven, BELGIUM       Fax  +32 16 40.49.61
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>