Amanda-Users

Re: Restore from tape (not using Amanda) syntax

2002-09-25 10:03:57
Subject: Re: Restore from tape (not using Amanda) syntax
From: Frank Smith <fsmith AT hoovers DOT com>
To: Gordon Cormack <gcormack AT powerserve.com DOT au>, amanda-users AT amanda DOT org
Date: Wed, 25 Sep 2002 08:42:07 -0500
--On Wednesday, September 25, 2002 21:38:55 +1000 Gordon Cormack <gcormack AT 
powerserve.com DOT au> wrote:

Hi Peoples,

I'm trying to dump from an Amanda tape onto the hard-drive by not using
Amanda. This is probably a "you don't know how to use tar properly"
question but:

I'm obviously doing something wrong here cause the command:
        #dd if=/dev/rmt/0n bs=32k skip=1 | /usr/local/bin/tar -cv -f
/export/output.tar
        /usr/local/bin/tar: Cowardly refusing to create an empty archive

The 'c' option to tar means 'create'.  You need to extract so use 'x'
instead.

Frank


The tape only has about 2GB of compressed data on it so it's not huge...


Any ideas?

Thanks,
Gordon.




--
Frank Smith                                                fsmith AT hoovers 
DOT com
Systems Administrator                                     Voice: 512-374-4673
Hoover's Online                                             Fax: 512-374-4501