frecover.1m (2010 09)
f
frecover(1M) frecover(1M)
(TO BE OBSOLETED)
Volume Number This field contains a
# character followed by 3 digits, and
identifies the current volume in the backup.
Checkpoint Frequency This field contains the number of data records between check-
points.
Fast Search Mark Frequency
This field contains the number of files between fast search
marks for backups made with DDS tape drives.
Index Size This field contains the size of the index.
Backup Identification Tag
This field is composed of 2 items: the process ID (pid), and the
start time of that process.
Language This field contains the language used to make the backup.
-R path An interrupted full recovery can be continued using this option.
frecover uses the infor-
mation in file path to continue the recovery from where it was interrupted. The only com-
mand line option used by
frecover with this option is
-f. The values in path override all
other options to
frecover. Note also that only full recoveries are restarted with this
option, because no history of include or exclude lists is stored in the restart file. If a partial
recovery (i.e., using the -x option) is interrupted then restarted with this option, frecover
continues recovering where the partial recovery left off, but restores all files on the backup
media beyond this point.
The following options can be used in addition to the option above that selects the desired function:
-c config config specifies the name of a configuration file to be used to alter the behavior of
fre-
cover. The configuration file allows the user to specify the action to be taken on all errors,
the maximum number of attempts at resynchronizing on media errors (
-S option), and the
action to be taken on media errors. Each entry of a configuration file consists of an action
identifier followed by a separator followed by the specified action. Valid action identifiers
are
error, chgvol, and sync. Separators can be either tabs or spaces. In the following
sample configuration file, each time an error is encountered, the script
/var/adm/fbackupfiles/frecovererror
is executed. The script
/var/adm/fbackupfiles/frecoverchgvol
is executed each time the backup media
is to be changed. The maximum number of resynchronization attempts is five.
error /var/adm/fbackupfiles/frecovererror
chgvol /var/adm/fbackupfiles/frecoverchgvol
sync 5
-e path path is interpreted as a graph to be excluded from the recovery. There is no limit on how
many times the -e option can be specified.
-f device device identifies the backup device to be used instead of the default
/dev/rmt/0m or
/dev/rtape/tape1_BEST on systems where legacy Device Special Files (DSF) is dis-
abled. If device is -, frecover reads from standard input. Thus fbackup and fre-
cover can be used in a pipeline to backup and recover a file system as follows:
fbackup -i /usr -f - | (cd /mnt; frecover -Xrf -)
If more than one output file is specified, frecover uses each one successively and then
repeats in a cyclical pattern. Patterns can be used in the device name in a way similar to file
name expansion as done by sh. The expansion of the pattern results in all matching names
being in the list of devices used. A device on the remote machine can be specified in the
form machine :device. frecover creates a server process, /usr/sbin/rmt, on the
remote machine to access the tape device. If /usr/sbin/rmt does not exist on the remote
system, frecover creates a server process from /etc/rmt on the remote machine to
access the tape device. The pattern matching capability does not apply to remote devices.
Only raw magnetic tapes can be remote devices. The fast search marks capability is not
used when accessing remote DDS devices.
-g graph graph defines a graph file. Graph files are text files and contain the list of file names
(graphs) to be recovered or skipped. Files are recovered using the -i option; so, for exam-
ple, if the user wants to recover all of /usr, the graph file contains one entry:
2 Hewlett-Packard Company − 2 − HP-UX 11i Version 3: September 2010