<?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>MCB Systems &#187; backup</title>
	<atom:link href="http://www.mcbsys.com/techblog/tag/backup/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mcbsys.com/techblog</link>
	<description>Custom Software and I.T. Services</description>
	<lastBuildDate>Mon, 06 Feb 2012 18:58:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SBS 2008 Attempts Multiple Simultaneous Backups</title>
		<link>http://www.mcbsys.com/techblog/2011/11/sbs-2008-attempts-multiple-simultaneous-backups/</link>
		<comments>http://www.mcbsys.com/techblog/2011/11/sbs-2008-attempts-multiple-simultaneous-backups/#comments</comments>
		<pubDate>Sat, 19 Nov 2011 19:13:54 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[sbs]]></category>

		<guid isPermaLink="false">http://www.mcbsys.com/techblog/2011/11/sbs-2008-attempts-multiple-simultaneous-backups/</guid>
		<description><![CDATA[I first had this issue in July 2010. SBS 2008 would attempt to run two identical backups for each one that was scheduled. The duplicate backup would fail with Microsoft-Windows-Backup event 518, “Backup started at &#8216;[date and time]&#8216; failed as another backup or recovery is in progress. Please re-run backup.” But the original backup completed [...]]]></description>
			<content:encoded><![CDATA[<p>I first had this issue in July 2010. SBS 2008 would attempt to run two identical backups for each one that was scheduled. The duplicate backup would fail with Microsoft-Windows-Backup event 518, “Backup started at &#8216;[date and time]&#8216; failed as another backup or recovery is in progress. Please re-run backup.” But the original backup completed fine, so there was no need to re-run it.</p>
<p><span id="more-1047"></span></p>
<p>A rep with Microsoft Partner Support spent quite a bit of time and effort trying to get to the root cause of this issue, but “no luck.” I decided to live with the annoying error messages in my daily report—then one day, after a reboot, I believe, they stopped. SBS 2008 was back to running only one backup as per schedule.</p>
<h3>Back with a Vengeance</h3>
<p>Then earlier this month, the issue suddenly returned, but worse: SBS was now trying to run up to five identical backup jobs at a time:</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/11/SBS-Backup-1.png" target="_blank"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="SBS Backup 1" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/11/SBS-Backup-1_thumb.png" border="0" alt="SBS Backup 1" width="354" height="273" /></a></p>
<p>I found in <a href="http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/d1cd8256-c778-4a28-aa5b-a5f75d544734" target="_blank">this thread</a> that at least half a dozen other users were experiencing the same issue. Fortunately, one of them had a good suggestion:&nbsp; manually modify the task to prevent starting a new instance if the task is already running:</p>
<ol>
<li>Open Task Scheduler.</li>
<li>Under Task Scheduler &gt; Task Scheduler Library &gt; Microsoft &gt; Windows &gt; Backup, double-click on the <strong>Microsoft-Windows-WindowsBackup</strong> task.</li>
<li>Click on the <strong>Settings</strong> tab.</li>
<li>Under <strong>If the task is already running, then the following rule applies</strong> change <strong>Run a new instance in parallel</strong> to <strong>Do not start a new instance</strong>.</li>
<li>Click on <strong>OK</strong> to save the changes.</li>
</ol>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/11/SBS-Backup-3.png" target="_blank"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="SBS Backup 3" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/11/SBS-Backup-3_thumb.png" border="0" alt="SBS Backup 3" width="354" height="265" /></a></p>
<p>This still doesn’t explain why the task tries to start multiple times in the first place. It’s certainly not the &#8220;SBS way&#8221; to have to manually edit the backup task in Task Scheduler. But at least it prevents multiple instances from attempting to start. A week later, I’m back to all green on my backup history:</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/11/SBS-Backup-4.png" target="_blank"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="SBS Backup 4" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/11/SBS-Backup-4_thumb.png" border="0" alt="SBS Backup 4" width="354" height="272" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2011/11/sbs-2008-attempts-multiple-simultaneous-backups/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Restore a Hyper-V Server to an Optiplex 960</title>
		<link>http://www.mcbsys.com/techblog/2011/01/restore-a-hyper-v-server-to-an-optiplex-960/</link>
		<comments>http://www.mcbsys.com/techblog/2011/01/restore-a-hyper-v-server-to-an-optiplex-960/#comments</comments>
		<pubDate>Sat, 08 Jan 2011 02:00:31 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[bitlocker]]></category>
		<category><![CDATA[diskpart]]></category>
		<category><![CDATA[hyper-v]]></category>
		<category><![CDATA[optiplex]]></category>
		<category><![CDATA[windows home server]]></category>

		<guid isPermaLink="false">http://www.mcbsys.com/techblog/?p=563</guid>
		<description><![CDATA[Recently I upgraded a small server to run Windows Server 2008 R2 as a Hyper-V host, with Server 2008 R2 as a guest as well. I’ve read that Windows Server Backup can restore to dissimilar hardware. That could be especially helpful in a small environment where no other servers are available. Can I restore the [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I upgraded a small server to run Windows Server 2008 R2 as a Hyper-V host, with Server 2008 R2 as a guest as well. I’ve read that Windows Server Backup can restore to dissimilar hardware. That could be especially helpful in a small environment where no other servers are available. Can I restore the entire Server 2008 host and guest to an Optiplex 960 desktop? How long will it take?</p>
<p><span id="more-563"></span></p>
<h3>Environment Details</h3>
<p>The server is a Dell PowerEdge 1900 with 4GB of RAM and two 250GB hard drives configured as RAID 1 (mirrored). As mentioned, it runs Windows Server 2008 R2 with the Hyper-V role, and it hosts a single Server 2008 R2 guest. The guest runs as a domain controller, file server, and email server. Windows Server Backup runs daily on the host, taking an image of the C: drive (containing the host operating system, 16GB) and the D: drive (containing the guest virtual machine, about 48GB used on 80GB of fixed VHD space). Backups are stored on a Seagate Freeagent Go USB drive. Windows Server Backup also runs daily on the guest, saving its backups to a VHD on the same Freeagent USB drive.</p>
<p>The desktop is an Optiplex 960 with 4GB of RAM and one 300GB hard drive. Most important is the processor, an Intel Core 2 E8400 that does support Intel Virtualization Technology and Execute Disable, so it should run Hyper-V.</p>
<h3>Recovery Options</h3>
<p>There are at least three options for recovering this guest server (which is of course the critical machine):</p>
<p>1. Restore the host and guest from the host’s backup. This makes use of (and tests) Windows Server Backup’s ability to restore to dissimilar hardware, as reported <a href="http://www.wbadmin.info/articles/hardware-independent-bare-metal-restore-windows-server-2008.html" target="_blank">here</a>.</p>
<p>2. Install Server 2008 R2 and the Hyper-V role in a small partition and apply all operating system updates. Restore the guest VHD in a larger partition. Re-create the Hyper-V guest machine using the VHD. This avoids the dissimilar hardware restore at least for the host.</p>
<p>3. Restore the guest backup directly. This would be a virtual-to-physical restore, so also dissimilar hardware.</p>
<p>Option 1 should be the fastest and the most flexible, since it would also accommodate the scenario where multiple guests needed to be restored.</p>
<h3>Recovery Experience</h3>
<p>The recovery—and this post—became quite long. You may want to skip to the “Conclusions” section, then come back to the step-by-step logs for details as necessary</p>
<h3>Time Log – Day 1</h3>
<p>Here my log of the recovery process with notes for next time.</p>
<p><strong>3:20pm</strong>&nbsp; Insert Server 2008 R2 DVD into Optiplex 960 and attach USB drive containing backup data. During reboot, check BIOS to make sure Virtualization Technology and Execute-Disable are turned on. Boot from DVD.</p>
<p><strong>3:22pm</strong> DVD boot is fast! Glad I didn’t waste time making a bootable thumb drive. Choose <strong>Repair your computer</strong>, then <strong>Restore your computer….</strong> Can’t see external USB drive as backup source. Start googling.</p>
<p><strong>3:35pm</strong> Oh yeah, the whole backup drive is Bitlocker-encrypted. Apparently Repair doesn’t detect this as there is no prompt to unlock. Press Shift-F10 to get a command prompt. Commands:<br />
<strong>manage-bde –status</strong> to show drive (it’s mounted as G:)<br />
<strong>manage-bde –unlock –h</strong> for parameter help<br />
<strong>manage-bde –unlock G: –RecoveryPassword 111111-222222-…-8888888</strong> to unlock using recovery key</p>
<p><strong>3:56pm</strong> Drive unlocked. Close command prompt. Press Refresh in Repair wizard. Backup drive found. Choose most recent backup, accept defaults (do check <strong>Format and repartition disks</strong>, do not check <strong>Only restore system drives</strong>). Do not install drivers or change Advanced options. Start restore. “This might take from a few minutes to a few hours.”</p>
<p><strong>4:06pm</strong> Drive C: restore complete.</p>
<p><strong>4:28pm</strong> Drive D: restore about half done.</p>
<p><strong>4:48pm</strong> Drive D: restore complete.</p>
<p><strong>4:51pm</strong> Drive S: restore complete. “The restored drives are not encrypted.” Remove DVD, unplug USB hard drive, Restart Now.</p>
<p><strong>4:53pm</strong> Stuck on boot. “Intel® Matrix Storage Manager” text on screen. I suspect boot drive number is off. Reboot from DVD.</p>
<p><strong>4:58pm</strong> Choose <strong>Repair your computer</strong>, then <strong>Use recovery tools….</strong> and <strong>Command Prompt</strong>. Start fiddling with <strong>diskpart</strong>:</p>
<p><strong>diskpart</strong><br />
<strong>list disk<br />
select disk 0</strong><br />
<strong>list volume</strong> – letters are all messed up<br />
<strong>select volume 1</strong><br />
<strong>remove letter=C</strong> System Reserved should not have a letter<br />
<strong>select volume 2</strong><br />
<strong>remove letter=F</strong> This is the boot volume<br />
<strong>assign letter=C<br />
active</strong> identify as the boot volume<br />
<strong>select volume 3</strong> this is already assigned drive D, so skip<br />
<strong>select volume 4</strong><br />
<strong>remove letter=E<br />
assign letter=S</strong><br />
<strong>list volumes</strong> confirm correct lettering<br />
<strong>exit</strong></p>
<p><strong>5:16pm</strong> Can’t find a boot.ini file. A little googling confirms that has been replaced in Server 2008 and above with the Boot Manager Configuration file. Let’s just reboot and see what happens.</p>
<p><strong>5:20pm</strong> This time we got far enough to see “BOOTMGR is missing. Press Ctrl+Alt+Del to restart”. Reboot from DVD.</p>
<p><strong>5:24pm</strong> Operating system is not listed for repair, so follow Method 2 of accepted solution in <a href="http://social.technet.microsoft.com/Forums/en-US/itprovistasetup/thread/e6e2399c-746a-4d45-8b77-dc6e89fd9409" target="_blank">this thread</a>. From a command prompt, type<br />
<strong>bootrec /rebuildbcd</strong><br />
and let it add C:\Windows to the boot list. Remove DVD and restart.</p>
<p><strong>5:27pm</strong> Same message:&nbsp; “BOOTMGR is missing.” Boot from DVD.</p>
<p>This time, operating system is listed, so follow Method 1 at the previous link. Select the operating system. Unfortunately there is no Startup Repair option (apparently that is only available on Windows Vista/7 media). Try a couple other <strong>bootrec</strong> options:<br />
<strong>bootrec /fixmbr</strong><br />
<strong>bootrec /fixboot</strong><br />
and reboot.</p>
<p><strong>5:40pm</strong> Same message. Giving up for today. Will contact Microsoft Partner Support for suggestions. In a real disaster recovery situation, I would be on the phone with support and/or moving to Recovery Option 2 above. In fact, since the guest’s VHD is already restored, I could probably just install a clean Server 2008 R2 with Hyper-V on top of the botched C drive and use that to load the guest. But I’d like to understand why Recovery Option 1 hasn’t worked and get it working if possible.</p>
<h3>Time Log – Day 2</h3>
<p><strong>1:10pm</strong> MS Support suggests copying the <strong>bootmgr</strong> file from \Windows\Boot\PCAT\ on the DVD to the root of C:. That location does not exist on the DVD, but it does exist on the restored OS, so I copied that to the root of C:. Voila! Windows boots and immediately reboots, telling me it failed to start. Well at least it’s finding the BOOTMGR.</p>
<p><strong>1:23pm</strong> Windows won’t start in Safe Mode either. Don’t even see a blue screen flicker by; just gets partway through the boot and restarts. (It finishes loading CLASSPNP.SYS but fails on whatever comes after that.) Start googling for how to disable Recovery Options &gt; Automatically Restart when you can’t get into the OS.</p>
<p><strong>1:55pm</strong> No joy finding out how to change boot behavior. Just for grins, try copying BOOTMGR from the root of the DVD drive to the root of C. Same problem:&nbsp; won’t start in Safe Mode, just restarts without blue screen.</p>
<p><strong>2:10pm</strong> Grasping at straws:&nbsp; trying copying <strong>bootmgr.efi</strong> from the root of the DVD to the root of C. Same problem persists.</p>
<p><strong>2:25pm</strong> Interesting thread <a href="http://www.networksteve.com/forum/topic.php?TopicId=15906" target="_blank">here</a>. Though not directly related, I see I didn’t try one of the recommend commands earlier. Try this while booted from the DVD:<br />
<strong>bootrec /rebuildbcd<br />
bootrec /fixmbr</strong><br />
<strong>bootrec /fixboot<br />
G:</strong> switch to DVD drive<br />
<strong>\boot\bootsect.exe /nt60 C:</strong> – this is new<br />
After reboot, same issue.</p>
<p><strong>2:40pm</strong> Follow an idea near the bottom of <a href="http://social.answers.microsoft.com/Forums/en-US/w7repair/thread/2b7213da-ba91-4228-af9d-2ba6b2d2edc0" target="_blank">this thread</a> and change Optiplex 960 BIOS to put SATA Operation in <strong>Legacy</strong> mode (was in <strong>RAID On</strong> mode). Still gets through CLASSPNP.SYS, but does not immediately reboot; it just hangs, won’t even accept Ctrl-Alt-Del. That’s different, so the SATA Operation mode may be the issue! Try the other two SATA modes.&nbsp; <strong>RAID Autodetect / AHCI</strong> behaves like RAID On:&nbsp; a reboot loop. <strong>RAID Autodetect / ATA</strong> … worked! It hung for a while after CLASSPNP.SYS, but then it gave me a Safe Mode logon screen.</p>
<p><strong>2:53pm</strong> After logging on, I see popup telling me “You must restart to apply these changes.” First I went in to System properties &gt; Advanced system settings &gt; Startup and Recovery and unchecked “Automatically restart”. That should stop the reboot loop, should it recur.</p>
<p><strong>2:57pm</strong> It rebooted quickly into full operating system and logged on.</p>
<p>Of course the NIC has changed. In Hyper-V manager, run Virtual Network Manager. Change the “Local Area Connection – Virtual Network” to use the External adapter in the Optiplex 960 (Intel 82567LM-3 Gigabit Network Connection).</p>
<p><strong>3:15pm</strong> Errors in Optiplex’s Server event log confirm that this machine’s name conflicts with the live server. Temporarily shut down the live server.&nbsp; Also disable port 25 on router to block incoming email (to keep email from going to the test machine when we start it.) Reboot the Optiplex.</p>
<p><strong>3:18pm</strong> Start test guest server. “The virtual machine could not be started because the hypervisor is not running.” This corresponds to Hyper-V-Worker error 3112. The third suggestion may apply:&nbsp; “If you have made changes to the Boot Configuration Data store, review these changes to ensure that the hypervisor is configured to launch automatically.” We <em>have</em> been mucking around with the boot manager. Hmm, I wonder if I had stayed with the version in the C:\Windows\Boot\PCAT folder instead of copying from the DVD… In fact, maybe I would not have had to rebuild the BCD if I’d just set the SATA mode first.</p>
<p><strong>3:30pm</strong> Reboot to DVD. Delete <strong>C:\bootmgr</strong>, <strong>C:\bootmgr.efi</strong>, and <strong>C:\bootsqm.dat</strong>. Reboot. “BOOTMGR is missing.” Oh well. Copy <strong>bootmgr</strong> from C:\Windows\boot\PCAT to C:\. Windows boots fine. (I realized later that the <strong>bootmgr</strong> file was not the issue, it was the boot <em>configuration</em>, not stored in the <strong>bootmgr</strong> file.)</p>
<p><strong>3:41pm</strong> I was thinking I would need to re-install the Hyper-V role to get the hypervisor running again, but then I came across <a href="http://blogs.msdn.com/b/virtual_pc_guy/archive/2010/01/19/hyper-v-virtual-machines-do-not-start-after-using-startup-repair.aspx" target="_blank">this article</a> that shows how to fix it with one command:<br />
<strong>bcdedit /set hypervisorlaunchtype auto</strong></p>
<p><strong>3:52pm</strong> After rebooting, try starting the guest OS again. Same problem:&nbsp; the hypervisor is not running. Now in the event log there is Hyper-V-Hypervisor error 41, “Hyper-V launch failed; Either VMX not present or not enabled in BIOS.” Huh? I <em>know</em> I enabled the virtualization stuff in the BIOS.</p>
<p><strong>4:06pm</strong>&nbsp;<a href="http://blogs.technet.com/b/11/archive/2008/04/23/running-virtual-machine-in-hpyerv-on-dell-755-box-with-e6550-processor.aspx" target="_blank">This article</a> suggests turning the BIOS options off and back on. And the first comment in <a href="http://www.shnake.com/blog/?p=419" target="_blank">this article</a> says <strong>Trusted Execution</strong> should NOT be checked in the BIOS, which I agree is counter-intuitive. Followed both suggestions, with full power-off, then started Windows.</p>
<p><strong>4:11pm</strong> No error 41 in the event log. Started guest. Failed to start because external drive is not attached to Optiplex. (The guest targets a VHD on that drive for backups.) Use Hyper-V manager to update the settings for the guest, removing that drive from the configuration.</p>
<p><strong>4:13pm</strong> Start guest again. It tells me it had not shut down successfully (it wasn’t shut down at all; it was backed up from a VSS snapshot). Let it Start Windows Normally.</p>
<p><strong>4:16pm</strong> Guest logon prompt. (Took a long time Applying Computer Settings.) After logon, “You must restart your computer to apply these changes.” Clicked Restart Now.</p>
<p><strong>4:20pm</strong> Guest logon prompt. Logged on. Event log looks fairly normal (typical warnings from a startup). Since the guest server has a fixed IP, it automatically is online at the same address as the live server, ready to accept communications from client computers and the Internet. Tested a few components:</p>
<p>Web server works<br />
Active directory works, including accepting logon from client, group policy, folder redirection<br />
Shared drives are available and allow opening QuickBooks data on test server<br />
Email server can retrieve POP mail and send mail</p>
<p>Theoretically at this point I should do a System State restore from the guest’s backup (see my article <a href="http://www.mcbsys.com/techblog/2010/05/careful-with-image-based-backup-of-exchange-and-active-directory/">Careful with Image-Based Backup of Exchange and Active Directory</a>). But I think we’ll call this good for now.</p>
<p><strong>4:33pm</strong> Shut down test server, restart live server host and guest, and re-open port 25 on router to allow inbound email.</p>
<h3>And a little bonus disaster recovery…</h3>
<p>I was anticipating a quick restore of the Optiplex from the Windows Home Server backup. Here’s what happened.</p>
<p><strong>4:53pm</strong> In Optiplex BIOS, set SATA Operation back to <strong>Raid On</strong>. Boot Optiplex from Windows Home Server PC Restore CD. Network driver was missing, but WHS provides an easy way to retrieve the required drivers (by logging on to the WHS console from another computer and copying a the “Windows Home Server Drivers for Restore” folder directly from the WHS backup). Unfortunately that’s the Windows 7 driver, and WHS restore needs the Vista driver.</p>
<p><strong>5:43pm</strong> Vista NIC driver downloaded from Dell support site and supplied via USB stick. WHS restore started.</p>
<p><strong>5:57pm</strong> Restore complete.</p>
<p><strong>5:59pm</strong> Optiplex booted back to Windows 7.</p>
<h3>Conclusions and Notes for Next Time</h3>
<p>Obviously things did not go as smoothly as hoped. Two hours and 20 minutes on the first day plus three hours and 10 minutes on the second day to get a final logon prompt for the Hyper-V guest. Five and a half hours of solid futzing.</p>
<p>The good news is that it did work; in a real disaster, the client would be back in business.</p>
<p>The other good news is that this was a test, which re-affirms the importance of testing your disaster recovery plan. Next time, I’ll know to check a few key things during the restore process:</p>
<ul>
<li>In the Optiplex BIOS, set SATA Operation mode to to <strong>RAID Autodetect / ATA</strong> before starting the restore.</li>
<li>In the Optiplex BIOS, set <strong>Virtualization</strong>, <strong>VT for Direct I/O Access</strong>, and <strong>Execute Disable</strong> to ON, but set <strong>Trusted Execution</strong> to OFF.</li>
<li>Unlock Bitllocker-protected backup drives using <strong>manage-bde</strong> commands above.</li>
<li>If just a blank screen appears after restore, use <strong>diskpart</strong> to assign correct drive letters and set the C: drive as Active.</li>
<li>If BOOTMGR is missing, copy <strong>bootmgr</strong> from C:\Windows\boot\PCAT to C:\.</li>
<li>Once the host starts, update the Hyper-V Virtual Network Manager to point to the new host NIC.</li>
<li>If the guest references unavailable and unneeded hardware (e.g. an external backup drive), remove it from the Hyper-V configuration before starting the guest.</li>
<li>If the guest won’t start because the hypervisor is not running, set it to auto-start using <strong>bcdedit</strong> command above.</li>
</ul>
<p>Maybe I’ll try this again someday and see how fast it goes with all that in mind.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2011/01/restore-a-hyper-v-server-to-an-optiplex-960/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Windows Server Backup: VSS Failure Backing Up Guest VM</title>
		<link>http://www.mcbsys.com/techblog/2010/09/windows-server-backup-vss-failure-backing-up-guest-vm/</link>
		<comments>http://www.mcbsys.com/techblog/2010/09/windows-server-backup-vss-failure-backing-up-guest-vm/#comments</comments>
		<pubDate>Thu, 23 Sep 2010 21:07:00 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[vss]]></category>

		<guid isPermaLink="false">http://www.mcbsys.com/techblog/?p=430</guid>
		<description><![CDATA[I’m setting up Windows Server Backup on a Hyper-V host (Windows Server 2008 R2). I want to do an online backup of the guest virtual machine (Windows Server 2003 R2). I’ve already registered the Hyper-V VSS writer per MSKB 958662. So why are my backups failing?

The Errors
Here’s the error in the Application event log on [...]]]></description>
			<content:encoded><![CDATA[<p>I’m setting up Windows Server Backup on a Hyper-V host (Windows Server 2008 R2). I want to do an online backup of the guest virtual machine (Windows Server 2003 R2). I’ve already registered the Hyper-V VSS writer per MSKB <a href="http://support.microsoft.com/kb/958662">958662</a>. So why are my backups failing?</p>
<p><span id="more-430"></span></p>
<h3>The Errors</h3>
<p>Here’s the error in the Application event log on the Hyper-V host:</p>
<p>Log Name:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Application<br />
Source:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Microsoft-Windows-Backup<br />
Event ID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 521<br />
Level:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Error<br />
User:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SYSTEM<br />
Description:&nbsp; The backup operation that started at &#8216;‎2010‎-‎09‎-‎13T23:25:48.855000000Z&#8217; has failed because the Volume Shadow Copy Service operation to create a shadow copy of the volumes being backed up failed with following error code &#8216;2155348129&#8242;. Please review the event details for a solution, and then rerun the backup operation once the issue is resolved.</p>
<p>That corresponds to this error in the Hyper-V-VMMS event log on the host:</p>
<p>Log Name:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Microsoft-Windows-Hyper-V-VMMS-Admin<br />
Source:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Microsoft-Windows-Hyper-V-VMMS<br />
Event ID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10137<br />
Level:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Error<br />
User:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SYSTEM<br />
Description:&nbsp; No snapshots to revert were found for virtual machine &#8216;&lt;GuestOS&gt;. (Virtual machine ID 7C88D4F5-71DF-4725-B4B2-E75181BE80EF)</p>
<h3>The Wrong Answers</h3>
<p>Googling that message takes you to MSKB <a href="http://support.microsoft.com/kb/2004712" target="_blank">2004712</a>, which tells you to enable automount, presumably on the host. However on my machine, automount is already enabled.</p>
<p>There’s a helpful <a href="http://technet.microsoft.com/en-us/library/ee692290%28WS.10%29.aspx" target="_blank">troubleshooting walkthrough</a> on TechNet relating to VSS issues and Windows Server Backup. Even though the example is a similar scenario, I don’t have any errors in the guest, so my issue must be different.</p>
<h3>Trying to Work Out the Correct Configuration</h3>
<p>Next I turned to the TechNet article <a href="http://technet.microsoft.com/en-us/library/dd252619%28WS.10%29.aspx" target="_blank">Planning for Backup</a>. In the section “Understanding online and offline backups,” I was mightily confused by this sentence:&nbsp;</p>
<blockquote><p>Volume Shadow Copy Service must be enabled on all volumes used by the virtual machine with a specific configuration.</p></blockquote>
<p>This sentence is repeated in several places on the web, but the only clarification I found was at this <a href="http://www.administrator.de/index.php?content=128113" target="_blank">German site</a>. The author asks two important questions:</p>
<ol>
<li>Does Volume Shadow Copy Service need to be enabled on the host or the guest OS?</li>
<li>What should the “specific configuration” look like?</li>
</ol>
<p>Well, my Server 2003 R2 guest has two volumes, C: for its OS and D: for the data. Volume Shadow Copies are already enabled on D:. Alas, enabling Shadow Copies on C: as well as D: did <em>not</em> allow the host backup to complete, so I disabled them again on C:.</p>
<p>Okay, what about the host? My Hyper-V host also has a C: drive for the OS and a D: drive for data, which in this case are virtual hard drive configuration and disk files. Until now I had not enabled Shadow Copies on either drive. Enabling Shadow Copies on D: was not enough; I got the same error. Additionally enabling Shadow Copies on C: also did not resolve the issue.</p>
<p>For the sake of completeness, I re-enabled Shadow Copies on the guest’s volume C:. So now Shadow Copies are enabled on both C: and D: on both the host and guest. By now, it’s no surprise that the backup failed with the same error:&nbsp; “No snapshots to revert were found for virtual machine ‘&lt;GuestOS&gt;’.”</p>
<h3>Microsoft Support</h3>
<p>Microsoft Partner Support clarified two things:</p>
<p>1. The Volume Shadow Copy Service must be enabled on the host, not the guest.</p>
<p>2. I need to check for duplicate disk signatures between the host and the guest.</p>
<p>Aha! I had in fact received warnings about disk signatures in the System event log:</p>
<p>Log Name:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System<br />
Source:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; partmgr<br />
Event ID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 58<br />
Level:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Warning<br />
Description:&nbsp; The disk signature of disk 4 is equal to the disk signature of disk 0.</p>
<p>However when I looked in diskmgmt.msc, there was no disk 4, so I figured it was some issue perhaps related to the virtual devices provided by Dell’s DRAC card. Apparently it was related to a disk attached for creating the backup…</p>
<h3>Check and Fix the Disk Signature Conflict</h3>
<p>After <a href="http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&amp;FamilyID=dd3ef22a-a586-4079-9489-c3ea14573fc4" target="_blank">downloading Sector Inspector</a> and running it on the host and guest machines, it was quickly apparent that since they both had Disk Signature 0&#215;00000080, a disk signature collision could well be my problem.</p>
<p>The fix provided my Microsoft Support was quite simple:</p>
<ol>
<li>Shut down the affected VMs. (I copied the guest VHD to another drive at this point for safety’s sake.)</li>
<li>Run the Disk Management MMC on the host.</li>
<li>Manually attach the all VHDs to the Hyper-V server via Disk Management MMC.</li>
<li>If any VHDs are attached in an “offline” state, a disk signature conflict was found. To fix the conflict, right click the disk and “online” the disk manually.</li>
<li>Once all VHD disks are attached in an “online” state, detach them one at a time.</li>
<li>Start the VMs.</li>
</ol>
<p>When I ran Sector Inspector on the guest again, the Disk Signature had changed to 0&#215;4a0d3609. This allowed the host Windows Server Backup to proceed.</p>
<h3>Disk2Vhd Gotcha</h3>
<p>In retrospect, I realized that the disk signature conflict was a “gotcha” from creating the guest VM using Sysinternals’ <a href="http://technet.microsoft.com/en-us/sysinternals/ee656415.aspx" target="_blank">Disk2Vhd</a>. Previously, the the Server 2003 R2 machine ran on bare metal. I used Sysinternals Disk2vhd to convert that to a VHD, then installed Server 2008 R2 on the same physical machine and created a VM guest with the Server 2003 R2. Disk2Vhd faithfully copied the disk signature of the source disk. When installed as a guest VM on the same physical disk, the collision occurred.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2010/09/windows-server-backup-vss-failure-backing-up-guest-vm/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Windows Server Backup: Swapping Target Drives</title>
		<link>http://www.mcbsys.com/techblog/2010/09/windows-server-backup-swapping-target-drives/</link>
		<comments>http://www.mcbsys.com/techblog/2010/09/windows-server-backup-swapping-target-drives/#comments</comments>
		<pubDate>Tue, 14 Sep 2010 00:18:12 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[backup]]></category>

		<guid isPermaLink="false">http://www.mcbsys.com/techblog/2010/09/windows-server-backup-swapping-target-drives/</guid>
		<description><![CDATA[I’m running Window Server Backup on Windows Server 2008 R2. Like a good admin, I swap out destination drives, rotating one drive off site each week.
Can’t Add Second Drive
Using the Windows Server Backup GUI, I set up a backup schedule to do backups to the G: drive and ran backups for a few days. Then [...]]]></description>
			<content:encoded><![CDATA[<p>I’m running Window Server Backup on Windows Server 2008 R2. Like a good admin, I swap out destination drives, rotating one drive off site each week.</p>
<h3><span id="more-427"></span>Can’t Add Second Drive</h3>
<p>Using the Windows Server Backup GUI, I set up a backup schedule to do backups to the G: drive and ran backups for a few days. Then I swapped in a new drive. The backup failed with Event ID 561 followed by the more helpful Event ID 546:</p>
<p>Log Name:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Application<br />
Source:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Microsoft-Windows-Backup<br />
Event ID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 546<br />
Task Category: None<br />
Level:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Error<br />
Description: The backup operation attempted at &#8216;‎2010‎-‎09‎-‎13T04:00:16.334849700Z&#8217; has failed to start, error code &#8216;2155348061&#8242; (Windows Backup cannot find any of the backup storage locations.). Please review the event details for a solution, and then rerun the backup operation once the issue is resolved.</p>
<p>Okay, so re-run the backup schedule wizard and choose <strong>Modify backup storage destinations</strong>. Interesting, the old drive G: is now listed as a Volume ID. I guess that makes sense since it is not mounted. Add the current drive G:</p>
<p><img style="display: inline; border-width: 0px;" title="Backup Swap Target Drive 1" src="http://www.mcbsys.com/techblog/wp-content/uploads/2010/09/BackupSwapTargetDrive1.png" border="0" alt="Backup Swap Target Drive 1" width="412" height="254" /></p>
<p>Click Next and then Finish the wizard. What? “The filename, directory name, or volume label syntax is incorrect.”</p>
<p><img style="display: inline; border-width: 0px;" title="Backup Swap Target Drive 2" src="http://www.mcbsys.com/techblog/wp-content/uploads/2010/09/BackupSwapTargetDrive2.png" border="0" alt="Backup Swap Target Drive 2" width="413" height="150" /></p>
<h3>Knowledge Base Incomplete</h3>
<p>This must be a common problems, because Microsoft Knowledge Base article 2009365 addresses it specifically:</p>
<p><a href="http://support.microsoft.com/kb/2009365" target="_blank">Error message when you try to add an additional disk to a scheduled backup: &#8220;The filename, directory name, or volume label syntax is incorrect&#8221;</a></p>
<p>In my case, the drives are mounted in a <a href="http://www.vantecusa.com/gl/product/view_detail/157" target="_blank">Vantec EZ-Swap</a> bay, so I can only mount one at a time. I’m therefore left with Option 3 of the KB article, namely running <strong>wbadmin</strong> to add the extra target drive. However when I follow their instructions to add the target using the Disk Identifier, I get a long message telling me that it will wipe out my old storage locations:</p>
<p><img style="display: inline; border-width: 0px;" title="Backup Swap Target Drive 3" src="http://www.mcbsys.com/techblog/wp-content/uploads/2010/09/BackupSwapTargetDrive3.png" border="0" alt="Backup Swap Target Drive 3" width="554" height="139" /></p>
<p>Apparently when you specify a Disk Identifier, it’s telling Windows Server Backup to consume and format the entire target disk. Since I use the disk for other backups, I need Windows Server Backup to treat it is as a Volume, not a Disk.</p>
<h3>Specify Additional Volume Target</h3>
<p>The solution is simple:&nbsp; specify the drive letter instead of the Disk Identifier when adding the target. For example:</p>
<p><code>wbadmin enable backup –addTarget:G:</code></p>
<p><img style="display: inline; border-width: 0px;" title="Backup Swap Target Drive 4" src="http://www.mcbsys.com/techblog/wp-content/uploads/2010/09/BackupSwapTargetDrive4.png" border="0" alt="Backup Swap Target Drive 4" width="535" height="240" /></p>
<p>Once that Volume target was added, I was able to successfully run a backups to the second backup disk.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2010/09/windows-server-backup-swapping-target-drives/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Server Backup and BitLocker</title>
		<link>http://www.mcbsys.com/techblog/2010/07/server-backup-and-bitlocker/</link>
		<comments>http://www.mcbsys.com/techblog/2010/07/server-backup-and-bitlocker/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 22:11:01 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[bitlocker]]></category>
		<category><![CDATA[esata]]></category>

		<guid isPermaLink="false">http://www.mcbsys.com/techblog/2010/07/server-backup-and-bitlocker/</guid>
		<description><![CDATA[A lot of attention has been given to encrypting laptops because they are often stolen and their drives may contain sensitive company information.
Another popular topic is the need to store backup data off site so you can recover in case of disaster. In the small business arena, this is often accomplished by saving the data [...]]]></description>
			<content:encoded><![CDATA[<p>A lot of attention has been given to encrypting laptops because they are often stolen and their drives may contain sensitive company information.</p>
<p>Another popular topic is the need to store backup data off site so you can recover in case of disaster. In the small business arena, this is often accomplished by saving the data to external hard drives that are rotated off site.</p>
<p>But how secure are those backup drives once they leave your office? While a laptop may contain excerpts of data, that server backup drive contains <em>all</em> of your proprietary data, and likely private information about your clients as well. What happens if that drive is lost or stolen, either while en route or while stored off site?</p>
<p><span id="more-334"></span></p>
<h3>BitLocker and External Drives</h3>
<p>Windows Server 2008 introduced BitLocker as a built-in full-disk encryption (FDE) engine. Unfortunately, BitLocker makes it difficult to work with external drives in a server environment. Why? Because if you connect a BitLocker-encrypted USB drive to a computer, even if you have set it up to auto-unlock, it will not unlock until a user logs on. Apparently the unlock keys for removable drives are stored with the user profile, not the computer profile. Obviously in a server environment, this is unacceptable:&nbsp; the server must have access to attached storage even if no one is logged on to the server console.</p>
<h3>eSATA to the Rescue</h3>
<p>Fortunately, there is a workaround:&nbsp; use eSATA to connect external drives. Windows sees eSATA drives as <em>internal</em> drives, not removable drives, and you can enable Bitlocker with auto-unlock just as if they were internal data drives. In this example, the S: and T: drives are external eSATA drives, while the R: drive is an external USB drive which is only available in user-specific “Bitlocker To Go” mode:</p>
<p><img style="display: inline; border-width: 0px;" title="eSATA and BitLocker 1" src="http://www.mcbsys.com/techblog/wp-content/uploads/2010/07/eSATAandBitLocker1.png" border="0" alt="eSATA and BitLocker 1" width="354" height="461" /></p>
<p>When you turn on BitLocker, choose “Automatically unlock” so the drive’s key will be stored on the system volume:</p>
<p><img style="display: inline; border-width: 0px;" title="eSATA and BitLocker 2" src="http://www.mcbsys.com/techblog/wp-content/uploads/2010/07/eSATAandBitLocker2.png" border="0" alt="eSATA and BitLocker 2" width="354" height="164" /></p>
<p>Be sure to save the recovery key to a file and/or print it out. Keep it in a safe place so you can decrypt the volume elsewhere in a disaster recovery scenario. <strong>Test this</strong> by attaching the drive to another machine and making sure you can unlock it with the BitLocker recovery key.</p>
<p>Note that the system volume must be encrypted first, which means you must provide a Bitlocker “master” key to boot the server. See <a href="http://www.mcbsys.com/techblog/2010/07/remote-boot-bitlocker-without-a-tpm/" target="_blank">this post</a> for a tip on how to use Bitlocker in a server environment when you need to be able to boot remotely.</p>
<p><strong></strong>If you are using the Enterprise or Datacenter editions of Windows Server 2008 R2, you may find that eSATA drives are offline by default. The simple fix is described <a href="http://www.mcbsys.com/techblog/2010/07/esata-drives-offline-because-of-policy-set-by-an-administrator/" target="_blank">here</a>.</p>
<h3>Safely Remove eSATA Drives</h3>
<p>The next challenge is, how do we safely remove an eSATA drive so we can take it off site? Because Windows thinks eSATA drives are internal, not removable, they are not listed when you choose Safely Remove Hardware. Only the external USB drive is listed:</p>
<p><img style="display: inline; border-width: 0px;" title="eSATA and BitLocker 3" src="http://www.mcbsys.com/techblog/wp-content/uploads/2010/07/eSATAandBitLocker3.png" border="0" alt="eSATA and BitLocker 3" width="253" height="113" /></p>
<p>Here a small, free program called <a href="http://mt-naka.com/hotswap/index_enu.htm" target="_blank">HotSwap!</a> has proved invaluable. Just copy the 64-bit version of this program to a folder under <strong>C:\Program Files</strong>, run <strong>HotSwap!.exe</strong>, and a small icon with a red arrow will appear in your system tray. Right-click on the icon to see program options, or just left-click to remove a drive:</p>
<p><img style="display: inline; border-width: 0px;" title="eSATA and BitLocker 4" src="http://www.mcbsys.com/techblog/wp-content/uploads/2010/07/eSATAandBitLocker4.png" border="0" alt="eSATA and BitLocker 4" width="459" height="73" /></p>
<p>and within a few seconds the drive is ready for removal:</p>
<p><img style="display: inline; border: 0px;" title="eSATA and BitLocker 5" src="http://www.mcbsys.com/techblog/wp-content/uploads/2010/07/eSATAandBitLocker5.png" border="0" alt="eSATA and BitLocker 5" width="354" height="94" /></p>
<p>My understanding is that HotSwap! works by uninstalling the drive. You could do the same thing from Device Manager.</p>
<p>&nbsp;</p>
<h3>Not Perfect</h3>
<p>HotSwap!, and probably the underlying device uninstallation approach, are not perfect. If you have an open file on the drive, for example a VHD attached to a running virtual machine, you may see this dialog:</p>
<p><img style="display: inline; border-width: 0px;" title="eSATA and BitLocker 6" src="http://www.mcbsys.com/techblog/wp-content/uploads/2010/07/eSATAandBitLocker6.png" border="0" alt="eSATA and BitLocker 6" width="354" height="134" />&nbsp;</p>
<p>If you close the file and try again, you may get the dreaded “system restart requested” dialog:</p>
<p><img style="display: inline; border-width: 0px;" title="eSATA and BitLocker 7" src="http://www.mcbsys.com/techblog/wp-content/uploads/2010/07/eSATAandBitLocker7.png" border="0" alt="eSATA and BitLocker 7" width="354" height="133" /></p>
<p>&nbsp;</p>
<p>Once that happens, I’ve found that the only way to remove the drive safely is to restart the server.</p>
<h3>Backup Staging</h3>
<p>In general, my approach is to “stage” backups on the S: drive, which remains permanently attached to the server, then use a daily <strong>robocopy</strong> job to copy the S: drive to the T: drive, which rotates off site with another T: drive. This means that the S: drive is always available and always has the same shared folders. The T: drive is only accessed during the daily copy, so I shouldn’t run into the “system restart requested” issue when removing the T: drive. The one thing I still need to test is whether I can host a backup VHD on the S: drive and reliably copy it to the T: drive while the VHD is attached to the VM.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2010/07/server-backup-and-bitlocker/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Back Up SQL 2005 without Full-Text Index</title>
		<link>http://www.mcbsys.com/techblog/2010/07/back-up-sql-2005-without-full-text-index/</link>
		<comments>http://www.mcbsys.com/techblog/2010/07/back-up-sql-2005-without-full-text-index/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 05:44:51 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[sql 2005]]></category>

		<guid isPermaLink="false">http://www.mcbsys.com/techblog/2010/07/back-up-sql-2005-without-full-text-index/</guid>
		<description><![CDATA[This script was supposed to be a download from the previous post, Moving Liberum Help Desk to SQL 2005 Express. However, WordPress won’t let me set up a SQL script or a zip file as a download, so I’m putting this out there as a plain old post. I’ll use a &#60;pre&#62; tag so it [...]]]></description>
			<content:encoded><![CDATA[<p>This script was supposed to be a download from the previous post, <a href="http://www.mcbsys.com/techblog/2010/07/moving-liberum-help-desk-to-sql-2005-express/" target="_blank">Moving Liberum Help Desk to SQL 2005 Express</a>. However, WordPress won’t let me set up a SQL script or a zip file as a download, so I’m putting this out there as a plain old post. I’ll use a &lt;pre&gt; tag so it may overlap the right column, but at least it won’t contain HTML. Cut and paste!</p>
<h3><span id="more-298"></span>The Script</h3>
<pre>/*
07/15/2010:  It's pretty difficult to move a full-text index to a new server,
             and the HelpDesk is so small that an index can be regenerated quickly.
             So in case the backup needs to be restored elsewhere,
             before doing the backup, drop and disable the full-text index.
             Re-enable the index after the backup completes.

             This approach assumes the database uses the Simple recovery model.
             It seems that otherwise, log backups are required to fully remove
             the full-text catalog.

             Note:  Adjust the path to your backup location (line 16) and the
                    name of the primary key index on the problems table (line 50).

            Copyright 2010 by Mark Berry, MCB Systems, www.mcbsys.com.
            Free for personal or commercial use.  Use at your own risk.
*/

DECLARE @BackupPath NVARCHAR(255)
DECLARE @dateYYYYMMDD NCHAR(8)

-- Set the next line to the actual backup path
SET @BackupPath = 'C:\Program Files (x86)\Microsoft SQL Server\MSSQL.3\MSSQL\Backup\'

-- Convert today's date to YYYYMMDD form.
-- Backup name will be @BackupPath + 'HelpDesk_db_YYYYMMDD.BAK
SET @dateYYYYMMDD = REPLACE(CONVERT(VARCHAR, GETDATE(),112),'/','')

/*
Step 1:  Remove Full-Text index and catalog, then disable full-text indexing.
*/
USE HelpDesk
DROP FULLTEXT INDEX ON problems
DROP FULLTEXT CATALOG HelpDesk_Problems_FullTextIndex
EXEC sp_fulltext_database 'disable'

/*
Step 2:  Back up the database
*/
SET @BackupPath = @BackupPath + N'HelpDesk_db_' + @dateYYYYMMDD + N'.BAK'
BACKUP DATABASE [HelpDesk]
TO  DISK = @BackupPath
WITH NOFORMAT, INIT,  NAME = N'HelpDesk-Full Database Backup', SKIP, NOREWIND, NOUNLOAD,  STATS = 10

/*
Step 3:  Enable full-text indexing, then recreate the catalog and index
         Note:  A full population is started automatically when the index is created..
*/
USE HelpDesk
EXEC sp_fulltext_database 'enable'
CREATE FULLTEXT CATALOG HelpDesk_Problems_FullTextIndex
    AS DEFAULT
CREATE FULLTEXT INDEX ON problems
    (title LANGUAGE 1033,
     [description] LANGUAGE 1033,
     solution LANGUAGE 1033)
    KEY INDEX PK__problems__060DEAE8
        ON HelpDesk_Problems_FullTextIndex
    WITH CHANGE_TRACKING AUTO

-- Next line can be used to list full-text catalogs
-- select * from sysfulltextcatalogs
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2010/07/back-up-sql-2005-without-full-text-index/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving Liberum Help Desk to SQL 2005 Express</title>
		<link>http://www.mcbsys.com/techblog/2010/07/moving-liberum-help-desk-to-sql-2005-express/</link>
		<comments>http://www.mcbsys.com/techblog/2010/07/moving-liberum-help-desk-to-sql-2005-express/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 04:57:33 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[sql 2005]]></category>

		<guid isPermaLink="false">http://www.mcbsys.com/techblog/2010/07/moving-liberum-help-desk-to-sql-2005-express/</guid>
		<description><![CDATA[For the last several years, I’ve been running Liberum Help Desk on SQL 2000 under IIS 6. With my recent upgrade to Small Business Server 2008, I needed to move the Help Desk to SQL 2005 Express and IIS 7. Here are my notes on the process.

Prepare IIS 7
Liberum Help Desk is a classic ASP [...]]]></description>
			<content:encoded><![CDATA[<p>For the last several years, I’ve been running <a href="http://www.liberum.org/" target="_blank">Liberum Help Desk</a> on SQL 2000 under IIS 6. With my recent upgrade to Small Business Server 2008, I needed to move the Help Desk to SQL 2005 Express and IIS 7. Here are my notes on the process.</p>
<p><span id="more-279"></span></p>
<h3>Prepare IIS 7</h3>
<p>Liberum Help Desk is a classic ASP application, so to run it under IIS 7, as explained in this <a href="http://technet.microsoft.com/en-us/library/cc753918%28WS.10%29.aspx" target="_blank">Technet article</a>, you’ll need to enable the following roles under IIS 7:</p>
<ul>
<li>ASP</li>
<li>Request Filtering</li>
<li>ISAPI Extensions</li>
</ul>
<p>It turns out those are already enabled on SBS 2008, so I didn’t have to do anything here.</p>
<h3>Set Up an Active Directory User</h3>
<p>Add a new user in Active Directory that the web site can use for accessing the database, for example DOMAIN\HelpDeskUser. Create a complex password and set it to <strong>Never Expires</strong>. I left mine in the default Domain User group.</p>
<h3>Create and Configure the Web Site</h3>
<p>1. Copy the Help Desk files from your old web server to your new server.</p>
<p>2. Open IIS Manager and create a new web site pointing to the path where you just copied the Help Desk files. The <strong>Connect as</strong> button here only controls access to the physical path. I was able to leave it as the default (<strong>Application user – pass-through authentication</strong>).</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2010/07/HelpDeskSetup1.png"><img style="display: inline; border-width: 0px;" title="Help Desk Setup 1" src="http://www.mcbsys.com/techblog/wp-content/uploads/2010/07/HelpDeskSetup1_thumb.png" border="0" alt="Help Desk Setup 1" width="244" height="240" /></a></p>
<p>3. Still in IIS Manager, click on <strong>Application Pools</strong> in the left pane, then right-click on the new application pool created for your web site and choose <strong>Advanced Settings</strong>.</p>
<p>3.1. Change the .NET Framework Version to <strong>No Managed Code</strong>.</p>
<p>3.2. Under <strong>Process Model &gt; Identity</strong>, click on the small button and change the logon from <strong>Network Service</strong> to the <strong>Custom account</strong> that you created earlier (DOMAIN\HelpDeskUser).</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2010/07/HelpDeskSetup2.png"><img style="display: inline; border-width: 0px;" title="Help Desk Setup 2" src="http://www.mcbsys.com/techblog/wp-content/uploads/2010/07/HelpDeskSetup2_thumb.png" border="0" alt="Help Desk Setup 2" width="170" height="244" /></a></p>
<p>4. Go back to the web site and double-click on <strong>ASP</strong> to open the ASP properties:</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2010/07/HelpDeskSetup3.png"><img style="display: inline; border: 0px;" title="Help Desk Setup 3" src="http://www.mcbsys.com/techblog/wp-content/uploads/2010/07/HelpDeskSetup3_thumb.png" border="0" alt="Help Desk Setup 3" width="244" height="150" /></a></p>
<p>Set Enable Parent Paths to True:</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2010/07/HelpDeskSetup4.png"><img style="display: inline; border: 0px;" title="Help Desk Setup 4" src="http://www.mcbsys.com/techblog/wp-content/uploads/2010/07/HelpDeskSetup4_thumb.png" border="0" alt="Help Desk Setup 4" width="244" height="167" /></a></p>
<p>5. Go back to the web site again and double-click on <strong>Authentication</strong> to open the Authentication properties. Right-click on <strong>Anonymous Authentication</strong> and change the <strong>Anonymous user identity</strong> to use the <strong>Application pool identity</strong>.</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2010/07/HelpDeskSetup5.png"><img style="display: inline; border: 0px;" title="Help Desk Setup 5" src="http://www.mcbsys.com/techblog/wp-content/uploads/2010/07/HelpDeskSetup5_thumb.png" border="0" alt="Help Desk Setup 5" width="244" height="211" /></a></p>
<p>If you leave this set to IUSER, your database logins won’t work!</p>
<p><strong><span style="color: #0000ff;">Update 7/21/2010:</span></strong>&nbsp; Follow the steps in this post to allow your custom user to update the IIS persistent cache:&nbsp; <a href="../2010/07/template-persistent-cache-error-with-classic-asp-under-iis-7/" target="_self">Template Persistent Cache Error with Classic ASP under IIS 7</a>.</p>
<h3>Move the Database</h3>
<p>I spent a lot of time on with this step because it’s very difficult to move a database containing full-text index configuration if the FTTEXT path has changed. My HelpDesk database is relatively small, so the index generates in under 30 seconds. It should be much easier to just drop the full-text index on SQL 2000 <em>before</em> backing up the database for moving to SQL 2005. Although not the route I followed, I’ll document what (I think) is necessary to do that.</p>
<p>1. In SQL 2000 Enterprise Manager, right-click on the Full-Text Catalogs and Remove All Catalogs.</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2010/07/HelpDeskSetup6.png"><img style="display: inline; border-width: 0px;" title="Help Desk Setup 6" src="http://www.mcbsys.com/techblog/wp-content/uploads/2010/07/HelpDeskSetup6_thumb.png" border="0" alt="Help Desk Setup 6" width="212" height="244" /></a></p>
<p>2. Back up the HelpDesk database to a file. Copy the file to your new server.</p>
<p>3. On your new server, if you haven’t already, install a new instance of Microsoft SQL Server 2005 Express Edition with Advanced Services Service Pack 2 (<a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=5b5528b9-13e1-4db9-a3fc-82116d598c3d&amp;displaylang=en" target="_blank">download</a>). The Advanced Services edition is required for full-text search capabilities (which is a pretty awesome feature in a free product!). If, like me, you do not notice the optional <strong>Full-Text Search</strong> option during the initial installation, you’ll have to go back and do a Change installation to add that feature:</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2010/07/HelpDeskSetup7.png"><img style="display: inline; border: 0px;" title="Help Desk Setup 7" src="http://www.mcbsys.com/techblog/wp-content/uploads/2010/07/HelpDeskSetup7_thumb.png" border="0" alt="Help Desk Setup 7" width="244" height="112" /></a></p>
<p>4. You’ll also need Microsoft SQL Server Management Studio Express (<a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=c243a5ae-4bd1-4e3d-94b8-5a0f62bf7796" target="_blank">download</a>).</p>
<p>5. Open SQL Management Studio. Under Security &gt; Logins, create a new login that maps to the Active Directory user you created earlier (DOMAIN\HelpDeskUser).</p>
<p>6. Restore the HelpDesk database backup you created just above.</p>
<p>7 Under HelpDesk &gt; Security &gt; Users, create a new user that matches the Active Directory user you created earlier (again DOMAIN\HelpDeskUser). Assign the <strong>db_datareader</strong> and <strong>db_datawriter</strong> roles to the user.</p>
<p><img style="display: inline; border-width: 0px;" title="Help Desk Setup 8" src="http://www.mcbsys.com/techblog/wp-content/uploads/2010/07/HelpDeskSetup8.png" border="0" alt="Help Desk Setup 8" width="216" height="196" /></p>
<p>8. In your Help Desk web site, edit <strong>settings.asp</strong> with a text editor. Because I installed a named instance of SQL 2005 Express, I had to change the <strong>Application(&#8220;SQLServer&#8221;)</strong> line. I was already using SQL Server with integrated security, so the <strong>Application(&#8220;DBType&#8221;)</strong> did not change.</p>
<p>9. At this point you should be able to log in to the Help Desk. Go to Administration &gt; Configure Site and change your SMTP Server.</p>
<p><strong>Note</strong> <a href="http://dimac.net/default2.asp?M=Products/MenuCOM.asp&amp;P=Products/w3JMail/start.htm" target="_blank">JMail 4.5</a> installed fine but I get an object error when trying to send a test mail from the Help Desk. I I enabled 32-bit applications as suggested in <a href="http://www.dimac.net/support/Forum/topic.asp?TOPIC_ID=3823" target="_blank">this thread</a>, but that kills the site (Service Unavailable) and the OWA component of Exchange 2007 Service Pack 3 raises errors in the event log. I’m still working on this issue.</p>
<p><span style="color: #0000ff;"><strong>Update 7/23/2010:</strong></span>&nbsp; Since 32-bit JMail is giving IIS with Exchange 2007 SP3 fits, I thought I&#8217;d check whether one of the other mail components supported by Liberum Help Desk is available in a 64-bit version. Success:&nbsp; I installed the 64-bit version of <a href="http://www.aspemail.com/" target="_blank">ASPEmail</a> from <a href="http://www.persits.com/" target="_blank">Persits Software</a>, changed the Help Desk configuration to use ASPEmail, and voila!, I&#8217;m sending email.</p>
<p><strong><span style="color: #0000ff;">Update 7/26/2010:</span></strong>&nbsp; An extra setting is required in Exchange 2007 to allow ASPEmail to anonymsously send mail outside the network. See the bottom of <a title=" Setting Up Email Connectors in SBS 2008" href="http://www.mcbsys.com/techblog/2010/07/setting-up-email-connectors-in-sbs-2008/" target="_self">this article</a>.</p>
<h3>Set Up Full-Text Indexing</h3>
<p>If you plan to use full-text indexing, you’ll need to create the index. Some UI elements are missing from the Express edition, so it’s not quite as easy as it is under SQL 2000. Here are the basics.</p>
<p>1. Open SQL Management Studio. Right-click on the HelpDesk database and choose Properties, then Files. Check the <strong>Use full-text indexing</strong> box. If the box is grayed out, you may need to install the optional Full-Text Search feature—see above.</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2010/07/HelpDeskSetup9.png"><img style="display: inline; border: 0px;" title="Help Desk Setup 9" src="http://www.mcbsys.com/techblog/wp-content/uploads/2010/07/HelpDeskSetup9_thumb.png" border="0" alt="Help Desk Setup 9" width="244" height="125" /></a></p>
<p>2. Open a new query and use a T-SQL command to create a full-text catalog. For example:</p>
<p>USE HelpDesk<br />
CREATE FULLTEXT CATALOG HelpDesk_Problems_FullTextIndex<br />
&nbsp;&nbsp;&nbsp; AS DEFAULT</p>
<p>You can check for catalogs with this command:</p>
<p>SELECT * FROM sysfulltextcatalogs</p>
<p>3. Back in the main SQL Management Studio window, expand the HelpDesk database and the list of Tables. Right-click and choose Refresh (so the Management Studio will see the catalog you just created). Then right-click on the <strong>problems</strong> table and choose <strong>Design.</strong> Right-click in the design window and choose <strong>Fulltext Index</strong>. In the <strong>Full-text Index</strong> dialog, click on the <strong>Add</strong> button. Click the little button next to Columns and choose the <strong>title</strong>, <strong>description</strong>, and <strong>solution</strong> columns. Leave the other fields with their default values.</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2010/07/HelpDeskSetupA.png"><img style="display: inline; border-width: 0px;" title="Help Desk Setup A" src="http://www.mcbsys.com/techblog/wp-content/uploads/2010/07/HelpDeskSetupA_thumb.png" border="0" alt="Help Desk Setup A" width="244" height="156" /></a></p>
<p>Click on <strong>Close</strong>, then exit the Design view, confirming that you <em>do</em> want to save changes to the problems table. At this point, you can go back into Design view, open the <strong>Full-text index</strong> dialog, and check whether population (crawl) is complete—mine took 10 seconds:</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2010/07/HelpDeskSetupB.png"><img style="display: inline; border: 0px;" title="Help Desk Setup B" src="http://www.mcbsys.com/techblog/wp-content/uploads/2010/07/HelpDeskSetupB_thumb.png" border="0" alt="Help Desk Setup B" width="244" height="139" /></a></p>
<h3>Back Up without the Full-Text Index</h3>
<p>SQL 2005 Express is VSS-aware, so I’m counting on my daily server backups to include the HelpDesk database for disaster recovery. However I also want to be able to create a backup manually that does <em>not</em> include the full-text index, in case the backup needs to be restored elsewhere. To that end, I created the <a title="SQL script to back up HelpDesk database without its full-text index" href="http://www.mcbsys.com/techblog/2010/07/back-up-sql-2005-without-full-text-index/">Back Up HelpDesk script</a> which you are free to try and modify at your own risk. Note that this approach assumes the database uses the Simple recovery model. It seems that otherwise, log backups are required to fully remove the full-text catalog.</p>
<h3>Credits</h3>
<p>I found two posts by <a href="http://www.intraspin.com/iain.html" target="_blank">Ian Porter</a> to be very helpful as I got started on full-text indexing under SQL 2005 Express:&nbsp; <a href="http://www.intraspin.com/webstrategyblog/sql-server-2005-express-full-text-search-greyed-out/" target="_blank">re-installation</a> and <a href="http://www.intraspin.com/webstrategyblog/sql-server-2005-express-full-text-search-setup-tutorial" target="_blank">setup</a>.</p>
<p>For details, many thanks to <a href="http://www.databasejournal.com/feedback.php/http://www.databasejournal.com/features/mssql/article.php/3847376" target="_blank">Marcin Policht</a> for an amazing series of articles on full-text indexing in SQL 2005 Express. The series starts <a href="http://www.databasejournal.com/features/mssql/article.php/3847376/Full-Text-Catalog-Configuration-in-SQL-Server-2005-Express-Edition.htm" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2010/07/moving-liberum-help-desk-to-sql-2005-express/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Careful with Image-Based Backup of Exchange and Active Directory</title>
		<link>http://www.mcbsys.com/techblog/2010/05/careful-with-image-based-backup-of-exchange-and-active-directory/</link>
		<comments>http://www.mcbsys.com/techblog/2010/05/careful-with-image-based-backup-of-exchange-and-active-directory/#comments</comments>
		<pubDate>Mon, 03 May 2010 13:04:33 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[exchange]]></category>
		<category><![CDATA[image-based]]></category>
		<category><![CDATA[shadowprotect]]></category>
		<category><![CDATA[system state]]></category>

		<guid isPermaLink="false">/mark/post/Careful-with-Image-Based-Backup-of-Exchange-and-Active-Directory.aspx</guid>
		<description><![CDATA[Any image-based snapshot tool requires extra setup if Exchange or Active Directory is involved.

Exchange Backup
For Exchange, you have to enable the Exchange VSS writer (disabled by default on SBS 2003). That and other tips in this post in the StorageCraft ShadowProtect forum.
Active Directory Backup
And this little surprise is buried deep within MSKB 888794, Considerations when [...]]]></description>
			<content:encoded><![CDATA[<p><em>Any</em> image-based snapshot tool requires extra setup if Exchange or Active Directory is involved.</p>
<p><span id="more-7"></span></p>
<h1>Exchange Backup</h1>
<p>For Exchange, you have to enable the Exchange VSS writer (disabled by default on SBS 2003). That and other tips in <a href="http://forum.storagecraft.com/Community/forums/p/1304/5839.aspx" target="_blank">this post</a> in the StorageCraft ShadowProtect forum.</p>
<h1>Active Directory Backup</h1>
<p>And this little surprise is buried deep within MSKB 888794, <a href="http://support.microsoft.com/kb/888794" target="_blank">Considerations when hosting Active Directory domain controller in virtual hosting environments</a>:&#160; restore of Active Directory is <em>only</em> supported from a System State backup. &#8220;In particular, Active Directory does not support any method that restores a snapshot of the operating system or the volume the operating system resides on. This kind of method causes an update sequence number (USN) rollback. When a USN rollback occurs, the replication partners of the incorrectly restored domain controller may have inconsistent objects in their Active Directory databases. In this situation, you cannot make these objects consistent.&#8221;</p>
<p>The explanation makes it sound like there is only a risk if you do replication, so if you only have one domain controller (no replication) you might get away with it. But it&#8217;s probably better to do a System State backup using a traditional backup tool regardless.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2010/05/careful-with-image-based-backup-of-exchange-and-active-directory/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Setting Up Windows Server Backup on Hyper-V Server 2008 R2</title>
		<link>http://www.mcbsys.com/techblog/2009/11/setting-up-windows-server-backup-on-hyper-v-server-2008-r2/</link>
		<comments>http://www.mcbsys.com/techblog/2009/11/setting-up-windows-server-backup-on-hyper-v-server-2008-r2/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 14:18:00 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[hyper-v server]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">/mark/post/Setting-Up-Windows-Server-Backup-on-Hyper-V-Server-2008-R2.aspx</guid>
		<description><![CDATA[Part of my testing of Microsoft Hyper-V Server 2008 R2 will be the built-in backup solution. But although Windows Server Backup it is a built-in feature, it is not enabled by default. Here&#8217;s how to activate it and to register the VSS writer so it will tell your virtual machines to do a snapshot for [...]]]></description>
			<content:encoded><![CDATA[<p>Part of my testing of <a href="http://www.microsoft.com/hyper-v-server/en/us/default.aspx">Microsoft Hyper-V Server 2008 R2</a> will be the built-in backup solution. But although <a href="http://technet.microsoft.com/en-us/library/cc754097(WS.10).aspx" target="_blank">Windows Server Backup</a> it is a built-in feature, it is not enabled by default. Here&#8217;s how to activate it and to register the VSS writer so it will tell your virtual machines to do a snapshot for the backup.</p>
<p><span id="more-27"></span></p>
<p>You also can&#8217;t add features remotely using Server Manager, so type these commands at the Hyper-V Server command prompt:</p>
<p>1. Start PowerShell:</p>
<p style="padding-left: 30px;"><code>powershell</code></p>
<p>2. Import the server manager module so you have access to those PowerShell commands:</p>
<p style="padding-left: 30px;"><code>import-module ServerManager</code></p>
<p>3. (Optional) Check available and installed features:</p>
<p style="padding-left: 30px;"><code>Get-WindowsFeature</code></p>
<p>4. (Optional) Get help on a PowerShell cmdlet:</p>
<p style="padding-left: 30px;"><code>Get-Help <em>[cmdlet_name]</em> -full</code><br />
For example:&nbsp; <code>Get-Help Add-WindowsFeature -full</code></p>
<p>5. Install Windows Server Backup Features:</p>
<p style="padding-left: 30px;"><code>Add-WindowsFeature -Name Backup-Features -IncludeAllSubfeature</code></p>
<p>6. Quit PowerShell:</p>
<p style="padding-left: 30px;"><code>exit</code></p>
<p>7. Register the VSS writer for use with Windows Server Backup (see this <a href="http://technet.microsoft.com/en-us/magazine/2008.10.disasterr.aspx?pr=blog#id0060049)" target="_blank">TechNet article</a> and MSKB <a href="http://support.microsoft.com/kb/958662" target="_blank">958662</a>):</p>
<p style="padding-left: 30px;"><code>reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\WindowsServerBackup\Application Support\{66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}"</code></p>
<p style="padding-left: 30px;"><code>reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\WindowsServerBackup\Application Support\{66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}" /v "Application Identifier" /t REG_SZ /d Hyper-V</code></p>
<p>8. Check the registration of VSS writer for use with Windows Server Backup:</p>
<p style="padding-left: 30px;"><code>reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WindowsServerBackup\Application Support\{66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}" /s</code></p>
<p style="padding-left: 30px;"><strong>Note</strong> You can also type <code>regedit</code> at the server&#8217;s command prompt to launch the familiar graphical registry editor and check the setting.</p>
<h1>Using Windows Server Backup</h1>
<p>Once installed, it seems you are left with the <strong>Wbadmin</strong> command line tool for running backups and restores unless you have a full installation of Windows Server 2008 with the Windows Server Backup MMC plug-in. That plug-in is not available in the <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=7D2F6AD7-656B-4313-A005-4E344E43997D&amp;displaylang=en" target="_blank">Remote Administration Tools</a> available for Windows 7.</p>
<p>According to this <a href="http://technet.microsoft.com/en-us/library/ee344835(WS.10).aspx">TechNet article</a>, Wbadmin has been extended for Windows Server 2008 R2 (there are some cool new backup features in R2), however as of this writing, the <a href="http://go.microsoft.com/fwlink/?LinkID=101794">Wbadmin command reference</a> has not been updated. The built-in help <em>has</em> been updated, so for details you can, for example, type the following at the server command line:</p>
<p style="padding-left: 30px;"><code>Wbadmin -help<br />
Wbadmin Enable Backup -help</code></p>
<p>Here&#8217;s the command to do a one-time backup of the system drive C: and the data drive D: to an external drive F:</p>
<p style="padding-left: 30px;"><code>Wbadmin start backup -backupTarget:F: -include:C:,D: -systemState -allCritical</code></p>
<p>The <code>-systemState</code> flag is actually redundant since backing up the system drive C: includes the system state. The <code>-allcritical</code> flag means &#8220;back up everything needed to restore the operating system to bare metal,&#8221; which in this case adds the 100MB System Reserved volume used by Bitlocker<span style="font-family: Courier New;">.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2009/11/setting-up-windows-server-backup-on-hyper-v-server-2008-r2/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

