<?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>RobPlatt.com &#187; backup</title>
	<atom:link href="http://www.robplatt.com/index.php/tag/backup/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.robplatt.com</link>
	<description>My name is Rob. Here are the things I find useful or amusing. Enjoy.</description>
	<lastBuildDate>Fri, 18 Nov 2011 19:40:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Using Robocopy and Volume Snapshots to replicate data</title>
		<link>http://www.robplatt.com/index.php/2010/03/15/robocopy-volume-snapshots-replicate-data/</link>
		<comments>http://www.robplatt.com/index.php/2010/03/15/robocopy-volume-snapshots-replicate-data/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 19:16:55 +0000</pubDate>
		<dc:creator>robplatt</dc:creator>
				<category><![CDATA[Utilities]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[replication]]></category>

		<guid isPermaLink="false">http://www.robplatt.com/?p=131</guid>
		<description><![CDATA[Lets start out with our problem. We have many desktops here at the office, and we want the user data replicated to the server so it&#8217;s included in the backups (Desktop, Documents, Pictures, Favorites, etc). We used to use roaming profiles. Though the users were not normally allowed to roam from machine to machine. The [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.robplatt.com/wp-content/uploads/2010/03/mozy-backup-shirt.jpg"><img class="alignright size-medium wp-image-134" title="mozy-backup-shirt" src="http://www.robplatt.com/wp-content/uploads/2010/03/mozy-backup-shirt-300x225.jpg" alt="" width="168" height="126" /></a>Lets start out with our problem.</p>
<p>We have many desktops here at the office, and we want the user data replicated to the server so it&#8217;s included in the backups (Desktop, Documents, Pictures, Favorites, etc).</p>
<p>We used to use roaming profiles. Though the users were not normally allowed to roam from machine to machine. The upside was, it was easy to deploy a new machine to a user, and of course, we had a copy of their files on the server if their computer failed at any time. The downside, roaming profiles can cause logon/logoff events to take longer. Permissions can get screwed up, which will prevent the profile from synchronizing. Ever have a user complain that they deleted icons on their desktop just to have them magically reappear when they rebooted? Yea&#8230; So have we.</p>
<p>We ditched roaming profiles in favor of folder redirection in Vista/7. The upside, files are on the server and included in backup. The downside, you are now working only off the server. There are obvious delays when working with large files/projects.</p>
<p>That being said&#8230; Folder redirection with offline files works well for mobile users. As they are disconnected from the network the majority of the time. Therefore, they are working locally. When they connect, files sync, and are backed up. This was not a viable solution for desktop users on our LAN.</p>
<p>The solution? RoboCopy. It&#8217;s fast, free, simple to script, and can work with Volume Snapshots (<a href="http://msdn.microsoft.com/en-us/library/bb530725(VS.85).aspx">vshadow</a>). I tried a few others, but wanted a simple script that would mirror changed files, periodically, throughout the day.</p>
<p>This following document, I found to be a great starting point.</p>
<p><a href="http://www.eggheadcafe.com/tutorials/aspnet/f6972828-1e81-4cd4-ae0c-36196a82ed25/workstation-open-file-bac.aspx">http://www.eggheadcafe.com/tutorials/aspnet/f6972828-1e81-4cd4-ae0c-36196a82ed25/workstation-open-file-bac.aspx</a></p>
<p>I downloaded <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=9D467A69-57FF-4AE7-96EE-B18C4790CFFD&amp;displaylang=en">RoboCopy</a>, familiarized myself with the <a href="http://www.mydigitallife.info/2007/05/07/robocopy-syntax-command-line-switches-and-examples/">command line parameters</a>,  and wrote a simple script to copy some folders to my server.</p>
<p>Then I worked on implementing vshadow. It was a pain at first. Namely due to the fact that no single exe will work on all platforms. Theres one for 2003/xp, theres two for vista/7/2008 (x86/x64).</p>
<p>I downloaded the <a href="http://www.microsoft.com/downloads/details.aspx?familyid=0b4f56e4-0ccc-4626-826a-ed2c4c95c871&amp;displaylang=en">Volume Shadow Copy Service SDK 7.2</a>, and started digging into it.</p>
<p>You&#8217;ll find the files you need in \Program Files\Microsoft\VSSSDK72\TestApps\vshadow\bin\&#8230; I referenced <a href="http://compuguide.info/Blog/miscellaneous/volume-shadow-copy-service-vss_e_bad_state-0x80042301/">this article</a>, which helped.</p>
<p>I wrote a script to mount a new snapshot, call my robocopy script, then delete the mount point. It errored on &#8220;<em>&#8216;dosdev&#8217; is not recognized as an internal or external command</em>&#8220;. Seems I&#8217;m missing another file. A quick google, and I picked dosdev <a href="http://www.ltr-data.se/opencode.html">up here</a>.</p>
<p>Now I can take a snapshot, and mirror user directories to their folders on the server. =)</p>
<p><a href="http://www.robplatt.com/downloads/vss-backup-script.rar">Here are the files I used.</a></p>
<p>Hope this helps someone.</p>
<p><em>p.s. the image, top-right, is a mozy.com t-shirt. i used to use mozyhome. however a good program, it doesn&#8217;t apply to this article <img src='http://www.robplatt.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </em></p>
<div class="google_generator">http://goo.gl/LJha</div>]]></content:encoded>
			<wfw:commentRss>http://www.robplatt.com/index.php/2010/03/15/robocopy-volume-snapshots-replicate-data/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Backup with CrashPlan</title>
		<link>http://www.robplatt.com/index.php/2010/02/28/backup-crashplan/</link>
		<comments>http://www.robplatt.com/index.php/2010/02/28/backup-crashplan/#comments</comments>
		<pubDate>Sun, 28 Feb 2010 19:23:36 +0000</pubDate>
		<dc:creator>robplatt</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[recovery]]></category>

		<guid isPermaLink="false">http://www.robplatt.com/?p=75</guid>
		<description><![CDATA[I use CrashPlan both personally and professionally as my backup choice. CrashPlan will let you back up to a remote server,  for a small fee, just like any other online backup software. What makes CrashPlan so unique, is that you can back up to your friends, or your other computers, for free, regardless if they&#8217;re [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.robplatt.com/wp-content/uploads/2010/02/crashplan.gif"><img class="alignright size-full wp-image-76" title="crashplan" src="http://www.robplatt.com/wp-content/uploads/2010/02/crashplan.gif" alt="" width="178" height="96" /></a>I use CrashPlan both personally and professionally as my backup choice.</p>
<p>CrashPlan will let you back up to a remote server,  for a small fee, just like any other online backup software. What makes CrashPlan so unique, is that you can back up to your friends, or your other computers, for free, regardless if they&#8217;re on your LAN or not. You can back up to multiple sources as well. For example, a PC in house, and a friends PC across town. You have the convenience of a local restore being quick, and the security that your data is off-site in case of a disaster or theft. Oh, yes, your data is encrypted. No need to worry about others seeing financial and other private information.</p>
<p>For personal use. It&#8217;s free. Though a bit limited. You can upgrade to CrashPlan+ to make use of some great additional features, like data de-duplication, real-time backups, heavier encryption, and file versioning. However, if you want it for free, it&#8217;s still the best choice out there.</p>
<p><span id="more-75"></span></p>
<p>At home, I have a portable drive attached to a PC at home that is always on. The PC itself backs up to the portable drive. My laptop, as well as some friends and family computers back up to it as well. There are about 10 PC&#8217;s backing up to me at any time. Bandwidth is not an issue, after the initial backup, as only new/changed data is backed up.</p>
<p>We went with CrashPlan at work, as well, after I had a chance to use it for awhile. It&#8217;s cheap. The server software is free, and the client software is $60 a server. You get real-time file monitoring, data de-duplication, and file versioning. We have many servers (IIS, SQL, Exchange, File, etc). We have CrashPlan on each server backing up to a remote server over a IPSEC vpn tunnel. Here&#8217;s something to keep in mind. Restoring becomes an issue for SQL and Exchange. CrashPlan will back up files, as it sees them change. During a restore you&#8217;ll find many copies of your database and log files, and not know which log file goes with which database file. CrashPlan does not have agents for these types of applications. It simply backs up files on the drive, as they change.</p>
<p>We overcame this limitation by scheduling NTBackup to back up the System State, and our database directories, for each server, every night. Then told CrashPlan to back up those backup files, and exclude the database directories. Upon a restore, you choose your most recent dump, then use NTBackup to restore the dump to the proper folder, mount your database, and you&#8217;re back online. Since CrashPlan de-duplicates data, only changed bits in the dumps get sent offsite. We may have a 40GB dump that builds every night, but only changed data is backed up.</p>
<p>Here&#8217;s another scenario I recently set up for a client. He has 4 PCs at his office, one at home, and two laptops. We installed CrashPlan on each PC. We designated one of the PCs at work as a backup server, and the PC at home as a backup server. Then configured every PC and laptop to back up to both servers. Think about that. The PCs at the office back up locally, then offsite. His laptops back up to both. In the event of a disaster, his data is safely stored offsite, either way. If he needs to restore files, he can restore them quickly from the LAN. The initial backup took quite a few days. Once the bulk of the data was backed up, very little bandwidth is needed to maintain those backup sets.</p>
<p>There is so much more that CrashPlan does. I encourage you to check it out if you haven&#8217;t before.</p>
<p>Please. Back up your computer. I hate having clients call me up, upset, because their 10 year old PC died, and they never made a backup. Most of the time they get lucky, and the data is recoverable. There have been times where the drive was too far gone.</p>
<p><a href="http://www.crashplan.com">http://www.crashplan.com</a></p>
<div class="google_generator">http://goo.gl/zYot</div>]]></content:encoded>
			<wfw:commentRss>http://www.robplatt.com/index.php/2010/02/28/backup-crashplan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

