Thursday, November 15, 2018

Oracle DBCS Backup Error Resolution

Error

Below error is given when login to the DBCS.

login as: opc
Authenticating with public key "key"
Passphrase for key "key":
*** OBKUP::ERROR INFO ***
OBKUP::ERROR Cannot complete the Archivelogs Backup to Cloud Storage
OBKUP::ERROR KBHS-00715 HTTP CONNECTION ERROR
OBKUP::ERROR An http error was detected please verify your connectivity
*** OBKUP::ERROR END ***

Root Cause

Cloud account password of user xyz@yyyy.com has been changed.

Resolution

As root user, create a file to hold backup configuration:
# vi /tmp/bkp.conf

The contents of file should be:

bkup_cfg_files=yes
bkup_disk=yes
bkup_disk_recovery_window=7
bkup_oss=yes
bkup_oss_recovery_window=30
bkup_oss_url=https://xxx.storage.oraclecloud.com/v1/Storage-xxx/DBaaS
bkup_oss_user=xyz@yyyy.com
bkup_oss_passwd=actualPassword

(Replace actualPassword with correct password of user xyz@yyyy.com)

Change permission on this file as:
# chmod 0600 /tmp/bkp.conf

Now, execute the backup assistant as below
# /var/opt/oracle/ocde/assistants/bkup/bkup -cfg /tmp/bkp.conf

1 comment:

  1. TITanium Dab nail | Titanium Art | Titanium Art
    a titanium bracelet unique and exciting new nail damascus titanium design created titanium flash mica by TOTO. TOTO's patented razor design allows it to project all of pure titanium earrings its features in tungsten titanium a sleek and

    ReplyDelete