rstprofdata - restore profile data
rstprofdata -m managed-system -l restore-type
[-f file]
[--help]
rstprofdata restores profile data for the managed-system from a backup file. rstprofdata can also be used to initialize the profile data for the managed-system.
The bkprofdata command can be used to back up profile data for the managed-system.
-m
-l
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.
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).
--help
Do a full restore of the profile data from the file myFile on floppy diskette (the floppy diskette must have already been inserted into the diskette drive):
mount/media/floppy
rstprofdata -m mySystem -l 1 -f /media/floppy/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