maj readme et ntfy dans backup rman
maj readme et ntfy dans backup rman
This commit is contained in:
2
readme
2
readme
@@ -18,7 +18,7 @@ cloner le repository :
|
|||||||
|
|
||||||
1. Exécution Pre- install :
|
1. Exécution Pre- install :
|
||||||
-----------
|
-----------
|
||||||
ansible-playbook -i hosts oracle-db-preinstall.yml
|
ansible-playbook -i hosts oracle-db-preinstall.yml -e 'ansible_python_interpreter=/usr/bin/python3'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -170,8 +170,7 @@ SUBJECT="$(hostname)-${ORACLE_SID} : RMAN Backup"
|
|||||||
|
|
||||||
if [ ${ERR_COUNT} -ne 0 ]; then
|
if [ ${ERR_COUNT} -ne 0 ]; then
|
||||||
mutt -s $SUBJECT ${MAIL_RCPT} < ${BKP_LOG_FILE}
|
mutt -s $SUBJECT ${MAIL_RCPT} < ${BKP_LOG_FILE}
|
||||||
else
|
curl -H "t: Erreur RMAN base ${ORACLE_SID} sur le serveur $(hostname)" -d "$(cat ${BKP_LOG_FILE})" -L https://ntfy.axiome.io/backup-rman
|
||||||
mutt -s $SUBJECT ${MAIL_RCPT} < ${BKP_LOG_FILE}
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user