Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
rb:backupdnsconfig2 [10/10/2013 15:21]
127.0.0.1 external edit
rb:backupdnsconfig2 [03/10/2014 09:57] (current)
andrew
Line 6: Line 6:
   #Purpose is to back up DNS config and zone files.   #Purpose is to back up DNS config and zone files.
   ​   ​
-  #This is intended to be run from cron, the output is picked up by ls-nocdev01 ​using scope account+  #This is intended to be run from cron, the output is picked up by dev01 using scope account
   ​   ​
   ​   ​
Line 12: Line 12:
   ​   ​
   OUTPUTFILEPATH=/​home/​scope/​BINDbackup   OUTPUTFILEPATH=/​home/​scope/​BINDbackup
-  OUTPUTFILE=${OUTPUTFILEPATH}/​gy-asp-inet01-bindbackup-${DATE}.tar+  OUTPUTFILE=${OUTPUTFILEPATH}/​inet01-bindbackup-${DATE}.tar
   FILEOWNER='​scope:​netops'​   FILEOWNER='​scope:​netops'​
   ​   ​
   ​   ​
   SENDEMAIL=no   SENDEMAIL=no
-  EMAILSUBJECT="​gy-asp-inet01 - BIND Backup"​+  EMAILSUBJECT="​inet01 - BIND Backup"​
   ​   ​
   #e-mail distribution list   #e-mail distribution list
-  dist1="​globalsysops@igt.com"+  dist1="​support@xxx.com"
   ​   ​
   TMPMAILFILE=/​tmp/​BINDBackup-$$   TMPMAILFILE=/​tmp/​BINDBackup-$$
Line 37: Line 37:
   ​   ​
   echo "To: ${dist1}"​ > ${TMPMAILFILE}   echo "To: ${dist1}"​ > ${TMPMAILFILE}
-  echo "From: BINDbackup@gy-asp-inet01.prod.wagerware.net" >> ${TMPMAILFILE}+  echo "From: BINDbackup@inet01.2ld.1ld.net" >> ${TMPMAILFILE}
   echo "​Subject:​ ${EMAILSUBJECT} ${MONTHTEST} " >> ${TMPMAILFILE}   echo "​Subject:​ ${EMAILSUBJECT} ${MONTHTEST} " >> ${TMPMAILFILE}
   ​   ​

rb/backupdnsconfig2.txt ยท Last modified: 03/10/2014 09:57 by andrew