With my packing about 95% complete I have been working on backing up my DVD collection and Anime to an external hard drive. I have been using my Intel S4200-E NAS for so long that I really take it for granted – it’s just too big to take with me. However, Seagate have made an excellent job of their GoFlex external hard drives and I picked up the 3TB model from Maplin on Monday for £129.99. Apart from the fact that it is small and lightweight, the GoFlex also supports swappable bases, so I was able to change out the supplied USB 2.0 base with a Firewire 800 base, which came complete with 2 Firewire 800 ports and a USB 2.0 port as well as a spare power supply and a host of international adaptors.
With the release of OSX Lion this week I figured a fresh install (using the recovery partition which is created during the Lion install) might do my iMac good so I set about backing up my drives using Time Machine. My Mac is configured to do this over the network but lo and behold – Lion no longer supports Time Machine backups to non AFP (Apple Filing Protocol) network drives, so my SMB-based NAS (Server Message Block) was absolutely no use to me (not to mention the lost backups…).
But I had a nice shiny new hard drive! The Seagate drive is designed to be used with both Windows and OSX interchangeably and as a result included bundled drivers to allow OSX to mount, read and write to an NTFS partition (for those of you without Seagate drives you might want to check out MacFUSE – Specifically NTFS-3G which allows you to mount NTFS on Mac. Also, it’s free!). The problem is that Time Machine doesn’t like NTFS volumes either, requiring a Mac HFS+ formatted drive. Not a problem though using some ingenious thinking.
Originally, when you wanted to use Time Machine on a network drive you had to create a Time Machine volume (.sparsebundle) and copy it to your networked volume. The same principle apples to NTFS drives.
Start by creating the appropriate volume for Time Machine. For this we will need both the network name of the Mac and its MAC address. For the name, open a terminal (Applications > Utilities > Terminal) and type:
uname -a
The output will include something like:
Darwin Stan-Jewhursts-iMac.local 11.0.0 Darwin Kernel Version 11.0.0: Sat Jun 18 12:56:35 PDT 2011; root:xnu-1699.22.73~1/RELEASE_X86_64 x86_64
Your machines network name is the phrase preceding .local. For this example its Stan-Jewhursts-iMac. For the MAC address type:
ifconfig en0 | grep ether
Which will return something along the lines of 12:23:34:f5:4e. This is the MAC address of the ethernet port. Finally, create the HFS volume required for Time Machine. The following creates a 400G volume although you can substitute this for the maximum size you want your backup history to be:
hdiutil create -size 400g -fs HFS+J -volname "Time Machine" NETWORK-NAME_MAC-ADDRESS.sparsebundle
Make sure you remove the colons from your MAC address. For our example this would look like Stan-Jewhursts-iMac_122334f54e.sparsebundle. This will take a few seconds to create. When it has completed, copy the volume to your NTFS drive (make sure its mounted and can be written to):
rsync -aE NETWORK-NAME_MAC-ADDRESS.sparsebundle /Volumes/YOUR-EXTERNAL-DRIVE
Again, this will take several seconds to complete. When it does, remove the Volume you created locally:
rm -rf NETWORK-NAME_MAC-ADDRESS.sparsebundle
Finally, fire up Time Machine and browse to your external hard drive. The backup will start in two minutes or you can manually start it using the Time Machine logo located in the top bar (Back Up Now). Sit back and relax while your files are made safe and secure.
