Sponsored Content
Full Discussion: Writing tar file to tape
Top Forums UNIX for Dummies Questions & Answers Writing tar file to tape Post 302136065 by Unbeliever on Friday 14th of September 2007 10:46:58 AM
Old 09-14-2007
The tar command you are using tars the file 'output' onto your tape.

You need something like:

Code:
tar cvf /dev/rmt/0 -I ouput

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

tar to tape and back

Howdy, I'm trying to tar some directories to tape and then extract them from tape on another machine. I was hoping someone could help me with the syntax of the tar commands. Both machines are running Solaris 8. Need to get all files and directories under the following: ... (6 Replies)
Discussion started by: pmetal
6 Replies

2. UNIX for Advanced & Expert Users

tar to remote tape

I tried to buckup some oracle archive logs (from a solaris machine) to a remote tape (in a HP-UX machine). I added the solaris machine name and user to .rhosts, and i tried to use this commande : tar cvf HPhost:/dev/rmt/0mn /u01/* The probleme that it gives: HPhost:/dev/rmt/0mn : No such... (1 Reply)
Discussion started by: lasgaa
1 Replies

3. UNIX for Advanced & Expert Users

Does tar do crc checking on a tape or tar file?

Trying to answer a question about whether tar table-of-contents is a good tool for verifying tape data. (1 Reply)
Discussion started by: tjlst15
1 Replies

4. AIX

Writing in a tape drive

Hi all, I need to write on a tape drive with AIX5.3. How to know the name of this tape and what is the procedure to read and write on this tape? Regards, Tovo (2 Replies)
Discussion started by: tovohery
2 Replies

5. UNIX for Dummies Questions & Answers

Writing large files to tape

I have a zipped file that is ~ 10GB. I tried tarring it off to a tape, but I receive: tar: <filename> too large to archive. Use E function modifier. The file is stored on a UFS mount, so I was unable to use ufsdump. What other options do I have? (I don't have a local file system large... (3 Replies)
Discussion started by: FredSmith
3 Replies

6. Filesystems, Disks and Memory

Writing files from Unix to 3480 Tape

I am trying to learn what command I would need to enter to tell my very old tape writer to write a large > 210 MB file from a UNIX box to 3480 tapes. I can get a single tape to write < 210 MB but if the file is large I am not aware of what command to enter to tell it to split the input file across... (0 Replies)
Discussion started by: james.hodge@eds
0 Replies

7. UNIX for Advanced & Expert Users

tar and vdump on same tape?

Hello, This might be a dumb question, but I havent been able to find the answer anywhere. I currently have a backup script that uses 'tar' to backup some files to tape. I need to add a directory to the backup script, but I want to use 'vdump' to back it up to tape. So my question is can I... (3 Replies)
Discussion started by: xadamz23
3 Replies

8. Shell Programming and Scripting

validate tar file on tape

I've got a KSH/AIX question that I haven't been able to figure out yet. I've got a tape archive program that "tar's" data to a tape. After creating the archive, I'd like to somehow verify that the tape is actually good. So, what I'd like to do as a simple "sanity" check that I can read the tape... (9 Replies)
Discussion started by: dernsdorff
9 Replies

9. Solaris

tape tar error

Hi, I am trying to determine if a tape is full because on 2 different tapes, im receiving 2 different kind of errors: # uname SunOS # /bin/tar cvf /dev/rmt/0n /export/home a /export/home/jerry/wlserver_10.0.tar.gz 28528 tape blocks tar: write error: unexpected EOF # mt -f /dev/rmt/0n... (5 Replies)
Discussion started by: mosies
5 Replies

10. Solaris

UNIX : how can I recover a corrupt tar file from a tape?

I've a tape contains a corrupt tar file. I'm using Unix SunOS 5.5.1. So when I run this command : dd if=/dev/rmt/0 of=/tmp/outputfile.tar I get this error message : warning /pci@1f, 0/pci@1/pci@1/sunw, isptwo@4/st@4,0 (sty): Error for command : read Error Level: Fatal Requested... (2 Replies)
Discussion started by: akaderb
2 Replies
dds-dd(1)						      General Commands Manual							 dds-dd(1)

NAME
dds-dd - tool to read a dds device. SYNOPSIS
dds-dd [ -f device ] DESCRIPTION
dds-dd reads a dds tape devices (DAT). Every block is read and written to stdout. A tape with unknown block size or blocks of different size can be read. The default device is /dev/rmt0, which may be overridden with the environment variable TAPE, which in turn may be overridden with the -f device option. The device must be a character special file. OPTIONS
-f device Device of the tape archive (default is /dev/rmt0). Must be a character special file connected to a dds tape device. -V,--version Print the version number of mt-dds to stderr and exit immediately. --help print some screens of online help with examples through a pager and exit immediately. EXAMPLES
Example: Read the tape and make a listing: dds-dd | tar ft - Example: Read the tape and make a listing: dds-dd | cpio -it ENVIRONMENT
The environment variable TAPE overrides the default tape device /dev/rmt0. SEE ALSO dds2tar(1), dds2index(1), mt(1), tar(1) HISTORY
This program was created to use it in conjunction with dds2tar. AUTHOR
J"org Weule (weule@cs.uni-duesseldorf.de), Phone +49 211 751409. This software is available at ftp.uni-duesseldorf.de:/pub/unix/apollo 2.4 dds-dd(1)
All times are GMT -4. The time now is 01:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy