make_net_recovery.1m (2012 03)

m
make_net_recovery(1M) make_net_recovery(1M)
General Backup/Recover Not Recommended
The make_net_recovery
toolset is intended only to create or recover a recovery archive. The
recovery archive will include the operating system and a reasonable amount of user data. It is NOT
intended to be a general purpose backup and restoration tool, and should not be used for that objective.
Creating and Restoring from a Minimal-Recovery Archive
Creating a minimal-recovery archive means creating a recovery archive that contains just enough infor-
mation to bring a system back up into a minimal-operating state. This allows you to then restore all
additional information from a backup created with a general backup/restore utility.
When restoring from a minimal-recovery archive, the boot process will often contain errors due to the
missing content. These errors are corrected once the regular system backup is restored and the system is
rebooted.
Once the system has been rebooted, you may see the following note:
NOTE: The "/opt/upgrade/bin/tlinstall" command was not part of the
system that was installed. It was not possible to run it in
order to correctly set the permissions of the "transition"
symlinks. You may consider running:
"/opt/upgrade/bin/tlinstall -vf" after the system is
completely restored.
If software has not yet been installed using SD, the tlinstall command may need to be executed at this
time as described above.
Standards May Impose Limits on What May Be Archived
The
pax command is used to create and recover recovery archives. There maybe limitations in the pax
command that impose limits on what can or cannot be placed into a recovery archive. Some examples of
this are:
ustar format archives contain raw user ID and group ID along with the text user and group
name of the record files stored up to the limit 2097151. The format may not recover correct User
IDs and Group IDs of the records stored beyond 2097151 files. To recover the files beyond this
limitation use the pax format.
cpio format archives are strictly limited to uids and gids up to 262144.
ustar format archives cannot contain a file name pointed to by a link that is more than 100 bytes
long (required by POSIX.1).
pax format archives can contain files that are larger then 8 GB, ustar and cpio can not.
Disks Will be Reformatted
If any file from a disk or volume group is included in the recovery archive, that disk (or all disks in the
volume group) will be reformatted during the recovery, and only the files included will be recovered. Any
files that were not included in the archive, will have to be restored from normal backups.
Disks and volume groups that did not have any files included in the archive are not reformatted during a
recovery and are reimported and remounted at the end of the recovery.
Logical Volume Physical Extent Allocation Not Preserved
The
make_net_recovery tool captures enough information from the system so that during a recovery
it may reconstruct all visible aspects of the prior LVM configuration. This includes logical volume and
volume group names, attributes, and even minor number values. The tool also ensures that the new logi-
cal volumes reside on the same disks within the volume group as they did before.
make_net_recovery does not, however, ensure that logical volumes are extended in the same exact
order as they were originally. This means the LVM physical extents allocated to a logical volume may be
in a different location on the disk than before. The recovery tools use a very specific and complex algo-
rithm for extending logical volumes to ensure success (such as extending contiguous volumes before non-
contiguous). An example effect of this is that swap/dump volumes will reside on the root disk ahead of
some other volumes even though that may not have been the original layout.
Logical Volume Distributed Allocation Policy Not Preserved
If logical volumes that are part of the volume groups being archived were configured using the distributed
allocation policy (also known as "extent based stripes"), those volumes will be re-created during a recovery
with this policy turned off.
HP-UX 11i Version 3: March 2012 7 Hewlett-Packard Company 7