post-thaw-script (Oracle)

#!/bin/sh
if [ "$(id -u)" -eq "0" ]; then
exec su oracle -c /oracle/oracle11g/DBA_SCRIPTS/post-thaw.sql
fi
###################################
##IF USER WANTS TO RUN A ARCHIVELOG AND CONTROLFILE BACKUP AFTER TAKING THE SNAP OF VM. HE CAN INSTALL ORACLE IDA ON THE GUEST VM AND USE BELOW SCRIPT AS SAMPLE AND MODIFY AND RUN AN ARCHIVE LOG AND CURRENT CONTROL FILE BACKUP. THIS MAKE THE VM CRASH CONSISTENT TO THIS POINT IN TIME.
#########################################
##if [ "$(id -u)" -eq "0" ]; then
##exec su oracle -c /oracle/oracle11g/DBA_SCRIPTS/consistent-archivelog-backup.rman
##fi

Loading...