tcopy(1) User Commands tcopy(1)NAME
tcopy - copy a magnetic tape
SYNOPSIS
tcopy source [destination]
DESCRIPTION
The tcopy utility copies the magnetic tape mounted on the tape drive specified by the source argument. The only assumption made about the
contents of a tape is that there are two tape marks at the end.
When only a source drive is specified, tcopy scans the tape, and displays information about the sizes of records and tape files. If a des-
tination is specified, tcopy makes a copies the source tape onto the destination tape, with blocking preserved. As it copies, tcopy pro-
duces the same output as it does when only scanning a tape.
The tcopy utility requires the use of Berkeley-compatible device names. For example,
example% tcopy /dev/rmt/1b /dev/rmt/2b
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWesu |
+-----------------------------+-----------------------------+
SEE ALSO mt(1), ioctl(2), attributes(5)NOTES
tcopy will only run on systems supporting an associated set of ioctl(2) requests.
SunOS 5.10 10 Mar 2000 tcopy(1)
Check Out this Related Man Page
TCOPY(1) BSD General Commands Manual TCOPY(1)NAME
tcopy -- copy and/or verify mag tapes
SYNOPSIS
tcopy [-cvx] [-s maxblk] [src [dest]]
DESCRIPTION
The tcopy utility is designed to copy magnetic tapes. The only assumption made about the tape layout is that there are two sequential EOF
marks at the end. By default, the tcopy utility will print information about the sizes of records and files found on the /dev/sa0 tape, or
on the tape specified by the src argument. If a destination tape is also specified by the dest argument, a copy of the source tape will be
made. The blocking on the destination tape will be identical to that used on the source tape. Copying a tape will yield the same program
output as if just printing the sizes.
The following options are available:
-c Copy src to dest and then verify that the two tapes are identical.
-s maxblk Specify a maximum block size, maxblk.
-v Given the two tapes src and dest, verify that they are identical.
-x Output all informational messages to the standard error instead of the standard output. This option is useful when dest is given
as /dev/stdout.
SEE ALSO mt(1), mtio(4)HISTORY
The tcopy command appeared in 4.3BSD.
BUGS
Writing an image of a tape to a file does not preserve much more than the raw data. Block size(s) and tape EOF marks are lost which would
otherwise be preserved in a tape-to-tape copy.
End of data (EOD) is determined by two sequential EOF marks with no data between them. There used to be old systems which typically wrote
three EOF's between tape files. The tcopy utility will erroneously stop copying early in this case.
When using the copy/verify option -c, tcopy does not rewind the tapes prior to start. A rewind is performed after writing, prior to the ver-
ification stage. If one does not start at the beginning-of-tape (BOT) then the comparison may not be of the intended data.
BSD December 20, 2006 BSD
I have been attempting to read a DLT tape, but encountered problems. I have applied patches from SUN that 'resolve' known problems with tape reading etc...but still the error!
Techsupport reckon that the data/tape is corrupt. I would like to think they aren't.
Are there any issues with... (10 Replies)
I have a dlt tape drive on a AIX 5.1 machine, I have no idea how to backup to this thing, would I just mount it can copy over to it, not sure the commands or where to begin? Can anyone help, or point me to documentation.... (14 Replies)
I was recently given the responsibility of the unix box at our work. Without much training, I now have to go back and restore a file from tape. I'm having some trouble with it. I'm getting an error with the blocksize.
The part of the script that does the tar looks like this:
tar cvfX... (11 Replies)
hi,
need your help mentors I have external SCSI tape DRIVE COmpaq 15/30 GB DLT and I dont know how to install these and how to view if it is working. I'm also have another disk taken form my old sun and I want to use these also but my problem how I able to mount.
hope anyone can help me
... (9 Replies)
I have AIX 5.1
This may sound like a really dumb question but I have never done this before.
I would like to pull a file off a backup tape and put back on the AIX
is this as simple as as doing a
mount /dev/rmt1
then the file name that is on the tape /dump/rpt/xxxxxx
Do I just copy it... (14 Replies)
I need to transfer software off a SCO OpenServer 5.0.5 server. I can not seem to read this server's tape on my other server since the tape drive (IBM Gen 5 DAT 72GB) will continuosly "eject" this DAT 8 tape. I have been able to 'tarball' most of the smaller directories with success and... (11 Replies)
Hello everyone,
I am having difficulties restoring data from a tape and I was hoping someone could help me. Here it goes.
Whenever I type tar -xvf /dev/nst0, only the first file on the tape is restored which means that in the particular tape there are multiple tar files.
Can someone please... (10 Replies)
Hi everyone.
Im new to Sun Solaris or the Unix environment. My only background is the DOS command in windows and a little bit of c++ programming. I always worked with troubleshooting hardware and software issues with windows.
Now that I need to configure tape drives using sun solaris, I had... (11 Replies)
Hi,
Does anyone know if it is possible to tar files larger than 2GB? The reason being is they want me to dump a single file (which is around 20GB) to a tape drive and they will restore it on a Solaris box. I know the tar have a limitation of 2GB so I am thinking of a way how to overcome this.... (11 Replies)
I have an AIX server with a tape Library residing on it. I intend to restore the data backed up to the tape on Red Hat Enterprise Linux 5.
First , i would want to view the contents of the tape on RHEL 5(x86) but seems to be giving an input output error.
I observed that if i backup to tape on... (20 Replies)
Hi folks, i encountered an issue, no alarm is triggered when the tape is full on the Solaris server.
The tape is 72GB.
There is an alarm generating shell script in the server, which will trigger an alarm when it detects the tape is full.
Hence, I will receive SMS and email alerts.
This has been... (10 Replies)
Hello.
My name is Alex and I am new to the UNIX environment.
One of the things that I do on a daily basis is I perform backups to tape on a Sun Ultra 25. I use DAT72 tape.
The tape that is currently in the tape drive has about five database backups within it already. I was just hoping... (19 Replies)
I have used ioscan -fnC tape and the system identified the tape drive. what is the command to show a listing of what is on the tape? I have used ls /dev/rmt/rmt0 to no avail. can anyone help?
Thanks in advance (10 Replies)
Hello,
I have a legacy system that is running on SCO OpenServer 5.0.6, and the hardware is becoming a little sketchy. I replaced the hard drive about a year ago, and was able to come back from a tape backup of my entire system. I have been successful with building a VM with VMware Workstation,... (42 Replies)