10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I need some help writing a perl script to tar all log file to a directory and then delete the log files. Can some one please help me on this? I m Not very good with perl scripting...
Thanks
KK (4 Replies)
Discussion started by: karthikk0508
4 Replies
2. Red Hat
Hi Folks,
Looking for some assistance here on a Dell server connected to a Dell tape robot with Redhat 5.4 and Netbackup 6.5.
Netbackup thinks the tapes are all present and working, but they are not - we lost the internal encryption keys earlier but think that they are reinstated as the... (0 Replies)
Discussion started by: gull04
0 Replies
3. Solaris
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
4. UNIX for Advanced & Expert Users
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
5. UNIX for Advanced & Expert Users
Hi,
I have tar: tape blocksize error when launching
# gunzip < TierDB.tar.gz |tar -xvf /data/ora/DREC
tar: tape blocksize error
Can you please help me ? It is urgent.
Many thanks. (1 Reply)
Discussion started by: big123456
1 Replies
6. Filesystems, Disks and Memory
Can I back up all the files I work with each day using tar? (2 Replies)
Discussion started by: jo calamine
2 Replies
7. UNIX for Advanced & Expert Users
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
8. SCO
i have an ibm machine with dds4 drive running sco. i bought new hp dds4 tape for my back-up. the new tapes are not being read by the system, it says tape error, no such device. i've already clean the drive several times but still the same error occur. i've tried to use the same tape on our windows... (3 Replies)
Discussion started by: yackim
3 Replies
9. UNIX for Advanced & Expert Users
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
10. UNIX for Dummies Questions & Answers
Hi guys and gir.. emm
hey guys! (only kidding girls)
I have been asked to provide a tutorial on how to perform an automatic back up (to tape) for 23 sun sparc workstations networked using an ethernet setup under the UNIX operating system.
Sounds easy enough to you... I've never ever seen... (4 Replies)
Discussion started by: maross
4 Replies
TP(1) General Commands Manual TP(1)
NAME
tp - manipulate tape archive
SYNOPSIS
tp [ key ] [ name ... ]
DESCRIPTION
Tp saves and restores files on DECtape or magtape. Its actions are controlled by the key argument. The key is a string of characters con-
taining at most one function letter and possibly one or more function modifiers. Other arguments to the command are file or directory
names specifying which files are to be dumped, restored, or listed. In all cases, appearance of a directory name refers to the files and
(recursively) subdirectories of that directory.
The function portion of the key is specified by one of the following letters:
r The named files are written on the tape. If files with the same names already exist, they are replaced. `Same' is determined by
string comparison, so `./abc' can never be the same as `/usr/dmr/abc' even if `/usr/dmr' is the current directory. If no file
argument is given, `.' is the default.
u updates the tape. u is like r, but a file is replaced only if its modification date is later than the date stored on the tape;
that is to say, if it has changed since it was dumped. u is the default command if none is given.
d deletes the named files from the tape. At least one name argument must be given. This function is not permitted on magtapes.
x extracts the named files from the tape to the file system. The owner and mode are restored. If no file argument is given, the
entire contents of the tape are extracted.
t lists the names of the specified files. If no file argument is given, the entire contents of the tape is listed.
The following characters may be used in addition to the letter which selects the function desired.
m Specifies magtape as opposed to DECtape.
0,...,7 This modifier selects the drive on which the tape is mounted. For DECtape, x is default; for magtape `0' is the default.
v Normally tp does its work silently. The v (verbose) option causes it to type the name of each file it treats preceded by the
function letter. With the t function, v gives more information about the tape entries than just the name.
c means a fresh dump is being created; the tape directory is cleared before beginning. Usable only with r and u. This option is
assumed with magtape since it is impossible to selectively overwrite magtape.
i Errors reading and writing the tape are noted, but no action is taken. Normally, errors cause a return to the command level.
f Use the first named file, rather than a tape, as the archive. This option currently acts like m; i.e. r implies c, and neither
d nor u are permitted.
w causes tp to pause before treating each file, type the indicative letter and the file name (as with v) and await the user's
response. Response y means `yes', so the file is treated. Null response means `no', and the file does not take part in whatever
is being done. Response x means `exit'; the tp command terminates immediately. In the x function, files previously asked about
have been extracted already. With r, u, and d no change has been made to the tape.
FILES
/dev/tap?
/dev/rmt?
SEE ALSO
ar(1), tar(1)
DIAGNOSTICS
Several; the non-obvious one is `Phase error', which means the file changed after it was selected for dumping but before it was dumped.
BUGS
A single file with several links to it is treated like several files.
Binary-coded control information makes magnetic tapes written by tp difficult to carry to other machines; tar(1) avoids the problem.
7th Edition April 29, 1985 TP(1)