Restoring private authorities for selected objects
If you need to recover or migrate a few objects when the user profiles already exist on the target system, the quickest method for restoring private authorities for selected objects is to specify PVTAUT(*YES) with any of the save and restore commands.
To save and restore private authorities as you save and restore objects, specify *YES for the PVTAUT parameter on the save and restore commands. Although saving private authorities increases the amount of time it takes to save the objects, it simplifies the recovery of the objects. Using the PVTAUT(*YES) parameter is recommended for restoring specific objects, but it is not recommended for recovering the entire system or a large-scale recovery of user data.
This procedure saves the object data and the private authorities for objects in the user-defined file system (UDFS) on an independent ASP, and restores them to another independent ASP. Use this method only if you are saving and restoring a few objects:
In this example, the objects and their private authorities are saved and restored. The user profiles already exist on the target system.
Source system | Target system |
---|---|
SAVLIB ... PVTAUT(*YES) |
RSTLIB ...PVTAUT(*YES) |
SAVOBJ ... PVTAUT(*YES) |
RSTOBJ ... PVTAUT(*YES) |
SAVCHGOBJ ... PVTAUT(*YES) |
RSTOBJ ... PVTAUT(*YES) |
SAV ... PVTAUT(*YES) |
RST ... PVTAUT(*YES) |
SAVRSTLIB ... PVTAUT(*YES) 1 |
|
SAVRSTOBJ ... PVTAUT(*YES) 1 |
|
SAVRSTCHG ... PVTAUT(*YES) 1 |
|
SAVRST ... PVTAUT(*YES) 1 |
|
1 The SAVRSTxx commands perform the save and restore operation with one command. |