Local torrent server on OS X

Today I had to share 13 GB with ~10 people, and I had to do it quickly. I thought of many options - ftp (it would take a while), usb flash drive - even worse.

I thought of the P2P capabilities of the torrent technology. How hard can it be?

Starting a local server couldn't have been easier. I used Tomato Torrent:

There aren't many options, the defaults are good enough. To share the torrents initially I used Transmission. uTorrent for some reason refused to share the files or it was too slow, I don't know.

Transmission:

The torrent server even has a very basic web interface that doesn't tell much, but it is helpful:

13 Gb transmitted to  ~10 people in a 100mbit LAN network in less than an hour. And my machine didn't take that much of a performance hit. I worked during that time.

NOTE: creating the torrents as private somehow made sharing faster. I don't know why. But it did.

Time machine is not perfect! A mobile backup solution for OS X

There's this rule that drives fail and stuff must be backed up.

My main operating system is Apple's OS X. OS X has a backup infrastructure called Time Machine. Time Machine is a way to do a version control on the whole file system. In layman's terms: if you delete a file, you will have a version saved. Or if you mess up a document, you can recover an old version from the Time Machine. This is how the interface looks:

Also if you mess up the OS by installing something stupid, you can recover the whole OS to a state that was for example 1 hour ago. A week ago I had to test this option, because by accident I destroyed some virtual network interfaces and was too lazy to try to fix them manually. This requires an installation cd and then the whole hdd is restored. 120 gb in 50 minutes. I thought it could figure out what to reverse and do it faster without an installation cd, but I guess this is how stuff works. It worked perfectly however.

I have a Time Machine router from Apple. It's a router with a hdd inside it. Backup/restore happens via wi-fi. It works perfectly.

Note: when restoring the whole hdd to an old state, you should link the laptop and the router with a cable. This cuts the restore time in half (10 mb/s on wi-fi, 20 mb/s with cable).

Drawbacks: when a drive fails, I need an installation cd, new hdd, screwdrivers to change the drive and a lot of time for the restore operation (1 hour in my case). This solution is not mobile. The router is big, so I can't take it with me on the road.

Why would I want to have a mobile backup solution?

Well, I have an SSD drive. They tend to fail quite often and without warning. What would happen if I have work abroad and need a laptop and drive that sould not fail, or at least have a backup option? Should I bring a spare hdd, screwdriver, installation cd and the bulky router?

The mobile backup solution

No, there's a better option. Use a drive-cloning software that clones the whole SSD to an external HDD via usb for example. If the SSD fails, I don't even have to change the drives. OS X can boot from the USB drive easily, so I don't need a screwdriver. No downtime, no 1 hour restoration. Just reboot and the new drive kicks in. Well, it's not going to be as fast as the SSD:

I have a 120gb SSD with a 750 gb HDD for a mobile backup. The backup is 120gb, 200gb if I want some history of the most changed files (yes, the software can even do versioning and incremental backup). What should I do with the rest? Split the drive and have some extra space. Now I have a mobile backup with enough space to bring a ton of music or TED hd lectures.

The two softwares I know that can do that are Carbon Copy Cloner (ccc) and SuperDuper! (yes, the exclamation mark is part of the name). CCC is free, that's what I use. Easy to setup. I did all in an hour. I even rebooted to see whether the backup drive would work. It worked like a charm. It copies with around ~30mb/s.

I have not tested SuperDuper!, but it has great reviews, especially the support, they say, is awesome.

Install Snow Leopard (Mac OS X 10.6) from a USB

Mac OS X 10.6 image is 6.3 GB. Using a normal DVD does not work.

Since I’m lazy to go out and buy a dual-layer dvd (8.5 GB max), I decided to use a USB flash to install the new OS.

This is a good guide on how to do that: http://www.maciverse.com/install-os-x-snow-leopard-from-usb-flash-drive.html.

The only problem is that I didn’t actually use a USB stick, but this:

Kingston MicroSD HC 8GB. It comes with 2 different SD adapters, and what is very cool – a very tiny USB adapter. It’s the smallest USB I’ve ever seen.

I bought this for my phone, but came out to be very handy. By the way I highly recommend this Kingston memory.

So the problem with this memory is that it took roughly 2 hours for the Mac OS X 10.6 image to burn (I can’t say burn in this case, right?), while in the tutorial they say it took them only 20 minutes. The memory went pretty hot also – it was working hard for a couple of hours.

I wanted a clean install so I erased the hdd first.

Everything else went like a charm.