UPDATE: if anyone knows of a non-broken syntax highlighting plugin for wordpress that supports bash or some other shell syntax, let me know :-/
Apache logs, database backups, etc., on busy web sites, can get large. If you rotate logs or perform backups regularly, they can get large and numerous, and as we all know, large * numerous = expensive, or rapidly filling disk partitions, or both.
Amazon’s S3 service, along with a simple downloadable suite of tools, and a shell script or two can ease your life considerably. Here’s one way to do it:
- Get an Amazon Web Services account by going to the AWS website.
- Download the ‘aws’ command line tool from here and install it.
- Write a couple of shell scripts, and schedule them using cron.
Once you have your Amazon account, …[Read more]