niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » Linux » Distributions » Debian
Using tar to extract files from tape
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
Author Message
Rob Hensley
*nix forums beginner


Joined: 06 Jun 2005
Posts: 2

PostPosted: Thu Jul 13, 2006 5:40 pm    Post subject: Re: Using tar to extract files from tape Reply with quote

On Thu, 13 Jul 2006, Ron Johnson wrote:

Quote:
gpgkeys: HTTP fetch error 7: couldn't connect: eof
Haines Brown wrote:
I asked this question before, but received no answer. Sorry to
post it again.

The question is a simple one: can I use tar to extract a file
from a tape backup made with a backup application?

Depends on the format. "Tape ARchive" most probably doesn't
understand proprietary formats...


Yep, what program did you use to make the backup? For me I have a cron job
that runs nightly and uses tar to back things up. The command I use is...

tar --totals --label="System Backup For `date -d yesterday +%m-%d-%Y`"
-cvf /dev/tape /

Then when I want to restore something off the tape (say my home
directory), I'd do the following...

tar xvMf /dev/nst0 home/zoid

This will restore my home directory to whatever directory I am currently
in. Maybe give that a shot and see how it works.

Quote:
On a sarge machine, I have a WangDAT 3100 tape drive from the
late 1990s. The tape from which I would like to recover certain
files was made back in 1998 with bru 2000/xbru.
[snip]

When I tried the tvf options for tar, I get the same result.

How does one extract the *xyz files from the tape?

You don't mention having tried Googling for BRU?

http://www.tolisgroup.com/products/
http://www.tolisgroup.com/about/contactus.html

--
Ron Johnson, Jr.
Jefferson LA USA

Is "common sense" really valid?
For example, it is "common sense" to white-power racists that
whites are superior to blacks, and that those with brown skins
are mud people.
However, that "common sense" is obviously wrong.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

------------ Output from gpg ------------
gpg: Signature made Thu Jul 13 12:07:02 2006 EDT using DSA key ID BDFB5E67
gpg: requesting key BDFB5E67 from hkp server keyserver.cryptnet.net
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
gpg: Can't check signature: public key not found

--
Rob Hensley
hensleyrob@gmail.com
http://www.robhensley.com


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Back to top
Justin Piszcz
*nix forums Guru Wannabe


Joined: 22 Feb 2005
Posts: 110

PostPosted: Thu Jul 13, 2006 4:10 pm    Post subject: Re: Using tar to extract files from tape Reply with quote

On Thu, 13 Jul 2006, Alec Berryman wrote:

Quote:
Haines Brown on 2006-07-13 09:48:02 -0400:

I tried:

# tar xvf /dev/st0 *.xyz
tar: /dev/st0: Cannot read: Input/output error
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now

When I tried the tvf options for tar, I get the same result.

How does one extract the *xyz files from the tape?

I don't know much about tape drives, but I would assume if you used dd
to copy the information on the tape to a file on your disk, you'd be
able to read it like a normal tar file.

Google this issue, you have to use kernel 2.2 or set the block size to

64kb or some weird number to get the data off of the tape.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Back to top
Ron Johnson
*nix forums Guru


Joined: 19 Feb 2005
Posts: 1190

PostPosted: Thu Jul 13, 2006 4:10 pm    Post subject: Re: Using tar to extract files from tape Reply with quote

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Haines Brown wrote:
Quote:
I asked this question before, but received no answer. Sorry to
post it again.

The question is a simple one: can I use tar to extract a file
from a tape backup made with a backup application?

Depends on the format. "Tape ARchive" most probably doesn't
understand proprietary formats...

Quote:
On a sarge machine, I have a WangDAT 3100 tape drive from the
late 1990s. The tape from which I would like to recover certain
files was made back in 1998 with bru 2000/xbru.
[snip]

When I tried the tvf options for tar, I get the same result.

How does one extract the *xyz files from the tape?

You don't mention having tried Googling for BRU?

http://www.tolisgroup.com/products/
http://www.tolisgroup.com/about/contactus.html

- --
Ron Johnson, Jr.
Jefferson LA USA

Is "common sense" really valid?
For example, it is "common sense" to white-power racists that
whites are superior to blacks, and that those with brown skins
are mud people.
However, that "common sense" is obviously wrong.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEtm+mS9HxQb37XmcRAix8AJ0bka3/3MOvVluYoeRpImYBKyVXFwCeNipl
yNatw5wUUlUMZsp3JQSZf7g=
=TNZs
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Back to top
Alec Berryman
*nix forums beginner


Joined: 15 Mar 2005
Posts: 19

PostPosted: Thu Jul 13, 2006 2:30 pm    Post subject: Re: Using tar to extract files from tape Reply with quote

Haines Brown on 2006-07-13 09:48:02 -0400:

Quote:
I tried:

# tar xvf /dev/st0 *.xyz
tar: /dev/st0: Cannot read: Input/output error
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now

When I tried the tvf options for tar, I get the same result.

How does one extract the *xyz files from the tape?

I don't know much about tape drives, but I would assume if you used dd
to copy the information on the tape to a file on your disk, you'd be
able to read it like a normal tar file.
Back to top
Haines Brown
*nix forums Guru Wannabe


Joined: 07 Mar 2005
Posts: 124

PostPosted: Thu Jul 13, 2006 2:20 pm    Post subject: Using tar to extract files from tape Reply with quote

I asked this question before, but received no answer. Sorry to post it
again.

The question is a simple one: can I use tar to extract a file from a
tape backup made with a backup application?

On a sarge machine, I have a WangDAT 3100 tape drive from the late
1990s. The tape from which I would like to recover certain files was
made back in 1998 with bru 2000/xbru.

# mt -f /dev/st0 status
drive type = Generic SCSI-2 tape
drive status = 318767616
sense key error = 0
file number = -1
block number = -1
Tape block size 512 byte. Density code 0x13 (DDS (61000 bpi)).
Soft error count since last status = 0
General status bits on (1010000); ONLINE IM_REP_EN

I tried:

# tar xvf /dev/st0 *.xyz
tar: /dev/st0: Cannot read: Input/output error
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now

When I tried the tvf options for tar, I get the same result.

How does one extract the *xyz files from the tape?

--

Haines Brown



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
The time now is Thu Dec 04, 2008 12:35 am | All times are GMT
navigation Forum index » *nix » Linux » Distributions » Debian
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Need help getting Sony DAT tape drive to work on Irix 6.5 trebor SGI/IRIX 1 Sun Apr 13, 2008 3:19 am
No new posts FAQ 4.34 How do I extract selected columns from a string? PerlFAQ Server Perl 0 Fri Jul 21, 2006 7:03 am
No new posts tape drive sharing shuklameeta@yahoo.co.in Solaris 6 Thu Jul 20, 2006 10:32 am
No new posts howto log in from one bsd-server to another and move file... Tobias Steer FreeBSD 3 Thu Jul 20, 2006 10:02 am
No new posts Binary Files Ronin C++ 8 Wed Jul 19, 2006 3:12 pm

Fast Loans | Mobile Phone | Credit Report | Credit Cards UK | Free phpBB forum
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2100s ][ Queries: 20 (0.1160s) ][ GZIP on - Debug on ]