United States-English |
|
|
HP-UX System Administrator's Guide: Routine Management Tasks: HP-UX 11i Version 3 > Chapter 3 Managing SystemsRestoring Your Data |
|
HP-UX has a number of utilities for backup and recovery. This discussion focuses on the fbackup and frecover commands used by HP SMH. Refer to the HP-UX Reference for information on the other backup and restore utilities: cpio, dump, ftio, pax, restore, rrestore, tar, vxdump, and vxrestore. The following topics are covered: There are two scenarios you will likely encounter for restoring files:
Ensure that your system can access the device from which you will restore the backup files. You might need to add a disk or tape drive to your system; refer to Configuring HP-UX for Peripherals for more information. You can use HP SMH or HP-UX commands to restore data. Generally, HP SMH is simpler than HP-UX commands. If your backup was created by the fbackup command (which HP SMH uses), you can use HP SMH or the frecover command to restore the files from your backup. The command restores backup files made using the fbackup utility. If your files were not created with fbackup, you will need to use another utility (see Choosing the Backup and Recovery Utility). To restore files from backups using frecover:
The -r option to the frecover command is generally used for recovering all files from your backup; the -x option is used for restoring individual files to your system. For complete details, see frecover(1M). When restoring files that are NFS mounted to your system, frecover can only restore those files having “other user” write permission. To ensure the correct permissions, log in as superuser on the NFS file server and use the /usr/sbin/share command to export the appropriate permissions. For more information, see share(1M) and NFS Administrator’s Guide. 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. Here are some examples of restoring data:
Here are some examples of restoring data remotely (across the network):
You can create a recovery archive of an existing system using Ignite-UX.. To obtain the system recovery features and manpages, install Ignite-UX from the Application Release media and choose the bundle that matches your release. For detailed information, see the Installing and Updating Ignite-UX and HP-UX 11i v3 Installation and Update Guide. |
Printable version | ||
|