2011年3月8日星期二

How to Enable TimeMachine Backup for your MAC to your Windows Small Business Server 2011 Essentials or Windows Home Server 2011

Well, I don?t often dabble around with a MAC, I just can?t get used to the single mouse button and pressing a key on the keyboard for a simple context menu.  I?ve quite possibly been assimilated to Windows.  However,  protecting your data is important, even if you are on a right-click less product.

As you probably know by now, the Release Candidate of both Windows Small Business Server 2011 Essentials, and Windows Home Server 2011 is now live. Which means you can download and install them!!  You should take a moment and do that now.  I?ll wait.

Once you have these installed, you can easily add your Windows based PC to the server and to the PC backup by simply going to http://server/connect on your client PC.  Click the install for Windows PC button and follow the instructions.  Windows PC?s are automatically added to the backup which takes place in a round robin style nightly.  When you?re on a Mac, it?s the same thing, but you click ?Install for Mac?, you end up with a launch pad and access to the server, but no default backup.

It has to be possible right? I mean everyone knows that a MAC is really a *nix box with a really fancy UI (and no right-click).

Poking around on the Internet, you can find some steps, like how to get unsupported volumes to appear to the TimeMachine engine, with the help of a friend (thanks Fabian & Craig) we?ve managed to put together these steps, which work for both Home Server 2011, and SBS 2011 Essentials:

  1. First, create an SMB share on your server using the share permissions wizard, let?s call it Mac Backups.  Make sure the users who are on a Mac have Read/Write access.
  2. Change the Mac TimeMachine to show unsupported Network Volumes by going to Finder, then Applications, Utilities, Terminal.
  3. Inside the Terminal, type this command defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1.  This sets the showing of unsupported network volumes to TRUE.

 Showing Unsupported Network Volumes

  1. Obtain the MAC?s MAC Address. A MAC Address is the hardware address of the local network card.  It?s important to choose the MAC address of the built in wired connection.  To obtain this, you can run the command from the terminal: ifconfig | grep en0.

 Finding the MAC Address

  1. Next (and this is the confusing part, so bare with me) we need to create a sparse file on the MAC and copy the server share.  A sparse file is a file that you define a CAP size, but it will probably take up much less (we?ll define it as 200GB in this example).  This file creation process is a little tricky.  To do this, type in to the same terminal above: command ?hdiutil create ?size 200g ?fs HFS+J ?volname ?<CLIENT_NAME> Backup? <CLIENT_NAME>_<MAC_ADDRESS>.sparsebundle? Where the MAC client is called <CLIENT_NAME> and the MAC Address on the primary wired connection to the MAC is <MAC_ADDRESS>.  This means if you?re client name was OSX, and your MAC address is 00:00:1F:12:82:92, then your command would be: command ?hdiutil create ?size 200g ?fs HFS+J ?volname ?OSX Backup?  OSD_00001F128292.sparsebundle?  .  Here is what it looks like this client is called ?macmini2? and has a MAC address of 34:15:9E:09:00:94


Sparse File Created

  1. Copy this file to ?\\SERVER\Mac Backups\? that you created earlier on the server. As you probably know if you are a MAC user, you have to mount the volume:

 Mount the Server Share on the MAC

  1. Load up the Time Machine settings from within System Preferences, and the sparse file you created above should be in the list.  Select this as the target for your backups.  This will have every TimeMachine backup backup directly to a share on the server:

 Configuring TimeMachine to use the sparse file

  1. Repeat for all your Mac computers on your network.

Once you have completed these steps, your MAC will start using the Windows Home Server 2011 or Windows Small Business Server 2011 Essentials as the backup TARGET.  This means it will back up over the network using the built in timeline functionality, on the schedule you define inside timeline.

What is also cool, is while the MAC won?t show a percentage complete like the PC does when performing the client backup, it will tell you the status right in the console, which of course falls through to the alerts.

Mac Backup Successful:

Mac Backup Successful

Mac Backup Unsuccessful:

Mac Backup Unsuccessful

So there you have it, How to backup a MAC to a Windows Home Server 2011 (aka Vail) or Windows Small Business Server 2011 Essentials (aka Aurora) Server.

For reference, here is the team reference for WHS v1

build your own pc pc desktop deals best pc game

没有评论:

发表评论