RMAN in DataGuard
edited Oct 27, 2011 8:54PM in High Availability Data Guard, Sharding and Global Data Services (MOSC) 1 commentAnswered
Hi all,
My db is 11R1 64 bit on linux os.
From http://download.oracle.com/docs/cd/B28359_01/backup.111/b28270/rcmconfb.htm and inside RMAN in DataGuard env, I just only use RMAN to backup primary database not standby. So, Do I need configure DB_UNIQUE_NAME for primary database? Or just use RMAN like non-dataguard env. My script look like:
----------------------------------------
export ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1
export ORACLE_SID=xbank
export ORACLE_BASE=/u01/app/oracle
export PATH=$PATH:${ORACLE_HOME}/bin
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export DATE=$(date +%Y-%m-%d)
$ORACLE_HOME/bin/rman target / msglog /u01/app/log/rman_xbank_level_0_${DATE}.log<< EOF
0