Tuesday 23 April 2013

As part of the preclone what files need to be backup?

Preclone:
The steps which you performed before clonning is called preclone.

====


Create one directory with today date and backup all files.as i want to clone ebstest from ebsoltp instance which is mine production/source.

mkdir ebstest_23apr2013
chmod -R 777 ebstest_23apr2013
cd ebstest_23apr2013
mkdir backup
cd backup
mkdir appl 10.1.2 10.1.3 db inst
chmod 777 *
cd db
mkdir rdbms
chmod -R 777 rdbms
cd rdbms
cd ../../appl

cp $APPL_TOP/*.env .
cp $APPL_TOP/admin/adovars.env .
cp $APPL_TOP/admin/adpltfrm.txt .
cp $APPL_TOP/admin/topfile.txt .
cp $INST_TOP/appl/admin/*.env .
cp $FND_TOP/resource/wf* .
cp $FND_TOP/resource/WF* .
cp -R $FND_TOP/secure/* .
cp $OA_HTML/env.txt .
cp $APPL_TOP/admin/adconfig.txt .
mkdir oahtml fndtop msc
cp $FND_TOP/admin/template/appsweb*.cfg ./fndtop
cp $OA_HTML/bin/appsweb*.cfg ./oahtml
cp $MSC_TOP/bin/MSCSLD* ./msc
cd ../10.1.2
cp -rp $INST_TOP/ora/10.1.2/network/admin/*.ora .
cp -rp $INST_TOP/ora/10.1.2/network/admin/*.cfg .
cp -rp $INST_TOP/ora/10.1.2/forms/server/*.env .
cp -rp $INST_TOP/ora/10.1.2/forms/server/*.cfg .
cp -rp $INST_TOP/ora/10.1.2/forms/server/*.sh .
cd ../10.1.3
cp -rp $INST_TOP/ora/10.1.3/network/admin/*.ora .
cp -rp $ORA_CONFIG_HOME/10.1.3/Apache/Apache/conf/*.conf .
cp -rp $ORA_CONFIG_HOME/10.1.3/Apache/Apache/conf/osso .
cp -rp $INST_TOP/ora/10.1.3/opmn/conf/*.xml .
cp -rp $INST_TOP/ora/10.1.3/config/* .
cp -rp $INST_TOP/ora/10.1.3/*.env .
cp -rp $INST_TOP/ora/10.1.3/deconfig/* .
cp -rp $INST_TOP/ora/10.1.3/j2ee/* .
cp -rp $INST_TOP/ora/10.1.3/javacache/admin .

cp -rp /u01/ebsapp/inst/* . &

Database side backup below files
==================================

cp $ORACLE_HOME/*.env .
cp $TNS_ADMIN/*.ora .
cp $ORACLE_HOME/appsutil/*.xml .
cp $TNS_ADMIN/*.ora .
cp $ORACLE_HOME/dbs/init*.ora .
cp $ORACLE_HOME/appsutil/*.xml .
cp $ORACLE_HOME/dbs/init*.ora .

Responsiblities if needed
===========================

nohup FNDLOAD apps/******** 0 Y DOWNLOAD $FND_TOP/patch/115/import/afscursp.lct user_resp_ebstest.dat FND_USER &

nohup FNDLOAD apps/****** 0 Y DOWNLOAD $FND_TOP/patch/115/import/afscprof.lct profile_ebstest.dat PROFILE & 

==========

Export of any schema,dblinks and etc.

Postclone steps:
The steps which are performed after clonning is called postclone steps.

To check postclone steps click here
http://abduulwasiq.blogspot.in/p/postclone-steps.html


Thanks for visiting my blog....

No comments:

Post a Comment