HP-UX System Administrator's Guide: Routine Management Tasks
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.
Examples of Restoring Data Remotely
Here are some examples of restoring data remotely (across the network):
• To use frecover to restore files across the network, enter:
frecover -r -vf remote-system:/dev/rmt/0m
• To use the tar command to restore files across the network, enter:
remsh remote-system -l user dd if=/dev/rmt/0m bs=7k \
| tar -xvf -
If the tar backup used relative paths, the files will be restored relative to the
current directory. If absolute paths were used, the files will be restored to their
original paths.
Restoring Your Data 141