When saving data to the cloud, BRMS uses the current system name to reference the object in the cloud.
If the network attributes on the system are getting changed and INZBRM OPTION(*CHGSYSNAM)
is run, BRMS will not be able to automatically download the cloud files during a restore operation.
Renaming the cloud storage file path to reflect the new system name will resolve this issue.
If the cloud connector does not allow the path to be renamed, then a new cloud connector needs to be created and the volumes need to be moved to the new cloud connector location by doing the following:
Create a new cloud connector name using the IBM Cloud Storage Solutions for i product with the same credentials as the original cloud connector
Run
INZBRM OPTION(*DATA)
to add the new connector to BRMSIdentify the name of the cloud files you need to restore - the normal format is QBRMS_systemname
Use the CPYFRMCLD command to download the cloud image files
Example:
CPYFRMCLD RESOURCE(CLOUD) ASYNC(*NO) CLOUDFILE('QBRMS_OLDSYSNAME/Q25969') LOCALFILE('/QIBM/UserData/BRMS/cloud/Q1ACQ25969/Q25969')
Move the volumes in
WRKMEDBRM
to location *HOME.Move the volumes in
WRKMEDBRM
to the new cloud locationNOTE: This staged transfer will use storage on the system to hold the entire media volume as it is being transferred from the source cloud location to the target cloud location.
After all of the desired volumes have been successfully moved, the original source cloud connector and cloud image files should be removed.
Run
INZBRM OPTION(*DATA)
to remove the original source cloud connector from BRMS