How To
Summary
This document will guide you through doing a full system save to the cloud using BRMS. The save will be done in 2 control groups, the first control group QCLDBSYSxx saves *IBM, *ALLUSR, DLOs, and IFS to virtual tape. The second control group QCLDBIPL01 does a SAVSYS and saves select IBM libraries and IFS objects to virtual optical. The virtual optical images can be used to boot from in the case of a full system recovery, from either DVD or for advanced users an NFS install. They also contain the IBM libraries and IFS objects that are required to retrieve the virtual tape images from the cloud for the remainder of the recovery.
Steps
First, be sure you have the latest BRMS PTFs and the latest Cloud Storage Solutions for i PTFs on your system:
- Latest BRMS PTF
For V7R1, apply additional BRMS PTF SI71641 not listed on the above page. - Latest ICC PTFs
While the IBM Cloud Storage Solutions for i using BRMS may be convenient, it may not be ideal for users or organizations that transfer large amounts of data from a backup. This solution is intended for small environments saving less than 2TB of data per day. Cloud connectivity was not developed as a replacement alternative for physical or Virtual Tape Library (VTL) devices.
Do a DSPLIB OUTPUT(*PRINT) on these libraries, QSYS should be less than 5 gb, others should be smaller than that. If they are larger than that, check for *JRNRCV objects, clean them up and consider using a different library for journal receivers. If any of these libraries take over 10 DVD size images (about 47gb), your save will fail because by default BRMS pre-creates 10 virtual optical images. The default of 10 can be changed (up to 75) if needed to accommodate bigger libraries, see Set Number of Turnkey Automatic Volumes to accommodate large libraries.
Using CPYTOCLD & CPYFRMCLD to copy data to and from the cloud
- QCLDBSYS0x contains *IBM, *ALLUSR, *ALLDLO, & *LINK. This is the bulk of your save, and will be saved to virtual tape. Tape volumes are 30gb by default, but you can change this size to be up to 100gb.
- QCLDBIPL0x contains a SAVSYS and select IBM Libraries and IFS files, and will be saved to virtual optical. The goal of this control group is to save everything needed to get a full system recovery (scratch install) to the point you can retrieve virtual tape volumes saved in QCLDBSYS0x from the cloud.
Cloud Storage solutions for i - Using CPYTOCLD & CPYFRMCLD to copy data to and from the cloud
STRBKUBRM CTLGRP(QCLDBSYS01) SBMJOB(*NO)

Next start the second control group, this will save to virtual optical:
STRBKUBRM CTLGRP(QCLDBIPL01) SBMJOB(*NO) OMITS(*IGNORE)
A successful completion will end with "Control group QCLDBIPL01 type *BKU processing is complete."
This backup may end with an error message at the bottom of the screen "Control group QCLDBIPL01 type *BKU completed with errors." This is likely because the QCLDIPL *LNK List (provided with BRMS) includes objects that may not exist on your system depending on what products and options you have installed and how your system is configured. It is OK if some of the objects do not exist on your system. These objects can be identified by doing a DSPLOGBRM, F18 to get to the bottom, see entries like this:
Date sent Time sent Message
6/09/21 22:22:30 Object not found. Object is /QIBM/UserData/OS400/TCPIP/O
6/09/21 22:22:30 Object not found. Object is /QIBM/UserData/OS400/TCPIP/R
Press F4 on each to get the full text. You can remove these items from the QCLDIPL *LNK List using WRKLBRM then option 2 on the QCLDIPL *LNK list, blank out the ones you don't need, press enter twice to save. Be careful not to remove the wrong ones. This change just needs to be made once, then future runs of this control group will not fail with these errors.
You can check the status of your transfers using WRKSTSICC *ALL *ALL OPERATION(*TOCLD).

Depending on how quickly TCP started, the transfers from this control group may be transferring, or they may have failed if TCP did finish starting before the transfer was initiated, or some may be failed and some active. To restart any failed transfers (including the ones from QCLDBSYS0x, you can do STRMNTBRM MOVMED(*YES) or MOVMEDBRM.
You can also do:
WRKMEDBRM SLTCRTDATE(*CURRENT) SLTEXPDATE(*CURRENT) VOL(Q*)
To see the status of the volumes in BRMS. If the transfer to the cloud has completed, the status should be *ACT. If the transfer failed, or is currently in progress or if it failed, the status should be *TRF.

Note, there may be other volumes in *EXP status, these were volumes that were prepared by BRMS in case they were needed. These volumes will be removed when maintenance is run.
Once all transfers are complete, you have finished your full system save to the cloud. To confirm your volumes made it to the cloud, use the web interface from your cloud provider.
Document Location
Worldwide
Was this topic helpful?
Document Information
Modified date:
06 October 2025
UID
ibm16460459