HP-UX Reference (11i v2 04/09) - 1M System Administration Commands A-M (vol 3)
f
frecover(1M) frecover(1M)
-h Extract the actual directory, rather than the files that it references. This prevents hierarchi-
cal restoration of complete subtrees from the backup media.
-i path path is interpreted as a graph to be included in the recovery. There is no limit on how many
times the -i option can be specified.
-m Print a message each time a file marker is encountered. Using this option,
frecover
prints a message each time either a DDS fast search mark, a filemark (EOF), or a check-
point record is read. Although useful primarily for troubleshooting, these messages can also
be used to reassure the user that the backup is progressing during long, and otherwise
silent, periods during the recovery.
-o Recover the file from the backup media irrespective of age. Normally
frecover does not
overwrite an existing file with an older version of the file.
-s Attempt to optimize disk usage by not writing null blocks of data to sparse files.
-v Normally frecover works silently. Verbose option. Displays the file type and name of
each file processed.
-y Automatically answer yes to any inquiries.
-A Do not recover any optional entries in access control lists (ACLs). Normally, all access con-
trol information, including optional ACL entries, is recovered. This option drops any
optional entries and sets the permissions of the recovered file to the permissions of the
backed up file. Use this option when recovering files backed up from a system with ACLs on
a system where ACLs are not present (see acl(5)).
-F Recover files without recovering leading directories. For example, this option would be used
if a user wants to recover /usr/bin/vi, /usr/bin/sh, and /etc/passwd to a local
directory without creating each of the graph structures.
-E extarg Specifies the handling of any extent attributes backed up by fbackup. The
-E option takes
the following keywords as arguments:
warn Issue a warning message if extent attributes cannot be restored, but restore the
file anyway.
ignore Do not restore extent attributes.
force Issue an error message and do not restore the file if extent attributes cannot be
restored.
Extent attributes cannot be restored if the files are being restored to a file system
which does not support extent attributes or if the file system’s block size is incom-
patible with the extent attributes. If
-E is not specified, extarg defaults to warn
.
-N (no recovery) Prevent frecover from actually recovering any files onto disk, but read the
backup as if it was, in fact, recovering the data from the backup, producing the same output
that it would on a normal recovery. This option is useful for verifying backup media con-
tents in terms of validity (block checksum errors are reported), and contents (a listing of files
can be produced by using the -N and -v options together). Note that the listing of files pro-
duced with the -N and -v options requires the reading of the entire backup, but is therefore
a more accurate reflection of the backup’s contents than the index stored at the beginning of
the backup (which was created at the start of the backup session, and is not changed during
the course of the backup).
-O Use the effective uid and gid for the owner and group of the recovered file instead of the
values on the backup media.
-S skip frecover does not ask whether it should abort the recovery if it gets a media error. It
tries to skip the bad block or blocks and continue. Residual or lost data is written to the file
named by skip. The user can then edit this file and recover otherwise irretrievable data.
-X Recover files relative to the current working directory. Normally frecover recovers files
to their absolute path name.
EXTERNAL INFLUENCES
Environment Variables
LC_COLLATE determines the order in which frecover expects files to be stored on the backup device
and the order in which file names are output by the -I option.
HP-UX 11i Version 2: September 2004 − 3 − Hewlett-Packard Company Section 1M−−201