Amanda-Users

Re: Making a copy/image of the backed up data

2003-08-26 08:53:34
Subject: Re: Making a copy/image of the backed up data
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Simon Frettloeh <sifr AT aifb.uni-karlsruhe DOT de>
Date: Tue, 26 Aug 2003 14:44:08 +0200
Simon Frettloeh wrote:

Is there a way of creating a copy or image file of the data, that's already being backed up to tape?

We've already got Amanda running on our system with two tape devices
running well. We'd like to produce a (encrypted) copy of the backed up


Would this work?

  while dd bs=32k if=/dev/nst0 of=/dev/nst1
  do :
  done

or with encryption:

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

Whatever you use for encryption, the script could be changed of course.

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


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