OCI DBaaS Backup to Object storage (OSS)

To configure rman to leverage object storage for backup, from the oracle account

export LBACKUP=/home/oracle/bkp
mkdir $LBACKUP
mkdir $LBACKUP/lib
java -jar /opt/oracle/oak/pkgrepos/oss/odbcs/opc_install.jar -opcId '<user>' -opcPass '<auth token>' -container <bucket> -walletDir ${LBACKUP}/hsbtwallet/ -libDir ${LBACKUP}/lib/ -configfile ${LBACKUP}/config -host https://swiftobjectstorage.me-dubai-1.oraclecloud.com/v1/<namespace>

mkdir: cannot create directory ‘/home/oracle/bkp’: File exists
mkdir: cannot create directory ‘/home/oracle/bkp/lib’: File exists
Oracle Database Cloud Backup Module Install Tool, build 12.2.0.1.0DBBKPCSBP_2018-06-12
Oracle Database Cloud Backup Module credentials are valid.
Backups would be sent to container wcc-backups.
Oracle Database Cloud Backup Module wallet created in directory /home/oracle/bkp/hsbtwallet.
Oracle Database Cloud Backup Module initialization file /home/oracle/bkp/config created.
Downloading Oracle Database Cloud Backup Module Software Library from file opc_linux64.zip.
Download complete.