Tag: Automation

  • Emailed backup of a database via cron – Attaching files via command line

    Sometimes people want an easy offsite backup option for important databases or files, and having a cron to automate that can be helpful. One of our customers had such a case so i wrote a shell script which emailed him a copy of his database every day. Since i thought it was a handy thing…

  • WordPress mass update script 3.4

    This script will search /var/www (changeable in a variable) for any wordpress installs and make sure its upgraded to the latest version. It will run a backup to /root/wp_upgrade/ of all files and database before doing anything with the site in case of major catastrophe (make sure you have spare disk space if your sites…

  • Restarting Apache on deploy

    Often we have customers who have larger websites they deploy, or even multiple websites they deploy , and they need the apache cache cleaned or even the application restarted. Often the reason people want this is so developers do not need to login with SSH, do not need root access, and things are just a…

  • Installer updates, Glassfish, Confluence and more…!

    One of the services we provide includes maintaining a set of installer scripts for automating common tasks and setups our customers like to use. Those help you by taking the pain and time out of getting setup and serving the content you want to publish. From our tracking system some of the most significant changes…

  • Mysql Master/Master Replication & File sync for quick easy scaling or load balance

    A lot of our customers often need a quick easy way to scale up without moving to a new host or changing IP, or even just want an overseas copy of their site, so this is a brief tutorial on how to duplicate your server, and have the database and files replicate between the 2…

  • WordPress mass update script 3.3.2

    This script will search /var/www (changeable in a variable) for any wordpress installs and make sure its upgraded to the latest version. It will run a backup to /root/wp_upgrade/ of all files and database before doing anything with the site in case of major catastrophe (make sure you have spare disk space if your sites…

  • Monitoring your server

    Its always a good option to have monitoring, and there are a lot of options available. If you are interested in uptime and notifications, you can use a service like http://pingability.com If you are interested in making sure services are up and running, and have more time to spare there are a lot of amazing…

  • Cron script for checking disk space

    Here is script for those that interested in not installing a daemon like monit, and just rely on a simple bash script to send notifications when the disk space is low. It is a quite common of a server crashing even though it has been well configured, that rotates logs, etc, but still receives an…

  • WordPress mass update script 3.3.1

    This script will search /var/www (changeable in a variable) for any wordpress installs and make sure its upgraded to the latest version. It will run a backup to /root/wp_upgrade/ of all files and database before doing anything with the site in case of major catastrophe (make sure you have spare disk space if your sites…

  • WordPress mass update script 3.3

    This script will search /var/www (changeable in a variable) for any wordpress installs and make sure its upgraded to the latest version. It will run a backup to /root/wp_upgrade/ of all files and database before doing anything with the site in case of major catastrophe (make sure you have spare disk space if your sites…