IVM rstprofdata Command

Purpose

Restores profile data. This command is valid only in an Integrated Virtualization Manager environment.

Syntax

To restore logical partition configuration data from a file:

rstprofdata -l RestoreType [-f RestoreFile] [ --ignoremtms ] [ --ignoremac ] [ -m ManagedSystem ]

Description

The rstprofdata command performs a restore of logical partition configuration information from a file which was created with the bkprofdata command. Logical partition configuration must be cleared using the lpcfgop command before performing a restore operation. The restore operation may require a restart of the managed system, after which the rstprofdata command should be run again with the same parameters as were used the first time (before the system restart).

Flags

-l RestoreType The type of restore to perform. Valid options are:
1 - full restore from the backup file
-f RestoreFile The name of the file to read from in the current working directory. If not specified, the default file will be "/var/adm/lpm/profile.bak"
--ignoremtms Do not fail the restore if the type, model, or serial number of the managed system does not match the values in the backup file.
--ignoremac Do not try to restore the virtual Ethernet MAC addresses from the backup file. Default to the automatically generated MAC addresses.
-m ManagedSystem The name of the managed system. This attribute is optional because there is only one system to manage. The name may either be the user-defined name for the managed system, or be in the form tttt-mmm*ssssssss, where tttt is the machine type, mmm is the model, and ssssssss is the serial number of the managed system.
--help Display the help text for this command and exit.

Exit Status

This command has a return code of zero on success.

Security

This command is not accessible by users with the ViewOnly role.

Examples

  1. To restore the partition configuration data from /var/adm/lpm/profile.bak, type:
    rstprofdata -l 1 
  2. To restore the partition configuration data from lparData.bak without validating that the type, model, and serial number match, type:
    rstprofdata -l 1 -f lparData.bak --ignoremtms

Related Information

The bkprofdata command.


Send feedback |  Rate this page