Time Machine Backups to Debian/Ubuntu
You have a server that has a large disk array. You want to use that disk array for your Mac backups. Fortunately, Mac OSX has this nice utility named Time Machine which makes backing up and restoring your computer really easy. However, unfortunately, you need a physical disk or a Apple labeled networking product. This article is about bypassing that so that you can use your existing Linux and file storage backbone as your Time Machine disk.
I’m using Debian Squeeze 6.0, it should be somewhat similar across Ubuntu and other versions of Debian. I’ll mention all the version numbers of software that was installed.
Avahi handles zeroconf, this means that it’ll show up in the finder without you needing to do anything.
Unfortunately, we need a really specific version of netatalk that isn’t in the repositories. Specifically, I used netatalk-2.2.2
netatalk is a filing protocol that has advanced features that are required by Mac OSX’s Time Machine. However, it doens’t really play nice with Mac, so we want it to be broadcasted with Avahi so that way configuring Time Machine is a matter of double clicking.
Make sure you create your directory where you’ll store your Time Machine backups.
We need netatalk to recognize the folder as a Time Machine folder and accept advanced commands given by the Time Machine client
Add the following line to
Avahi needs to constantly broadcast to the network about netatalk for easy setup.
Add the following file
Restart the services.