Question : verify tape info using dump command

after using the dump command on a sunos 4.1.3U1.
i use "mt -f /dev/rst1 status" to view the tape status

is there another command I can use after I backup the data on tape to verify the partition had been backup properly?

Answer : verify tape info using dump command

Hi
Use either:

restore tvf /dev/rst1

to verify and display the tapes contents.
or

restore ivf /dev/rst1

to enter interactive mode where you can check the contents and exit without actually doing a restore.

You could even create a script to carry out your dump then check it was successful and then create a file listing the contents of the tape. Very basically:
#!/bin/csh
dump 0uf /dev/rst1 /partition
if ($status) then
   echo "dump failed"
   exit 1
endif
restore tvf /dev/rst1 > /backup/TOC_`date +%m-%d+%y`
Random Solutions  
 
programming4us programming4us