restore.sh - Restores files online
restore.sh
log_file
mount_point
SUNWsamfs
The
restore.sh
script restores files to their online or partially
online status. This script should be used after performing a file system
restore using the samfsrestore
(1m) command.
This script accepts the following arguments:
Specify the name of the log file that was created by
the samfsrestore
(1m) command.
Specify the mount point of the file system being restored.
Recreate or restore the file system. Use the command samfsrestore -g
.
This creates a log file.
Run the script. Use the command restore.sh
log_file mount_point, where log_file is the log file created in the and mount_pointprevious step is the file system mount point.
This script stages back the files that were previously online or partially
online at the time the .inodes
copy or samfsdump
The restore.sh
script resides in the following location:
∕opt∕SUNWsamfs∕examples∕restore.sh