09-18-2001
? View A Backup Tape
I AM A NEWBIE PLEASE HELP!!
IF YOU HAVE KSH YOU SHOULD USE A TAR COMMAND
HOW DO YOU VIEW A TAPE WITH JUST AN SH.
MY MIS CRASHED AND I KEEP GETTING AN ERROR MESSAGE
CANNOT FORK: TOO MANY PROCESSES
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Does anyone know the UNIX command to view and/or erase data that is on an 8-track tape? Thanks for your help! Linda (13 Replies)
Discussion started by: lfulton
13 Replies
2. UNIX for Dummies Questions & Answers
I have a script which runs overnight to backup a database into a tar file. I then gzip the file and send it off to a tape device.
The command I'm using for the tape backup is
tar cvf /dev/rmt/0n /var/dbbackup/${FILE}.gz
I thought the n meant no rewind so the next file is copied to tape... (4 Replies)
Discussion started by: mattd
4 Replies
3. Solaris
hello everybody...
i need some help ...
so... i need to do some backups from one solaris system and i dont know whitch is the best solution....to use tar or ufsdump...?
...and .... how can i restore files from tape if on the tape i have 2 sessions....how can i access second session....?
enough... (4 Replies)
Discussion started by: nich007
4 Replies
4. UNIX for Dummies Questions & Answers
Hi there: I'm new here
Can anyone help me:
I have DS15 Alpha server : Unix 5.1B
Now i need to connect a DLVT VS80 1U Rackmount Tape Drive unit.
What is the exact comman to mount the DLTape IV??
How do i make backuo @ copy file to the tape?
Thanx to all (0 Replies)
Discussion started by: ayzeayem
0 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I performed backup on tape and I want to append more files to my previous backup on the same backup tape. But before I do that I need to know the backup file size of the first backup I performed so that I know the available size on the backup tape. Can someone help me what command I will use... (0 Replies)
Discussion started by: ayhanne
0 Replies
6. SCO
I am trying to make a full backup of my system using the cpio command. The Tape Unit is a SCSI DDS.
The process started fine but after about 30 minutes, it just stopped and showed the following message:
1755 Signal 31 - Core dumped
Any idea of what is causing this and how to fix it?
... (4 Replies)
Discussion started by: zionpc
4 Replies
7. UNIX for Dummies Questions & Answers
on Darwin terminal how do i do it? (0 Replies)
Discussion started by: cleansing_flame
0 Replies
8. Red Hat
I'm using tar and so far so good, but how can I view ALL files without having to fast forward and rewind the tape? Let's say I append 100 files onto the tape. Having to fast forward 100 times until I find the file I want is kinda tedious. (3 Replies)
Discussion started by: sdotsen
3 Replies
9. AIX
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... (1 Reply)
Discussion started by: optimum
1 Replies
10. UNIX for Dummies Questions & Answers
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)
Discussion started by: optimum
20 Replies
LEARN ABOUT CENTOS
th_get_mode
th_get_pathname(3) C Library Calls th_get_pathname(3)
NAME
th_get_pathname, th_get_uid, th_get_gid, th_get_mode, th_get_crc, th_get_size, th_get_mtime, th_get_devmajor, th_get_devminor,
th_get_linkname - extract individual fields of a tar header
TH_ISREG, TH_ISLNK, TH_ISSYM, TH_ISCHR, TH_ISBLK, TH_ISDIR, TH_ISFIFO - determine what kind of file a tar header refers to
TH_ISLONGNAME, TH_ISLONGLINK - determine whether the GNU extensions are in use
SYNOPSIS
#include <libtar.h>
char *th_get_linkname(TAR *t);
char *th_get_pathname(TAR *t);
mode_t th_get_mode(TAR *t);
uid_t th_get_uid(TAR *t);
gid_t th_get_gid(TAR *t);
int th_get_crc(TAR *t);
off_t th_get_size(TAR *t);
time_t th_get_mtime(TAR *t);
major_t th_get_devmajor(TAR *t);
minor_t th_get_devminor(TAR *t);
int TH_ISREG(TAR *t);
int TH_ISLNK(TAR *t);
int TH_ISSYM(TAR *t);
int TH_ISCHR(TAR *t);
int TH_ISBLK(TAR *t);
int TH_ISDIR(TAR *t);
int TH_ISFIFO(TAR *t);
int TH_ISLONGNAME(TAR *t);
int TH_ISLONGLINK(TAR *t);
VERSION
This man page documents version 1.2 of libtar.
DESCRIPTION
The th_get_*() functions extract individual fields from the current tar header associated with the TAR handle t.
The TH_IS*() macros are used to evaluate what kind of file is pointed to by the current tar header associated with the TAR handle t.
The TH_ISLONGNAME() and TH_ISLONGLINK() macros evaluate whether or not the GNU extensions are used by the current tar header associated
with the TAR handle t. This is only relevant if the TAR_GNU option was used when tar_open() was called.
SEE ALSO
tar_open(3)
University of Illinois Jan 2001 th_get_pathname(3)