Simon Frettloeh wrote:

If I can read this properly, you suggest to make the copy of the image to the second tape drive. But we need both tape drives for backup reasons. The image should only be dumped to a file. But I think, there would be the possibility to mount a image file as device and tell dd to copy the data to that one :-) Problem could be the variable size of this image device. But thnx a lot for your idea!

If you want the images from tape simply dumped to a file, than why don't you use "amrestore"? amrestore has options to specify what kind of image you want (compressed/uncompressed, with/without amanda header). See man page. Encrypting it and putting it on another tape, can then be done using gpg and dd.

On Tue, 26 Aug 2003, Paul Bijnens wrote:
or with encryption:

  while dd ibs=32k if=/dev/nst0 | encrypt | dd obs=32k of=/dev/nst1
  do :
  done

Had a misty day yesterday (misty in my head). The idea is nice, but it is not as simple as above. Now the while loop tests for successful writing to tape, instead of reading from the source tape until EOT. A real life script would be much more complicated... Just forget that one.

Maybe there is some elegant solution using RAIT (never used it;
never done it).

But I still believe there is more music in a combination of RAIT with a tape and a file driver. If I have some more time, I really should test these features out.

--
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:  [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          *
***********************************************************************




Reply via email to