...
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('/tmp/Q25969')
Use the
CPYTOCLD
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 being transferred and will need to be manually removed.
RMVLNK OBJLNK('/tmp/Q25969')
If the volume shows up in *TRF status in WRKMEDBRM, run the following process to fix the volume state:
Example:
CALL QBRM/Q1AOLD PARM('CLOUD ' 'FIXDRVOL ' 'Q25969')
After the desired volumes have been renamed, the original cloud image files should be removed.