Tag Archives: Backup

How-To: Configure Time Machine with Windows Home Server 2011

(UPDATE 04/11/2011 – Corrected error with sparseimage. Should be sparsebundle. Directions corrected.)

Note: These directions will not work with Mac OS X Lion as Apple has removed the necessary components to allow this functionality to work.

In today’s how-to, we’re going to setup Time Machine for a Mac client with the backups being stored on Windows Home Server 2011. These same steps should work with Small Business Server 2011 Essentials and Storage Server 2008 R2 Essentials as well. (P.S. If after reading this, and you agree with me that setup could be easier, go here and vote.)

Step 1: Create shared folder on server

image

  • Click the Shared Folders and Hard Drives tab

image

  • Click Add a Folder, and fill in the details then click Next

image

  • Click Specific People, and then assign Read/Write permissions to the user account you wish to use on your Mac.

image  image

  • Click Add Folder,and then when the process is finished, click Close.

image  image

Step 2: Enable Network Volume Support and create SparseBundle file

  • On each Mac that you wish to back up, go to the Applications folder, then Utilities, then open Terminal and type the following command then press Enter.
    • defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1

Screen Shot 2011-04-10 at 12.20.04 PM

  • We need to determine the MAC address of the Ethernet port (en0) to properly create the sparsebundle file. (NOTE: Even if you are using a wireless connection to backup, you MUST use the MAC address of the Ethernet port.) To do so, in the same Terminal window, type ifconfig and press Enter.  Look for the line starting with en0, and then look just below that for the line starting with ether and make note of the address on that line.

Screen Shot 2011-04-10 at 12.20.42 PM

  • Now we will create the sparsebundle file that Time Machine will use. In the same Terminal  window, type the following command and press Enter. (NOTE: For the hard drive size, it needs to be the size of your hard drive. If you have a 160GB hard drive, then it will be ‘-size 160G’.)
    • hdiutil create –size <Hard Drive size>G –fs HFS+J –volname “<computername> Backup” <computername>_<MACAddress>.sparsebundle
      • Replace <Hard drive size> with the size of your hard drive
      • Replace <computername> with the name of your computer (Can be found in System Preferences –> Sharing) (Note: You may want to change the name to make it something short and simple.)
      • Replace <MACAddress> with the MAC Address you made note of in the previous step, leave out the colons in the address

Screen Shot 2011-04-10 at 12.21.54 PM

Step 3: Copy Sparsebundle to server and enable Time Machine

  • Close Terminal, then go to the Go menu and click Connect to Server, and type in smb://<ip address or name of server>, then press Enter. Choose the Shared Folder you created and click OK.
  • Browse to the location that the sparsebundle file was created in. This will most likely be the root of your user folder. (/users/<your username/)
  • Drag this sparsebundle file to the shared folder on the server

Screen Shot 2011-04-10 at 12.23.18 PM

  • After the file finishes copying, open System Preferences, and then click Time Machine

Screen Shot 2011-04-10 at 12.43.12 PM

  • Click Select Disk and select the shared folder on your server

Screen Shot 2011-04-10 at 12.43.27 PM

 

  • When prompted, enter the user name and password you wish to use and click Connect.

Screen Shot 2011-04-10 at 12.43.40 PM

  • A countdown of 120 seconds should begin, and then once that countdown finishes, your backup should commence.

Screen Shot 2011-04-10 at 12.46.06 PM  Screen shot 2011-04-10 at 1.01.47 PM

Congratulations! You’ve just configured Time Machine with Windows Home Server 2011.

Full PC Restore from Windows Home Server Vail with a USB Flash Drive

The August Preview of Windows Home Server Vail is the gift that keeps on giving.

In this release, there is now a feature that enables you to plug a USB thumb drive into your server and create a bootable drive that contains the necessary software to perform a full system restore of a client PC.

The nice thing about the process is that the thumb drive is created for both 32 and 64 bit PCs meaning that you only need one thumb drive to restore any PCs in your house.  Steps to perform a restore after the creation of the flash drive are largely unchanged from past releases or even WHS v1.

I performed a test restore of my netbook and I’ve included screenshots below of the restore process and the creation of the restore thumb drive.