Bash - Rotate Log w/AWS S3 Backup

1
2
timestamp=`date +%Y%m%d`
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Creates a compressed log file, empties the original and copies the archive to an AWS S3 Bucket folder.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.