###############################################################################
#                                                                             #
# This is an example Advanced Recovery Configuration file for a customized    #
# recovery of an Oracle database.                                             #
#                                                                             #
# Use this file by modifying the values for the applicable options. Once the  #
# changes are complete, remove the preceding hash mark (#) to uncomment the   #
# lines containing the changed options. Upload the modified file to the       #
# Rubrik Mount or Clone menu.                                                 #
#                                                                             #
# The modified values override the values from the source database when using #
# an Advanced Recovery Options file.                                          #
#                                                                             #
# Any custom directory paths which are specified in this file must exist on   #
# the target before triggering the Live Mount or Clone operation.             #
#                                                                             #
# See the CDM user guide for more information about using these parameters.   #
#                                                                             #
# Using Custom Pfile:                                                         #
#   Specify only these parameters in the configuration file when using a      #
#   custom pfile and an Advanced Recovery Configuration file:                 #
#     - ORACLE_HOME                                                           #
#     - SPFILE_LOCATION                                                       #
#     - DB_CREATE_ONLINE_LOG_DEST_* (supported for Live Mount only)           #
#   Add other parameters to the custom pfile.                                 #
#                                                                             #
# Using Clone Database Name:                                                  #
#   When a custom database name is specified for a Clone operation, Rubrik    #
#   recommends either of the following sets of parameters:                    #
#     - DB_FILE_NAME_CONVERT, LOG_FILE_NAME_CONVERT, PARAMETER_VALUE_CONVERT  #
#     - CONTROL_FILES, DB_CREATE_FILE_DEST                                    #
#                                                                             #
# Using Live Mount or Clone with DB name change:                              #
#   When a custom database name is specified for a Live Mount or Clone        #
#   operation to the source host or RAC, specify all of the following         #
#   parameters:                                                               #
#     - CONTROL_FILES, AUDIT_FILE_DEST, DB_FILE_NAME_CONVERT                  #
#   Additionally, specify at least one of the following parameters:           #
#     - DB_CREATE_FILE_DEST, DB_RECOVERY_FILE_DEST,                           #
#       DB_CREATE_ONLINE_LOG_DEST_n, LOG_FILE_NAME_CONVERT                    #
#                                                                             #
###############################################################################
###############################################################################
# Recovered database memory parameters:
###############################################################################
# SGA_MAX_SIZE=2G
# SGA_TARGET=2G
# PGA_AGGREGATE_TARGET=1G
# USE_LARGE_PAGES=false


###############################################################################
# Full path to the restored spfile after recovery:
###############################################################################
# SPFILE_LOCATION='/u01/app/oracle/product/dbhome/spfilerbk.ora'


###############################################################################
# Locations of the controlfiles (may be either ASM disk groups, ASM directories
# or filesystem paths):
###############################################################################
CONTROL_FILES='/u01/app/oracle/oradata/SCLONE/control01.ctl, /u01/app/oracle/fast_recovery_area/SCLONE/control02.ctl'

###############################################################################
# Default locations for Oracle-managed control files and online redo logs
# (Specify up to 5 locations):
###############################################################################
# DB_CREATE_ONLINE_LOG_DEST_1=+DG1
# DB_CREATE_ONLINE_LOG_DEST_2=+DG2
# DB_CREATE_ONLINE_LOG_DEST_3=+DG3
# DB_CREATE_ONLINE_LOG_DEST_4=/u01/log_dest_4
# DB_CREATE_ONLINE_LOG_DEST_5=/u01/log_dest_5


###############################################################################
# Locations where archived logs will be created (Specify up to 31 locations):
###############################################################################
# LOG_ARCHIVE_DEST_1='LOCATION=+DG1'
# LOG_ARCHIVE_DEST_2='LOCATION=+DG2'
# LOG_ARCHIVE_DEST_3='LOCATION=+DG3'
# LOG_ARCHIVE_DEST_4='LOCATION=+DG4'
# LOG_ARCHIVE_DEST_5='LOCATiON=+DG5'


###############################################################################
# Configuration of the Fast Recovery Area (FRA)
# (If db_recovery_file_dest is specified, db_recovery_file_dest_size must also
# be specified):
###############################################################################
# DB_RECOVERY_FILE_DEST=+FRA
# DB_RECOVERY_FILE_DEST_SIZE=3G


###############################################################################
# Default location of Oracle-managed data files:
###############################################################################
DB_CREATE_FILE_DEST=/u01/app/oracle/oradata/SCLONE/


###############################################################################
# Location of the audit records:
###############################################################################
AUDIT_FILE_DEST='/u01/app/oracle/admin/SCLONE/adump'


###############################################################################
# ORACLE_HOME path on the target Oracle host or RAC:
###############################################################################
# ORACLE_HOME='/u02/app/oracle/product/12.2.0/db_1'


###############################################################################
# NOTE: These parameters are supported when Live Mounting or Cloning an
# Oracle database.
#
# Each of these parameters may be used to alter the file paths
# of each of the database files:
# - PARAMETER_VALUE_CONVERT (substitute values in all parameters)
# - DB_FILE_NAME_CONVERT (alters the file paths for data files)
# - LOG_FILE_NAME_CONVERT (alters the file paths for online redo log files)
################################################################################
# PARAMETER_VALUE_CONVERT='STESBC','RBKTEST'
DB_FILE_NAME_CONVERT='SHED','SCLONE'
