Update backup_rman.sh
This commit is contained in:
@@ -64,25 +64,6 @@ f_print()
|
|||||||
echo "[`date +"%Y/%m/%d %H:%M:%S"`] : $1" >> $BKP_LOG_FILE
|
echo "[`date +"%Y/%m/%d %H:%M:%S"`] : $1" >> $BKP_LOG_FILE
|
||||||
} #f_print
|
} #f_print
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
|
||||||
# fonction de traitement des options de la ligne de commande
|
|
||||||
#------------------------------------------------------------------------------
|
|
||||||
f_options() {
|
|
||||||
|
|
||||||
case ${BKP_LEVEL} in
|
|
||||||
"FULL")
|
|
||||||
BKP_FULL=TRUE;
|
|
||||||
;;
|
|
||||||
"INCR")
|
|
||||||
BKP_FULL=FALSE;
|
|
||||||
;;
|
|
||||||
*) f_help 2;
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
} #f_options
|
|
||||||
|
|
||||||
|
|
||||||
#----------------------------------------
|
#----------------------------------------
|
||||||
#------------ MAIN ----------------------
|
#------------ MAIN ----------------------
|
||||||
#----------------------------------------
|
#----------------------------------------
|
||||||
@@ -107,8 +88,6 @@ done
|
|||||||
|
|
||||||
[ "${ORACLE_SID}" ] || f_help 2;
|
[ "${ORACLE_SID}" ] || f_help 2;
|
||||||
|
|
||||||
# f_options
|
|
||||||
|
|
||||||
# positionner les variables d'environnement ORACLE
|
# positionner les variables d'environnement ORACLE
|
||||||
export ORACLE_SID
|
export ORACLE_SID
|
||||||
ORAENV_ASK=NO
|
ORAENV_ASK=NO
|
||||||
|
|||||||
Reference in New Issue
Block a user