Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Sep 1997 13:36:10 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Gianmarco Giovannelli <gmarco@giovannelli.it>
Cc:        questions@FreeBSD.ORG
Subject:   Re: a c at the place of x (tar error)
Message-ID:  <19970903133610.20557@lemis.com>
In-Reply-To: <3.0.3.32.19970902224720.007e6b50@giovannelli.it>; from Gianmarco Giovannelli on Tue, Sep 02, 1997 at 10:47:20PM %2B0200
References:  <3.0.3.32.19970902224720.007e6b50@giovannelli.it>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 02, 1997 at 10:47:20PM +0200, Gianmarco Giovannelli wrote:
>
> I have done an error with a tape with a tar backup on it.
> I want to restore a lot of data but instead of the x (xzv) I used the c
> (czv) as option ...

For the next time: set write protect.

> Now I am not able to restore anything from this tape even if I suddenly
> break the wrong command... (so a lot of data are still on the tape..). May
> I do something to recover at least some files ?

It's a problem.  Even though you stopped the command quickly, you have
written a partial archive, followed by two tape marks.  The tape
driver will not skip past these marks, which signify that nothing more
is present on the tape.

On the other hand, it's obvious that there are exceptions to this
rule.  I'm copying -hackers on this one; possibly somebody will
consider it a good idea to have an exceptional way of skipping past
the tape marks.

Greg




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970903133610.20557>