Operating System - HP-UX
1748089 Members
4774 Online
108758 Solutions
New Discussion юеВ

how do i check the tape contains

 
Tape Backup_1
Occasional Contributor

how do i check the tape contains

Hi i have taken the ignite backup using make_tape_recovery on tape now i want to see the contains of the tape i used the below command but am getting error,please let me know if any other command is ther
pax -vf /dev/rmt/1mn
pax: [offset 0g+0m+0k+0]: I/O error
pax: Unable to determine the archive format.
2 REPLIES 2
Torsten.
Acclaimed Contributor

Re: how do i check the tape contains

For Risc servers do

# mt -f /dev/rmt/_mn rew
# mt -f /dev/rmt/_mn fsf 1
# tar -tvf /dev/rmt/_mn

for ia64 use "fsf 22".

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Hakki Aydin Ucar
Honored Contributor

Re: how do i check the tape contains


Hi,
mt -f /dev/rmt/xmn status # Tape is in its driver ?
mt -f /dev/rmt/xmn rew # Rewind tape
tar -tvf /dev/rmt/0mn > /tmp/ignite.list # Get the list
mt -f /dev/rmt/xmn fsf 1 # Forward space first files for PA-RISC
mt -f /dev/rmt/xmn fsf 22 # Forward space first files for INTEGRITY

x = drive number that you can find it with ioscan -fnCtape (0 OR 1 ..)