Managing Systems and Workgroups: A Guide for HP-UX System Administrators

Administering a System: Managing Disks and Files
Restoring Your Data
Chapter 6698
and use the root= option to the /usr/sbin/exportfs command to
export the permissions. For more information, see exportfs (1M) and
Installing and Administering NFS Services.
Restoring Large Files
If you use fbackup to back up large files (> 2 GB), then those files can
only be restored on a large file system. For instance, suppose that you
back up a 64-bit file system containing large files; you cannot restore
those files to a 32-bit file system that is not enabled for large files.
If a backup contains large files and an attempt is made to restore the
files on a file system that does not support large files, the large files will
be skipped.
Examples of Restoring Data
Here are some examples of restoring data:
To restore the files using frecover in the directory /home/deptA
from a DDS format (DAT) tape:
frecover -x -i /home/deptA
If files are currently in a directory on the disk that is newer than the
corresponding files on the tape, frecover will not overwrite the
newer version on disk because the -o option is not specified.
To restore the files using frecover from all of the directories under
/home/text from a DDS format (DAT) tape into the /tmp directory
on the system:
cd /tmp
frecover -x -oF -i /home/text
The -F option removes leading path names from all files on the tape
that meet the include criteria. If there are files in the directory /tmp
whose names match those coming from tape, specifying the -o option
overwrites the version on disk, even if the copy on disk is newer. The
/tmp directory now contains all of the files that were backed up from
/home/text without the leading directories.