frecover.1m (2010 09)
f
frecover(1M) frecover(1M)
(TO BE OBSOLETED)
i /usr
It is also possible to skip files by using the
-e option. For example, if a user wants to recover
all of
/usr except for the subgraph
/usr/lib, the graph file contains two entries:
i /usr
e /usr/lib
If the graph file is missing, frecover
exits with an error message. An empty graph file
results in recovering all files on the media.
-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.
HP-UX 11i Version 3: September 2010 − 3 − Hewlett-Packard Company 3