Best IT Documents.com Blog


Sample – Unix – Nightly backup script

Posted in Data Center - SOC - NOC,O S (375) by Guest on the June 28th, 2016

Unix – Nightly backup script

For the nightly backup, UNIX’s find has an option to identify files newer than a named file.
(Tar has a newer than date option but the format doesn’t seem to be documented and I’ve never
found the right format.) I created a zero byte root only readable /etc/installed with a time stamp
just after the end of the last Linux install. A similar marker file could be used following a full
backup which could be done instead of the postinstall tar but this would take a lot more media.

#
#
# Anyone may use or modify this code for any purpose PROVIDED
# that as long as it is recognizably derived from this code,
# that this copyright notice, remains intact and unchanged.
# No warrantees of any kind are expressed or implied.
#
# Most of the time tar is run with the -r, append, option but the
# tar file must first be created before this can be used. Any small
# file in a known location will do hence /etc/shells.
cd /var/local/backup
tar -cvf backup /etc/shells >backup.log
/usr/bin/find /bin -type f -newer /etc/installed -exec tar -rvf backup {} \; >>backup.log
/usr/bin/find /etc -type f -newer /etc/installed -exec tar -rvf backup {} \; >>backup.log
/usr/bin/find /home -type f -newer /etc/installed -exec tar -rvf backup {} \; >>backup.log
/usr/bin/find /lib -type f -newer /etc/installed -exec tar -rvf backup {} \; >>backup.log
/usr/bin/find /root -type f -newer /etc/installed -exec tar -rvf backup {} \; >>backup.log
/usr/bin/find /usr -type f -newer /etc/installed -exec tar -rvf backup {} \; >>backup.log
/usr/bin/find /sbin -type f -newer /etc/installed -exec tar -rvf backup {} \; >>backup.log
/usr/bin/find /var/db -type f -newer /etc/installed -exec tar -rvf backup {} \; >>backup.log
/usr/bin/find /var/gdm -type f -newer /etc/installed -exec tar -rvf backup {} \; >>backup.log
/usr/bin/find /var/lib -type f -newer /etc/installed -exec tar -rvf backup {} \; >>backup.log
/usr/bin/find /var/local/downloads -type f -newer /etc/installed -exec tar -rvf backup {} \; >>backup.log
/usr/bin/find /var/local/logs -type f -newer /etc/installed -exec tar -rvf backup {} \; >>backup.log
/usr/bin/find /var/log -type f -newer /etc/installed -exec tar -rvf backup {} \; >>backup.log
/usr/bin/find /var/named -type f -newer /etc/installed -exec tar -rvf backup {} \; >>backup.log
/usr/bin/find /var/nis -type f -newer /etc/installed -exec tar -rvf backup {} \; >>backup.log
/usr/bin/find /var/preserve -type f -newer /etc/installed -exec tar -rvf backup {} \; >>backup.log
/usr/bin/find /var/state -type f -newer /etc/installed -exec tar -rvf backup {} \; >>backup.log
/usr/bin/find /var/yp -type f -newer /etc/installed -exec tar -rvf backup {} \; >>backup.log

chgrp wheel backup*
chmod 640 backup*
mv backup `date +%y%m%d`.tar
gzip `date +%y%m%d`.tar
mv backup.log `date +%y%m%d`.log

. /usr/local/bin/backup_to_other

 

Sample only – Always verify scripts run on your systems

Comments Off on Sample – Unix – Nightly backup script

Sample – Word – Server Installation Request Process

Posted in Business (600),Data Center - SOC - NOC,O S (375) by Guest on the June 22nd, 2016

Word – Server Installation Request Process

Server_Installation_Request_Process.doc

Comments Off on Sample – Word – Server Installation Request Process

Sample – Word – UNIX Security Checklist

Posted in Data Center - SOC - NOC,O S (375) by Guest on the June 21st, 2016

Word – UNIX Security Checklist

UNIX_Security_Checklist.doc

Comments Off on Sample – Word – UNIX Security Checklist

Sample – Word – Backup Recovery Policy 6

Posted in Business (600) by Guest on the June 14th, 2016

Word – Backup Recovery Policy 6

Backup_Recovery_Policy.doc

Comments Off on Sample – Word – Backup Recovery Policy 6

Transition Server Build Checklist

Posted in O S (375) by Guest on the June 7th, 2016

Server build requirements, objectives, assumptions, dependencies, completion criteria, timeline review completed.

Server build issues / exceptions with technical solution identified and documented as appropriate (issues, action items, risks, etc…).

Server build exceptions and solutions to issues with technical solution agreement completed.

 

Server Build

Server build documenting operating system build and configuration completed.

Notify application owners after build completed – verify current configuration matches build requirements.

Server build documenting operating system build provided to support team.

 

Server Build Information

Server Image location information, as available like OSP team OS images and install process.

Monitoring / Admin Tools Documentation published – Website URL, and contact information provided.

 

Server build information provided to support team

 

Server Security

Initial security Health check scan (automatic or manual) per servers build with compliance with governing security document.

 

Results:

1.    Each factory manager has a defined list of their production lines

2.    Each manager knows the number of steps required to produce their end product

3.    The workflow is defined through MS project and validated by the validation team

4.    Once the integrated project plan is baselined, transition is a fixed schedule with minimal unknowns

5.    We can determine if we were ahead or behind schedule by reviewing task completion dates

Comments Off on Transition Server Build Checklist