4 Installing Backup Module
4 Installing Backup Module
Kishore
http://www.appsdba.info
CONTENTS
Tasks
1. Create a Storage Bucket. Log in to the OCI console, go to the main menu, and select
Object Storage.
2. Click Create Bucket and call the new bucket “BackupBucket”. Leave all other parameters as default.
Author – A.Kishore
http://www.appsdba.info
3. Initial preparations for installing Oracle Database Backup Module in On-Premises VM and
OCI VM:
Author – A.Kishore
http://www.appsdba.info
Cloud Backup Module from Oracle Technology Network (OTN) using the following link:
https://www.oracle.com/database/technologies/oracle-cloud-backup-downloads.html
4. Copy Oracle Database Backup Module file from On-Prem VM to OCI VM and install the Backup
Module on the Cloud VM.
b. Extract the contents of the opc_installer.zip file. This contains the installer file
a. Copy the oci_install.jar installer file from On-Prem VM to OCI VM using this command.
Usually, the download path is $HOME/Downloads.
mkdir -p /home/oracle/backupmodule
cd /home/oracle/backupmodule
unzip opc_installer.zip
Archive: opc_installer.zip
creating: MACOSX/
creating: MACOSX/opc_installer/
ls -ltr
total 1776
5. Now you need to collect some information from Oracle Cloud Infrastructure Console, which is
needed to perform the install:
User OCID (found in the user page – top right icon -> username )
Tenancy OCID (found in the user page – top right icon -> tenancy name )
Next step is generating an API key. You can do that by executing these commands on On- Prem VM:
[oracle@edvmr1p0 .ssh]$
cd /home/oracle/backupmodule/opc_installer/oci_installer
mkdir -p /home/oracle/OCI/lib
mkdir -p /home/oracle/OCI/wallet
cat /home/oracle/OCI/wallet/oci_pub
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0o3dXS8B8TxDCPO0Gqvm
dLCfLqY+QqAWO/tSGrH3GixFRMRyTNpQj9d8DRFqbsaJLo0/AVSpsC3HWvEkltec
s5vnGPWfZbVEjmBraykNP8iPAGOsI+1Rew5vJoSpyx7XVlgefzEtbrMqK7VP5zS6
ftigOSWTxd3EPMO2OOqhch/9mRJn+UIGEDcjdVdZIetrso4Gyurw02DdQr/6F91m
GJOykEc1nuXnwZCZWVHsliZseE24piPlWNrSPUcAZvB9mXAQpJ52MYWvHkK3t3Cv
VRaHYOC1975WpTwe5DuFJFqeBu+usC1aDV8hPpq8WI6vHiWO5ygPxQsqd9zmo2R1
ewIDAQAB
The last command will display the public key in text format. Please copy the text and upload the public key in
the OCI console. Now go to the console, enter your user page (top right icon -> username), select API Keys in
the left-side menu, and click Add Public Key.
Paste the key in text format we obtained in the previous step and then click Add.
Author – A.Kishore
http://www.appsdba.info
Author – A.Kishore
http://www.appsdba.info
Author – A.Kishore
http://www.appsdba.info
[DEFAULT]
user=ocid1.user.oc1..aaaaaaaayvm7wawwrpfbswaguoenetxairqrmbknweslr24xzzn7wkxqum4a
Author – A.Kishore
http://www.appsdba.info
fingerprint=07:97:2f:c8:da:31:a3:e9:7b:79:8b:08:31:cd:22:d1
tenancy=ocid1.tenancy.oc1..aaaaaaaaukvw5677joefjfaygfjxcwjnbqbr4m3hmp2ytnln2fucluumedca
region=us-ashburn-1
Compartment OCID
ocid1.compartment.oc1..aaaaaaaatmtxfycheen4trp574rbg2hbenwnjzjprj7pctpghzafvwem3cdq
[DEFAULT]
user=ocid1.user.oc1..aaaaaaaayvm7wawwrpfbswaguoenetxairqrmbknweslr24xzzn7wkxqum4a
fingerprint=07:97:2f:c8:da:31:a3:e9:7b:79:8b:08:31:cd:22:d1
tenancy=ocid1.tenancy.oc1..aaaaaaaaukvw5677joefjfaygfjxcwjnbqbr4m3hmp2ytnln2fucluumedca
region=us-ashburn-1