January 2, 2023

Shell Script to run preclone on dbtier in EBS R12

 

Shell Script to run preclone on dbtier


vi /backup/dbpreclone.sh

#!/bin/bash

. /RUP10F/db/tech_st/11.2.0/UAT_ccuine18.env   #This is database env file.

cd /RUP10F/db/tech_st/11.2.0/appsutil/scripts/UAT_ccuine18

perl adpreclone.pl dbTier <<EOF   

appsuat   # Provide apps password as per your env

EOF

 

$ chmod 775 /backup/dbpreclone.sh

 

Now schedule it in crontab

crontab -e

0 0 * * * /backup/dbpreclone.sh

No comments:

Post a Comment

Oracle Database 26ai Installation Using RPM on Oracle Linux 9 (OEL 9) – Step-by-Step Guide

  In this post I will describe the installation of Oracle Database 26ai 64-bit on Oracle Linux 9 (OL8) 64-bit. The installation requires a m...