?
Solved

tar

Posted on 2005-04-08
1
Medium Priority
?
460 Views
Last Modified: 2010-04-21
We backup two directories and a catalogue dbd on DLT tape. The first two are ufsdumps and the third a tar.

I want to be able to forward the tape to the tarred file and extract it. I'd appreciate the command required to do this.
0
Comment
Question by:SyedHNaqvi
1 Comment
 
LVL 21

Accepted Solution

by:
tfewster earned 1000 total points
ID: 13742772
mt -f /dev/rmt/0n rewind
mt -f /dev/rmt/0n fsf 2  # "fast forward" over the first 2 EOF markers
tar -tvf /dev/rmt/0n   # Check it's the right tar archive befor extracting it with the "x" option
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month14 days, 9 hours left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question