Thursday, November 25, 2010

user managed backup script for EBS R12

mkdir /backup/WEBBUAT_25NOV2010
sh stopWEBBUAT
sleep 100
nohup tar -cvzpf /backup/WEBBUAT_06AUG2010/webbuat.tar.z /u01/uatdb /u01/uatap &
date
sleep 4 h # Pauses 4 hours!
sh startWEBBUAT
sleep 10
echo "complete"


tar -xvzpf filename

mkdir APPS_`date +”%Y-%m-%d-%p”
mkdir DB_`date +”%Y-%m-%d-%p”


Regards,
Sukhwinder Singh.
 .

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

There was an error in this gadget