...
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 manually moved to the new cloud file name on the current 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
...
Identify 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 filesExample:
CPYFRMCLD RESOURCE(CLOUD) ASYNC(*NO) CLOUDFILE('QBRMS_OLDSYSNAME/Q25969') LOCALFILE('/QIBM/UserData/BRMS/cloud/Q1ACQ25969/tmp/Q25969')
Move the volumes in
WRKMEDBRM
to location *HOME.Move the volumes in
WRKMEDBRM
to the new cloud locationUse theCPYTOCLD
command to upload the cloud image files to a new file nameExample:
CPYTOCLD RESOURCE(CLOUD) ASYNC(*NO) LOCALFILE('/tmp/Q25969') CLOUDFILE('QBRMS_NEWSYSNAME/Q25969')
NOTE: 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.
and will need to be manually removed.
RMVLNK OBJLNK('/tmp/Q25969')
After the desired volumes have been successfully movedrenamed, 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