maj readme et ntfy dans backup rman

maj readme et ntfy dans backup rman
This commit is contained in:
Yacine31
2023-08-08 12:30:10 +02:00
parent 40b7c9d033
commit ab21fe8bf0
2 changed files with 2 additions and 3 deletions

2
readme
View File

@@ -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'

View File

@@ -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
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------