The following command will extract a tape to the /tmp/tape.restore directory.
cpio -icdumvB -I /dev/rStp0
This command might run your system out of free space. This is also restoring to the /tmp/tape.restore directory and not your live system. Restoring on file might cause a system to fail since a number of files might contain linked data. Do a tape listing and just restore what you need using the following command.
To restore a file
cpio -icdumvB -I /dev/rStp0 /u/usr/data/myfile
To restore a directory you must use a wildcard
cpio -icdumvB -I /dev/rStp0 /usr/*
We strongly recommend using commercial backup programs which allow for menu driven restore solutions that are more reliable than operating system utilities.