Category: Sysadmin

Systems Administration

Backing up huge logs

Log files were getting huge (12GB’s and up) on the production machine, so I decided to compress them and clean them up.

Until I learn how to use logrotate, I am doing it in a simpler way. Here is the script for later reference.