Api::error Backups Are Not Configured on This Db Instance. Configure the Backup and Try Again Dbaas
When you create an Oracle Database Classic Cloud Service database deployment, you specify whether automatic backups are configured by choosing a backup destination. After the deployment is created yous tin change the configuration past changing the deployment'due south backup destination.
The instructions in this topic describe how to switch backup destinations for an existing database deployment. Specifically, the post-obit changes are possible using the instructions in this topic:
-
From None to Both Deject Storage and Local Storage
-
From None to Deject Storage Only (not currently available for database deployments that use Oracle RAC)
-
From Both Cloud Storage and Local Storage to Cloud Storage But
-
From Cloud Storage Only to Both Cloud Storage and Local Storage
For background information on the destinations, see Virtually Bankroll Upwardly Database Deployments on Database Classic Cloud Service.
Note:
The Oracle Database Classic Cloud Service console does not currently recognize changes to the backup destination made by using the bkup.cfg file with the fill-in banana. Therefore, the console will not reflect the new backup destination and may not display whatever backups taken, depending on what backup destination change you accept made. If the backups are not displayed, you will not be able to employ the Oracle Database Classic Cloud Service panel to perform recovery.
Prerequisites
-
If you are switching to the backup destination Both Cloud Storage and Local Storage, you must increment the size of the local storage used for backups. Use the Extend Fill-in Storage Volume option of the Oracle Database Classic Cloud Service panel's scaling feature to add together storage such that the backup storage is 1.7 times the size of your database storage. For instructions, see Scaling a Database Deployment.
-
If you are switching to the backup destination Both Cloud Storage and Local Storage or Deject Storage But, you must have an Oracle Storage Deject Service container in your business relationship that is reserved for backups. If you lot don't have one, you must create one. See Creating Containers in Using Oracle Storage Cloud Service, or see the tutorial Oracle Storage Cloud Service: Creating Containers Using the REST API.
The commands you utilise to alter the backup destination depend on the blazon of database running in the database deployment.
Irresolute the Backup Configuration on Database Deployments Hosting Single-Instance Databases
Oracle Database Classic Cloud Service allows yous to change the backup destination for your database deployments after creating them.
Earlier changing the fill-in destination, make sure you accept performed applicative Prerequisites.
Changing the Backup Configuration on Database Deployments Hosting Oracle RAC Databases
This topic does not apply to Oracle Cloud Infrastructure or to Oracle Deject at Client.
Oracle Database Classic Cloud Service allows you to change the backup destination for your database deployments after creating them.
Before changing the backup destination, brand sure you have performed applicable Prerequisites.
Increasing Local Storage for Backups on Older Database Deployments
This topic does not utilise to Oracle Cloud Infrastructure.
Older database deployments on Oracle Database Classic Cloud Service do not support the Extend Fill-in Storage Book feature, so you lot must manually add backup storage.
To create a larger storage volume and use it for backups:
-
Create a storage book for backups. Its size should be 1.7 times the infinite allocated for data storage.
Apply the Create New Storage Volume pick of the Oracle Database Classic Cloud Service console's scaling characteristic to add together a storage book of the appropriate size. For instructions, run into Scaling a Database Deployment.
-
Connect as the
opcuser to the compute node.For detailed instructions, see Connecting to a Compute Node Through Secure Shell (SSH).
-
Confirm the addition of the storage volume by listing the devices:
$ lsblk NAME MAJ:MIN RM SIZE RO Blazon MOUNTPOINT xvdb 202:sixteen 0 21G 0 disk ├─xvdb1 202:17 0 200M 0 part /kicking ├─xvdb2 202:xviii 0 15.8G 0 office / └─xvdb3 202:xix 0 4G 0 part [Bandy] xvdc 202:32 0 10G 0 disk └─xvdc1 202:33 0 10G 0 part /u04 xvdd 202:48 0 7G 0 disk └─xvdd1 202:49 0 7G 0 part /u03 xvde 202:64 0 30G 0 disk └─xvde1 202:65 0 30G 0 function /u01 xvdf 202:lxxx 0 11G 0 deejay └─xvdf1 202:81 0 11G 0 part /u02 xvdg 202:96 0 17G 0 disk └─xvdg1 202:97 0 17G 0 function /u05
-
Modify from the
opcuser to theoracleuser:$ sudo su - oracle -
Equally the
oracleuser, use RMAN to close downwardly the database instance:$ rman target=/ ... RMAN> shutdown immediate; using target database control file instead of recovery catalog database airtight database dismounted Oracle case shut downwardlyQuit RMAN and leave the
oracleuser session:RMAN> quit; Recovery Manager complete. $ exit -
As the
rootuser, copy the content from/u03(which y'all accept been using for backup storage) to/u05:# cp -R /u03/* /u05/ -
Unmount the
/u05and/u03mountain points:# umount /u05/ # umount /u03/
Note:
The Linux unmount command is
umountain(with no n). -
Mount the partition of new storage volume you but created to
/u03, which Oracle Database Classic Cloud Service uses for backups. For case:# mount /dev/xvdg1 /u03 -
Await at the results:
# lsblk Name MAJ:MIN RM SIZE RO Blazon MOUNTPOINT xvdb 202:16 0 21G 0 disk ├─xvdb1 202:17 0 200M 0 part /kicking ├─xvdb2 202:eighteen 0 15.8G 0 part / └─xvdb3 202:19 0 4G 0 part [Swap] xvdc 202:32 0 10G 0 deejay └─xvdc1 202:33 0 10G 0 part /u04 xvdd 202:48 0 7G 0 disk └─xvdd1 202:49 0 7G 0 function xvde 202:64 0 30G 0 disk └─xvde1 202:65 0 30G 0 part /u01 xvdf 202:lxxx 0 11G 0 disk └─xvdf1 202:81 0 11G 0 part /u02 xvdg 202:96 0 17G 0 disk └─xvdg1 202:97 0 17G 0 part /u03The old 7 GB partition
xvdd1, which was previously mounted to/u03, is no longer mounted at all. The new 17 GB partitionxvdg1is now mounted to/u03and will therefore exist used for backups. Notation that the space used forxvdd1is at present no longer available for any use. -
Set the ownership and permissions of the mount-signal directory
/u03. For example:# chown -R oracle:oinstall /u03 # chmod 755 /u03
-
As the
oracleuser, commencement SQL*Plus, connect to the database as SYSDBA, and start it. For example:$ sqlplus /nolog SQL*Plus: Release 12.i.0.ii.0 Product on Sat Feb 21 13:19:51 2015 Copyright (c) 1982, 2014, Oracle. All rights reserved. SQL> connect sys/password as sysdba Connected to an idle instance. SQL> startup ORACLE example started. Full System Global Area 3170893824 bytes Fixed Size 2929400 bytes Variable Size 1845497096 bytes Database Buffers 1308622848 bytes Redo Buffers 13844480 bytes Database mounted. Database opened.
-
If yous want to come across the current setting for the limit on the total space to exist used past target database recovery files, show the values of the parameter
DB_RECOVERY_FILE_DEST, for example:SQL> bear witness parameter db_recovery_file_dest Proper noun Blazon VALUE ---------------------------- ----------- ------------------------------ db_recovery_file_dest string /u03/app/oracle/fast_recovery_ expanse db_recovery_file_dest_size big integer 7G -
Increment the parameter
DB_RECOVERY_FILE_DEST_SIZEto utilize the new extra infinite in/u03, for instance:SQL> alter arrangement set db_recovery_file_dest_size=17G; System contradistinct. -
Evidence the new value:
SQL> show parameter db_recovery_file_dest; NAME TYPE VALUE ---------------------------- ----------- ------------------------------ db_recovery_file_dest string /u03/app/oracle/fast_recovery_ area db_recovery_file_dest_size large integer 17G -
Quit SQL*Plus and log out:
SQL> quit; Disconnected from Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production $ get out
0 Response to "Api::error Backups Are Not Configured on This Db Instance. Configure the Backup and Try Again Dbaas"
Post a Comment