07-21-2004
How do I label my tapes?
Ok, this is the deal.
The backup is being made by a tar command, directly to the tape. Something like: tar cvf ./xpto /dev/tape
In this script i check the time of start and end of the script and the amount of files in each directory copied. Each of these informations are being sent to a text file wich is created with the "DayMonthYear.txt" format. Something like 01122004.txt.
Another information i would like to put in these text files is if the backup is being made to the right tape. Because the backup of Friday wouldn't be made to the Wednesday tape. Tapes' got to be chaged daily.
So aparently the trick is to know witch tape is in the drive. If i can label my tapes and then check the label in the script, I would have the problem solved.
That's it,
Thak you for all your replies,
Jorge Ferreira
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
just wanted to know the serial number of my machine E3500 with Solaris 8 installed.Does any one who what's the command that i can use when the OS is running?( not with the Banner Command!) (3 Replies)
Discussion started by: i2admin
3 Replies
2. AIX
hi
how to find ( server machine )serial number throught the command in AIX
thanks for your replay (3 Replies)
Discussion started by: chomca
3 Replies
3. Solaris
This may be an off the wall question but is there anyway in Solaris to snag the serial number of a Sun box? I'm not sure if you can do this but it would save me a long drive to the data center to get the serial number to renew support... (8 Replies)
Discussion started by: kingdbag
8 Replies
4. Solaris
Hello, I am running Solaris 9 and I need to display the serial number of my machine. How can I do this?
Here is my machine info:
SunOS birch 5.9 Generic_118558-09 sun4u sparc SUNW,Sun-Fire-V240
Thank you,
David (5 Replies)
Discussion started by: dkranes
5 Replies
5. Solaris
Hi Solarizer ;)
I have face the difficulties of gathering information about the serial number of sun machine. i think its can do so easy while the machine is just one or two. But i have to administrate hundreds of sun machine.
Any body knows how to gather this information by the command ?
... (4 Replies)
Discussion started by: tpx99
4 Replies
6. Solaris
hi experts,
hi all, need help, how to get serial number of cpu or other hardware using command?
does anybody know using what syntax?
thank you
wu (8 Replies)
Discussion started by: bucci
8 Replies
7. Linux
Hey!
I'm trying to figure out a sollution for a problem I have at my company with an Iomega MiniMax 500 GB USB disk.
If i run cat /proc/bus/usb/devices
I get this information:
T: Bus=01 Lev=02 Prnt=04 Port=00 Cnt=01 Dev#= 5 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00... (2 Replies)
Discussion started by: noratx
2 Replies
8. Solaris
Solaris8
Anyone help? (27 Replies)
Discussion started by: frustrated1
27 Replies
9. Shell Programming and Scripting
Hello folks.
Please let me understand the bind serial number. I am confuse.
13011321
---------- Post updated at 08:32 AM ---------- Previous update was at 07:55 AM ----------
Thanks problem is solved. (1 Reply)
Discussion started by: learnbash
1 Replies
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)