I have this old server onto which i needed to list the content of a tape. This is a SCO box (SCO_SV 3.2 5.0.6 i386) and backup was done using cpio.
I am not familiar with cpio and sco...but I remember doing a restore waaaayyyyy long ago and these are the commands i used to prep and list the content
If i remembered correctly, the cpio -ivt would "list" the tape content. But all i get is the "1 blocks" answer...
Is it, because there is nothing on the tape? Any other way i can "list" the content?
Hi i am using HPUX
and i want to know wht is the command to see the listing from the tape device..
i have taken the backup
using cpio -ocvB>/dev/rmt/0m
while seeing the listing using
cpio -itvB</dev/rmt/0m
it is not showing the listing giving message -c option sd be there if i put -c... (1 Reply)
HI All
I have created the bootable recovery tape using the ignite command make_tape_recovery, I need help for the command to list the content recorded in that tape.
Regards,
Gege:confused: (1 Reply)
Hi,
I use following command to restore data from my cpio tape archive:
$cpio -icvd < /dev/rct0
But this'll restore all tape contents to the current path, what if I want only selected files from the tape, suppose I want
/home/compdir/home2/Rev83/data/PL/01/*.*
files to be restored... (8 Replies)
I apologize in advance if someone else has posted a similar question and I overlooked the answer in the forums, so here goes.
i'm using cpio to retrieve data from a tape and the switches i'm using are
cpio -AvicdumkB -I/dev/rct0
now the data i'm trying to restore is a specific couple of... (5 Replies)
Thanks for any insights you might have...
I have a RH8 system setup with a DAT drive.
I have a AIX tape that was made using cpio.
Bottom line is I need to read the AIX tape into the RH box.
I was able to do cpio -itv --no-absolute-filenames < /dev/st0 and read the table of contents.
... (0 Replies)
Hi,
I was wondering, If I take a backup using cpio to tape from UNIX, can I extract data on windows box using cpio for windows? Anybody ever do this?
Thanks. (1 Reply)
Hi all,
I've got two HP machines running HP-UX 11.31 and would like to remotely backup one server onto another server's tape unit using the cpio command.
The two servers use a secured communication channel, i.e ssh.
Kindly help,
Koketso (1 Reply)
Hi, AIXers :)
Recently i'm playing around with cpio command, when i try to list out content from LTO2 Tape media using
command:
#cpio -itvc < /dev/rmt1
it's stopped at particular path
100777 root 1042591 Mar 24 10:09:05 2012 /home/uv/bin/usd
and there was an error thrown out:
... (2 Replies)
Hi,
We are taking our filesystem backup having size of 1.3 TB on LTO5 catridges using the following command
find * -print|backup -ivf '/dev/rmt0' '-U'
i.e backup byname and it took about 6.5 Hours to complete When we are listing same tape contents using the following command
restore... (1 Reply)
Hi,
We have backup on LTO-3 tape it was taken from windows via windows backup utility,
now the issue is that we want to list the content of tape in aix 6.1. Kindly help.
Regards
Salman (3 Replies)
Discussion started by: salmanraza
3 Replies
LEARN ABOUT LINUX
mt-gnu
MT(1) General Commands Manual MT(1)NAME
mt - control magnetic tape drive operation
SYNOPSIS
mt [-V] [-f device] [--file=device] [--rsh-command=command] [--version] operation [count]
DESCRIPTION
This manual page documents the GNU version of mt. mt performs the given operation, which must be one of the tape operations listed below,
on a tape drive.
The default tape device to operate on is taken from the file /usr/include/sys/mtio.h when mt is compiled. It can be overridden by giving a
device file name in the environment variable TAPE or by a command line option (see below), which also overrides the environment variable.
The device must be either a character special file or a remote tape drive. To use a tape drive on another machine as the archive, use a
filename that starts with `HOSTNAME:'. The hostname can be preceded by a username and an `@' to access the remote tape drive as that user,
if you have permission to do so (typically an entry in that user's `~/.rhosts' file).
The available operations are listed below. Unique abbreviations are accepted. Not all operations are available on all systems, or work on
all types of tape drives. Some operations optionally take a repeat count, which can be given after the operation name and defaults to 1.
eof, weof
Write count EOF marks at current position.
fsf Forward space count files. The tape is positioned on the first block of the next file.
bsf Backward space count files. The tape is positioned on the first block of the next file.
fsr Forward space count records.
bsr Backward space count records.
bsfm Backward space count file marks. The tape is positioned on the beginning-of-the-tape side of the file mark.
fsfm Forward space count file marks. The tape is positioned on the beginning-of-the-tape side of the file mark.
asf Absolute space to file number count. Equivalent to rewind followed by fsf count.
seek Seek to block number count.
eom Space to the end of the recorded media on the tape (for appending files onto tapes).
rewind Rewind the tape.
offline, rewoffl
Rewind the tape and, if applicable, unload the tape.
status Print status information about the tape unit.
retension
Rewind the tape, then wind it to the end of the reel, then rewind it again.
erase Erase the tape.
mt exits with a status of 0 if the operation succeeded, 1 if the operation or device name given was invalid, or 2 if the operation failed.
OPTIONS
-f, --file=device
Use device as the file name of the tape drive to operate on. To use a tape drive on another machine, use a filename that starts
with `HOSTNAME:'. The hostname can be preceded by a username and an `@' to access the remote tape drive as that user, if you have
permission to do so (typically an entry in that user's `~/.rhosts' file).
--rsh-command=command
Notifies mt that it should use command to communicate with remote devices instead of /usr/bin/ssh or /usr/bin/rsh.
-V, --version
Print the version number of mt.
REPORTING BUGS
Report cpio bugs to bug-cpio@gnu.org
GNU cpio home page: <http://www.gnu.org/software/cpio/>
General help using GNU software: <http://www.gnu.org/gethelp/>
Report cpio translation bugs to <http://translationproject.org/team/>
MT(1)