#!/bin/sh
# restore.sh Creation Date: 14/02/06 Author: G Bentley
# Purpose: Restore files from taped named in restore_list
# Note that *exact* directories/filenames must be specified
# in the restore_list (without the root slash)
# i.e. home/e-smith/files/ibays/accounts/html/index.html
#
/bin/mt -f /dev/nst0 rewind
# /bin/mt -f /dev/nst0 fsf 1
#
# Use above two commands if you arent doing this manually
# and also checking status with '$mt -f /dev/nst0 tell'
# and '$flexbackup -toc'
#
/usr/bin/flexbackup -extract -num 1 -flist restore_list
/bin/mt -f /dev/nst0 rewind
#
# A simple 'ls' used to create a nice formatted list
# ls -ultRF /home/e-smith/files/ibays > restore_list