Logs Backup Process

Author: Michelle McCausland

When an outage occurs it is important to run the outage scripts that we have in place. These outage scripts take a backup of all relevant logs, heap and thread dumps and store them in a secure location to be used for investigation later.

Some support items which are not outage related will require the logs in order to investigate further. It is important for those creating the support tickets to identify these tickets and back up logs accordingly.

While it is possible to run the outage scripts to just back up the logs, this can only be done for the current day and cannot be run for a date in the past.

Relevant support logs should be backed up to:

/export/home/scotty/backup/support_logs>

And should be zipped and named with the support ticket reference e.g.

CCSUPPORT-1234.zip

The reference to the location of these files should then be added to the associated support ticket for reference once the ticket has been assigned.

This file should be removed after a suitable period of the support ticket being closed out.


How to Backup the logs

Some useful links:

http://www.cyberciti.biz/faq/mv-command-howto-move-folder-in-linux-terminal/

http://www.cyberciti.biz/faq/creating-a-tar-file-linux-command-line/