build-backup-cr

build_backup_cr
code format="bash"
 * 1) !/bin/bash


 * 1) Pull applications from Hostedit

FQHOST=`cat /etc/hosts | grep $(hostname) | awk '{print $2}'` SHOST=`echo $FQHOST | tr "." " " | awk '{print $1}'` DOMAIN=`echo $FQHOST | tr "." " " | awk '{print $2"."$3"."$4}'`

URL="" wget -q -O /tmp/$FQHOST $URL

APP1=`cat /tmp/$FQHOST | grep Application1 | sed -e :a -e 's/<[^>]*>//g;/]*>//g;/]*>//g;/]*>//g;/]*>//g;/]*>//g;/]*>//g;/]*>//g;/</N;//ba' | perl -ane '/Application8 (.*) Email8/; print $1'`

echo " 1) What is the DNS name of the server? `hostname --fqdn`

2) What is the name (and version) of the backup software installed or is this a Media Server install? `cat /usr/openv/netbackup/bin/version`

3) What operating system and version is installed? `uname`

4) Was the backup software installed and configured properly (please specify name of IQ/OQ or SMOG, if any)? Yes

5) What date should the server be added to backup schedule (modify "Date/time needed" accordingly)? ASAP

6) Will this system use a load balancer (if yes, will static routes need to be added)? NO

7) What is the location of the server? `cat /tmp/$FQHOST | grep -A1 "Location" | sed -e :a -e 's/<[^>]*>//g;/</N;//ba' | tail -1 | awk '{print $1}'`

8) What is the total amount of data to be backed up? less than 250gb

9) What application is running on the server (Notes, SQL, Oracle, DB2, Sybase, etc.)? $APP1,$APP2,$APP3,$APP4,$APP5,$APP6,$APP7,$APP8

10) Is this a Clustered Server?  (If yes, Please enter servers that make up cluster)

11) Any additional notes?

12) Is this server rebuilt or a new build (i.e. does the server name already exist)? New Build "; code Type in the content of your page here.
 * 1) rm /tmp/$FQHOST