This section describes how to restore individual files and directories using a local tape drive. See "How to Use a Remote Drive to Restore Files" for information on how to use a remote drive to restore files.
When you restore files in a directory other than the root directory of the file system, ufsrestore recreates the file hierarchy in the current directory. For example, if you restore files to /home1 that were backed up from /home/doc/books the files are restored in the /home1/doc/books directory.
When restoring individual files and directories, it is a good idea to restore them to a temporary location, such as the /var/tmp directory. After you verify them, you can move the files to their proper locations. You can restore individual files and directories to their original locations. If you do so, be sure you are not overwriting newer files with older versions from the backup tape.
Do not restore files in the /tmp directory even temporarily. The /tmp directory is usually mounted as a TMPFS file system and it does not support UFS file system attributes such as ACLs.