Script: RMAN backup shell on linux
# make direcory for backset file and scripts file,in my case /backup/db_bak cd /backup/db_bak mkdir scripts logs rman # the following is contents of rman_backup_sh vi /backup/db_bak/scripts/rman_backup_sh #!/bin/bash # author: anbob.com # desc: rman backup database level 0 # contact: weejar@gmail.com export ORACLE_HOME=/oracle/product/11.2.0/db_1 export ORACLE_SID=pora40 RMAN_LOG_FILE=/backup/db_bak/logs/rman_database_backup.`date +%y%m%d%H%M`.out # —————————————————————– # Initialize the log file. # … Read more