1 minutes readSimple Shell Script for Scheduling RMAN Backup Scripts

Reader Mode
Note:
1. This Shell Script create system date directory and move old rman backup set into.
2. Then it will call bkp.sql script
################bkp.sh##################################

cd /home/oravis/rman_backup/datafile
mkdir `date ‘+%d%m%y’`
mv * /home/oravis/rman_backup/datafile/`date ‘+%d%m%y’`
cd /d01/oravis/db/tech_st/11.1.0
. VIS_aflnoida.env
rman target /
@/home/oravis/bkp.sql
EOF

Related Articles

Responses

Your email address will not be published. Required fields are marked *

Password Reset
Please enter your e-mail address. You will receive a new password via e-mail.