How To
Summary
This document will show you how to save select user data to the cloud using a BRMS control group. BRMS will manage the virtual tape media and image catalog for you.
Steps
Prerequisites:
- Make sure you have the latest BRMS PTF
- Make sure you have 5733ICC installed and current on PTFs using this doc:
Installing cloud storage solutions for i
Set-up ICC resource:
- Use this doc to create and test a cloud resource:
Cloud Storage solutions for i - Using CPYTOCLD & CPYFRMCLD to copy data to and from the cloud - After resource is created and tested, run INZBRM *DATA to create BRMS objects including default control groups.
Create your own control group.
- Do a WRKCTLGBRM, locate the QCLDBSYS0x control group with a media policy of the same name as the ICC source you just created. Normally this will be QCLDBSYS01 unless you have created multiple ICC resources.
- Use option 3 to make a copy of the control group QCLDBSYS0x, name it QCLDUxxxxx. The prefix QCLDU must be used, you can use whatever you want for the last 5 characters. For this test I will call the control group QCLDU_TEST, leave other parms to default:

- Take option 2 on control group QCLDU_TEST, blank out all sequence numbers between the first and the last:

- When you press enter you should be left with this:

- Insert sequence 15 to add the library you want to add

- Press enter and it will resequence your items:

- Add additional sequences as needed.
Run the backup:
- Use this command to execute the backup:
STRBKUBRM CTLGRP(QCLDU_TEST) SBMJOB(*NO)
If you are backing up a lot of data, you may want to use SBMJOB(*YES). You should get a message that the backup completed successfully. - To verify the media was transferred to the cloud, use this command:
WRKSTSICC RSCTYPDSC(*ALL) STATUS(*ALL)

Notice the volume number Q12417. That is the volume in BRMS. - You should now see this volume in the cloud. For COS, it will look like this in your bucket:

For additional information on using BRMS in conjunction with Cloud Storage Solutions for i, see the BRMS and Cloud Storage Solutions for i Wiki
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"}]
Was this topic helpful?
Document Information
Modified date:
10 June 2021
UID
ibm16453055