The bkprofdata command can be used to back up profile data for the managed-system.
| -m | The name of the managed system for which to restore or initialize profile data. The name may either be the user-defined name for the managed system, or be in the form tttt-mmm*sssssss, where tttt is the machine type, mmm is the model, and sssssss is the serial number of the managed system. The tttt-mmm*sssssss form must be used if there are multiple managed systems with the same user-defined name. |
| -l |
The type of restore to perform. Valid values are:
1 - full restore from the backup file 2 - merge the current profile data and profile data from the backup file, giving priority to the backup data. If the profile data conflicts, the backup data is restored over the current data. 3 - merge the current profile data and profile data from the backup file, giving priority to the current data. If the profile data conflicts, the backup data is not restored over the current data. 4 - initialize the profile data. All partitions, partition profiles, and system profiles for the managed system will be deleted. |
| -f |
The name of the backup file that contains the profile data to be restored. If file is not fully qualified, file must exist in the
/var/hsc/profiles/serial-number directory on the HMC (serial-number is the serial number of the managed system). To restore the profile data from removable media, the media must be present in the removable media device and the device must be mounted with the mount command before this command is issued. The lsmediadev command can be used to display all of the removable media devices on the HMC. This option is required for all restore types except 4 (initialize). |
| --forcekeystore | Specify this option to ignore errors when restoring the partition keystore data. Any errors that occur will be displayed as warning messages. |
| --help | Display the help text for this command and exit. |
lsmediadev (to obtain mount points)
mount /media/sdb1
rstprofdata -m mySystem -l 1 -f /media/sdb1/myFile
Restore the profile data from the file backup1, and give priority to the current profile data (the file backup1 exists in the /var/hsc/profiles/3413444 directory on the HMC):
rstprofdata -m 9406-570*3413444 -l 3 -f backup1
Initialize the profile data:
rstprofdata -m 9406-570*3413444 -l 4
| None | |
| None | |
| Linux | RSTPROFDATA (1) | November 2020 |