Compress files and folders over the network without using rsync
The following command ssh’s to your remote server, tar + gzips a directory, and then outputs the compressed stream to your local machine. This is a good alternative to rsync. Even though rsync can...
View ArticleAmazon S3 Backup script with encryption
With the advent of cloud computing, there have been several advances as far as commercial cloud offerings, most notably Amazon’s EC2 computing platform as well as their S3 Storage platform. Backing up...
View ArticleScheduled antivirus scans to prevent viral injections on user generated content
When dealing with high traffic sites, especially media based or community based sites, there is always the risk of javascript, virus, XSS or other malicious injection of badness when giving a community...
View ArticlePatch Scanning / Information Gathering Script for RedHat / CentOS
With all the patch management solutions, local repositories and other options, it is rarely necessary to manually scan all servers on your network to build a “report” of the patch levels in your...
View ArticleAutomated Amazon EBS snapshot backup script with 7 day retention
Hello there! We have recently been implementing several different backup strategies for properties that reside on the Amazon cloud platform. These strategies include scripts that incorporate s3sync and...
View ArticleAdd your Dynamic IPs to Apache HTACCESS files
Hello! We threw together a quick & simple script to dynamically update your .htaccess files within apache to add your dynamic IP address to the allow / deny fields. If you’re looking to password...
View ArticleSVN Pre Commit Hook : Sanitize your Code!
Hello, Dealing with several different development environments can be tricky. With SVN specifically, it is ideal to have some “pre-flight” checks in order to make sure some basic standards have been...
View ArticleSVN Offsite Backup Script : Secure offsite backup solution for SVN to Amazon S3
Hi there! Backing up your code repository is important. Backing up your code repository to an off-site location in a secure manner is imperative. Throughout our travels and experience utilizing the SVN...
View ArticleHow to detect and mitigate DoS (Denial of Service) Attacks
Greetings, Occasionally with a very busy site, being behind a hefty web stack does not always have enough capacity to mitigate a significant surge in artificial (DoS) requests. Detecting and mitigating...
View ArticleCentralized Backup Script
Hello There! I thought I’d share a backup script that was written to consolidate backups onto one server instead of spreading the backup process across several servers. The advantages are somewhat...
View Article
More Pages to Explore .....