47 #### Instance Level Parameters #### # Enable automatic backup. Can be set to yes or no bkup_cron_entry=yes # Enable automatic cleanup of archive logs when backups are not # configured using tooling. Can be set to yes or no bkup_archlog_cron_entry=yes #Enable backup of config files. Can be set to yes or no bkup_cfg_files=yes # Time of the daily incremental backup. The format must be hh:mm bkup_daily_time=06:45 # Archive log frequency in minutes. Valid values are 15,20,30,60,120.... bkup_archlog_frequency=30 ... ... ... 次頁に続く bkup_api による自動バックアップ構成 ツールによりバックアップが構成されない場合、 アーカイブログを自動的にクリーンアップする システムおよびデータベース構成ファイルのバックアップを有効にする アーカイブ・データベース・ログ・ファイルの自動バックアップの間隔を設定 (デフォルトは 30 分) 毎日の自動バックアップ実行時刻の設定 ※青字のパラメータは③バックアップ構成ファイルの作成例で設定していたパラメータ
48 #### This section is applicable for configuring backups to OSS #### # Enable backup to oss container. Can be set to yes or no bkup_oss=yes ## Below parameters are required if backups to OSS are configured # Recovery window of oss. Must be between 1 and 90 bkup_oss_recovery_window=15 # OSS url. Example: https://storage.oraclecorp.com/v1/Storage-test/test bkup_oss_url=https://swiftobjectstorage.ap-tokyo-1.oraclecloud.com/v1/xxxxx/bucket-yodb # OSS username [email protected] # OSS password #bkup_oss_passwd= #Default day on which level0 backups are taken for OSS bkup_oss_l0_day=Sun ... ... ... 次頁に続く Object Storage へのバックアップを有効化 週次の Level 0 のフルバックアップを実施する曜日 (デフォルトは日曜日) Object Storage へのバックアップの保持期間 Object Storage のロケーション 上記 Object Storage への書込み権限を持つユーザ名 ※青字のパラメータは③バックアップ構成ファイルの作成例で設定していたパラメータ
49 #####RMAN custom configuration such as compression, section size ######### #compression, valid values are none,basic,low,medium,high bkup_rman_compression=low #If custom section size is preferred, set the following two values. #bkup_set_section_size to yes and a valid bkup_section_size. bkup_set_section_size= #section size value in G, example 20G bkup_section_size= #parallelism, number of channels per node to be used by RMAN #set value to default for using recommended values based on service, operation bkup_channels_node=default ... ... ... 次頁に続く 自動バックアップに適用する圧縮レベル RMAN セクション・サイズ (デフォルト 64GB) を 変更したい場合は yes をセットする 変更したいRMAN セクション・サイズを設定 自動バックアップに使用されるノードあたりの RMAN チャネル数を設定: 「default」 の場合はサービスに基づく推奨値が設定される (Quarter Rack の場合は合計の RMAN チャネル数は 8 (ノードあたり 4))
affiliates 50 #### This section is applicable when using a rman catalog #### # Enables RMAN catalog. Can be set to yes or no. bkup_use_rcat=no ## Below parameters are required if rman catalog is enabled # RMAN catalog user bkup_rcat_user= # RMAN catalog password #bkup_rcat_passwd= # RMAN catalog conn string bkup_rcat_conn= 既存の RMAN リカバリ・カタログはデフォルトは使用しない設定で、 使用する場合は yes に変更する必要がある RMAN リカバリ・カタログを使用する場合には、そのリカバリ・カタログ・ユーザー名 RMAN リカバリ・カタログを使用する場合には、そのリカバリ・カタログ・ユーザーのパスワード RMAN リカバリ・カタログを使用する場合には、そのリカバリ・カタログの接続文字列
2021, Oracle and/or its affiliates 69 SQL> drop user testuser cascade; User dropped. SQL> select username from dba_users where username='TESTUSER'; no rows selected
Oracle and/or its affiliates 71 # /var/opt/oracle/bkup_api/bkup_api recover_status --dbname=yodb DBaaS Backup API V1.5 @2021 Multi-Oracle home -> Action : recover_status -> logfile: /var/opt/oracle/log/yodb/bkup_api_log/bkup_api_3e5f0ff0_20210523194241.076575.log Warning: unable to get current configuration of: type * Current backup settings: * Last registered Recovery: 2021-05-23 09:08:11 UTC API::356118:: Starting dbaas recovery process * Recovery state: finished * Progress PCT: 100.0 ************************************************** * API History: API steps API:: NEW PROCESS 356118 API:: Starting dbaas recovery process API:: Recovery using: TAG20210523T064744 ************************************************* * Backup steps -> 2021-05-23 18:08:18.599268 - API:: Logfile is /var/opt/oracle/log/yodb/orec/orec_2021-05-23_18:08:11.784556356130.log -> 2021-05-23 18:08:19.732676 - API:: RUNNING IN NON DATAGUARD ENVIRONMENT -> 2021-05-23 18:08:19.734479 - API:: Data mode only -> 2021-05-23 18:08:19.734781 - API:: Stopping GRID DB -> 2021-05-23 18:08:57.961094 - API:: State GRID DB -> 2021-05-23 18:08:58.446900 - API:: Executing SHUTDOWN ABORT...2021-05-23 18:08:58.451394 - Output from sql shutdown abort is: -> 2021-05-23 18:09:05.740530 - WARN: Tag validation will be performed when the DB instance at MOUNT stage.2021-05-23 18:09:05.740754 - API:: Catalog mode: 2021-05-23 18:09:05.741527 - Disabled -> 2021-05-23 18:09:10.555838 - API:: Checking prerequirements before recovery process. -> ORA-01034: ORACLE not available2021-05-23 18:09:12.045816 - API:: DB Status : 0 -> 2021-05-23 18:09:22.882149 - API:: Checking for PFILE in file system... -> 2021-05-23 18:09:22.901215 - API:: PFILE is missing in file system and will be recovered. -> 2021-05-23 18:09:25.093128 - API:: PFILE recovered to file system. -> 2021-05-23 18:09:25.093269 - API:: PFILE is present in file system. -> 2021-05-23 18:09:25.421744 - API:: Changing instance to MOUNT stage. -> 2021-05-23 18:09:25.422018 - API:: Shutting down the database...2021-05-23 18:09:25.427312 - DEBUG: SQL Executing set hea off set pagesize 5000 set linesize 400 set newpage none set feedback off prompt =START= shutdown abort; quit 次頁に続く