Restore files using ufsrestore HOWTO

From Genunix

  1. (TARGET) Load tape in target system
  2. (TARGET) verify free space on target system
  3. (TARGET) 'mt status' on target system to verify tape is loaded
  4. (TARGET) change to the directory where you want to restore the files to.
  5. (TARGET) and type 'mt rewind'
  6. (TARGET) mt -f /dev/rmt/0n fsf n-1
    • Where /dev/rmt/0n is the tape drive you are using, and you need to restore from the nth section of the tape
  7. (TARGET) ufsrestore if /dev/rmt/0n (this brings into an interactive session basically you 'add' all the files you want to 'extract')
    1. cd to where the files are
    2. 'add filename' (repeat a & b until you have all the files selected that you want to restore)
    3. 'extract' will kick it off (and write to disk)
    4. will prompt for volume? enter 1
    5. set owner/mode for '.'? [yn] y
    6. quit