Simple Shell Script for Scheduling RMAN Backup Scripts
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
Responses