| United States-English |
|
|
|
![]() |
HP Servers and Workstations: Managing Systems and Workgroups > Chapter 6 Administering a System: Managing
Disks and FilesRestoring Your Data |
|
HP-UX has a number of utilities for backup and recovery. This discussion focuses on the fbackup and frecover commands used by SAM. 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. Gather the following information and materials before you begin:
You can use SAM or HP-UX commands to restore data. Generally, SAM is simpler than HP-UX commands. If your backup was created by the fbackup command (which SAM uses), you can use SAM 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 root= option to the /usr/sbin/exportfs command to export the permissions. For more information, see exportfs(1M) and Installing and Administering NFS Services. 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):
On 10.x systemsSee copyutil(1M) and the documentation accompanying your support media for instructions on creating a recovery system. copyutil is only available from the support media. On 11.0 systemsOn 11.0 systems, you can create a customized System Install Image of an existing system. To obtain the system recovery features and manpages, install Ignite-UX from the Application Release CD-ROM and choose the bundle that matches your release (for example Ignite-UX-11.0). The following commands support system recovery:
For detailed information, see the HP-UX installation and update guide for your version of HP-UX. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||