Jon Brown Designs

Apps

  • BeFit for MacOS
  • BeFit for iOS
  • MacOS Apps
  • iOS Apps
  • Wordpress Plugins
  • Sample Code

Blog

Jon Brown Designs

Apps

  • BeFit for MacOS
  • BeFit for iOS
  • MacOS Apps
  • iOS Apps
  • Wordpress Plugins
  • Sample Code

About

Support

Blog

  • Current Posts
  • Archives
Blog Cronjob

2010

III Syncing a failover website : Scheduling the sync


May 31, 2010

Tags : backup cronjob schedule

Categories: osx-system-administration


So now we have our backup script, we have our secure SSH tunnel between the two servers and we have successfully synced our two databases and our files. Now we just have to schedule this task so that we do not have to manually run this each time we need to synchronize our systems. On Mac OSX Servers you have two options you can use Crontab and run a Cronjob, or you can use Launchd. If your running a Linux server then your pretty limited to just a Cronjob. We...

II Syncing a failover website : The Sync script


May 22, 2010

Tags : backup bash-script cronjob mysql schedule sync

Categories: osx-system-administration


In this article we are picking up where we left off, we now have the ability to connect from our primary server to our secondary server without the need to enter a password with the help of a secret key. If you are lost at this point please refer to the last article Syncing a failover website : Creating an SSH key. At this point all we need to do is setup the bash script. We will create the script to log all of its activity so that we know...

I Syncing a failover website : Creating an SSH key


Mar 12, 2010

Tags : backup cronjob key schedule ssh-tunnel

Categories: osx-system-administration


Recently at our organization we were charged with the task of creating an auto failover solution for our websites. Basically the idea here is that we have our web server sitting in a data center but if for some reason the server were to ever go down then the website would fail over to a second server where a duplicate of the website is waiting to be accessed in the event that the primary ever had an issue. This is doable but it requires that you have all your ducks...
Copyright © 2008 ~ - All Rights ReservedProudly Hosted on Github