IBM Support

Cloud Storage Solutions for i - Save a library to virtual tape and copy to the cloud

How To


Summary

Cloud Storage Solutions for i only works with IFS files. It does not work with IBM i libraries. In order to send a library to the cloud, you need to first save it to virtual tape, then copy the virtual tape image to the cloud

Environment

Create Virtual tape device and image catalog:

Use this document to create a virtual optical device and image catalog to use for the save:
Create and test cloud resource:

 
Save library to virtual tape:
 
You can use any SAV* command to save data to the virtual tape. Use this command to save library TESTLIB to the virtual tape device:
  
SAVLIB LIB(TESTLIB) DEV(TAPVRT01)

To confirm your library was saved to the virtual tape, use this command:
   DSPTAP TAPVRT01
Send the virtual tape image to the cloud:
If you used the basic steps for creating virtual tape, your volume image catalog uses directory /virtualtap, and the volume is VOL001.  This means that if you do a WRKLNK '/virtualtap/*' you see the following:
image 9927
VOL001 is your virtual tape image that you want to send to the cloud.  To send VOL001 to the cloud, use the following command:
    CPYTOCLD RESOURCE(IBMCOS)                 
          LOCALFILE('/virtualtap/VOL001')  
          CLOUDFILE(VOL001)               
To verify the file was sent, you can use WRKSTSICC *ALL *ALL checking for a Successful status:
image 9928
You can also check your bucket on your cloud providers website to make sure the file is there.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.3.0"}]

Document Information

Modified date:
18 May 2021

UID

ibm16453101