<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Beautyindesign.com &#187; leopard server</title>
	<atom:link href="http://beautyindesign.com/tag/leopard-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://beautyindesign.com</link>
	<description>Web Design and Development Training and Tutorials</description>
	<lastBuildDate>Mon, 06 Dec 2010 13:12:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Surviving  a Server Crash</title>
		<link>http://beautyindesign.com/blog/surviving-a-server-crash/</link>
		<comments>http://beautyindesign.com/blog/surviving-a-server-crash/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 02:35:46 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[leopard server]]></category>

		<guid isPermaLink="false">http://beautyindesign.com/wordpress/?p=125</guid>
		<description><![CDATA[Due to the remote nature of our employees, my company purchased a mac-mini and Leopard Server to fix our collaboration problems.  I personally was excited about it because I was tired of collaborating through email, shared hosting accounts, etc.  So we bought it, worked on, became reliant on it, and then it crashed.  So what [...]]]></description>
			<content:encoded><![CDATA[<p>Due to the remote nature of our employees, my company purchased a mac-mini and Leopard Server to fix our collaboration problems.  I personally was excited about it because I was tired of collaborating through email, shared hosting accounts, etc.  So we bought it, worked on, became reliant on it, and then it crashed.  So what saved us from a bigger nightmare than just a server crash?  Backups!</p>
<p><span id="more-125"></span>We became so dependant on the server over the last month that when it crashed it completely shut our dev work down for a day.  We are able to use one central account for project management (<a title="Daylite" href="http://marketcircle.com/" target="_blank">Daylite</a>), manage our graphics properly (<a href="http://www.adobe.com/products/creativesuite/versioncue/" target="_blank">Version Cue</a>), host dev work and even some non-mission critical, live websites.</p>
<p>I decided to upgrade the server over the weekend but before I did, I upgraded my local machine (which is also a Leopard Server) to make sure everything was fine with the update.  The local upgrade went without a flaw so I assumed (did you get that &#8211; <em>assumed</em>) it would be ok to upgrade the server as well.</p>
<p>I proceeded to install the update using Apple&#8217;s auto-updater.  Everything went fine until a big ugly dialog popped up &#8220;Unable to install update&#8221;&#8230;&#8230; &lt;system resets&gt; &#8230;&#8230; &lt;flashing folder with a big x&gt;&#8230;.. &lt;flashing apple icon&gt; &#8230;.. &lt;alternating between the two&gt;.</p>
<p>So I immediately contacted Brian, who runs <a href="http://macminicolo.net" target="_blank">macminicolo.net</a>, to see what he said.  His immediate reply was mine:  &#8220;Uh oh&#8221;.</p>
<p>To make a long story short: Apple&#8217;s update was a partial update, leaving system files damaged.  And to make matters worse, when trying to restore from a Time Machine backup, it couldn&#8217;t even recognize the hard drive!  At this point, I was in a panic.  I had several projects that needed to get done ASAP, a graphic designer that needed to access files, and several live sites that weren&#8217;t live anymore.</p>
<p>With the excellent help of Brian Stucki, we installed a fresh copy of Leopard Server.  I then looked at the Time Machine backup and surfed the files, mentally creating a backup strategy.  Surprisingly, it was very easy!  I opted not to use Time Machine&#8217;s GUI to restore files because it was too time consuming and more of a delicate situation than just restoring a file or two.  After inspecting the files, I fired up Server Admin, setup the ftp, web, open directory, and MySQL services.  I then just copied everything back to where they were and it worked!  I was leery on how to restore MySQL because I am used to just importing SQL files but it turns out copying over the actual MySQL files (.myd files, etc.) did the trick.  I was amazed at how simple it was to restore everything.  From the second I logged into the fresh, new server install, it took me an hour to get everything up and going again.</p>
<p>Though it was easy, I did run in to some snags along the way.  Due to copying the files from Time Machine, the old permissions carried over.  This wasn&#8217;t much of a hassle as it took very little time to change them.  Two of the MySQL tables became corrupt as well.  Fortunately, it was just a matter of recreating the tables.</p>
<p>Once the server, files, graphics, etc. were all in place I ran to the web browser to test all the sites and everything was fine.  The only caveat was Time Machine&#8217;s old backup.  The last backup Time Machine performed was missing about 45 minutes of work.  It wouldn&#8217;t have been a big deal to recreate it but that&#8217;s where my second backup system came in:  <a href="http://www.sugarsync.com/" target="_blank">SugarSync</a>.  I was able to download the latest files from SugarSync and all was fine.</p>
<p><strong>Lesson learned:  Backup all the time!</strong></p>
<p>On top of that lesson, I&#8217;ve learned another:  use multiple backups!  Because of this incident, I&#8217;m looking for a third way to backup.</p>
<p>Many thanks to Apple for Time Machine, Brian for his excellent support at macminicolo.net, and SugarSync for a great sync-backup tool!</p>
]]></content:encoded>
			<wfw:commentRss>http://beautyindesign.com/blog/surviving-a-server-crash/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

