# Linux Time Machine With Rsync

Edit: The script in this article has been superseeded by the Linux Time Machine project on GitHub

Time Machine is Apple’s backup solution for Mac computers. It makes incremental backups and provides a gui (the star field) for browsing and restoring data from arbitrary points in time. I use it for my Macs and it is nice, although the star field is limited since it provides no terminal access.

Ok, but my important computers run Linux and I want something similar for them. No need for the gui, but incremental backups that are easy to access. The magic bullet is to use rsync with the --link-dest= option. This makes rsync use hard links for every file that is unchanged between backup versions. A hard link takes virtually no space, so the backup will not use more space than necessary for all files + whatever changes occur between versions.

Here’s how I did it, together with a small script to get you started.

# Book Review: Execute

This is a shallow book, both historically and contextually. Historically because the writers live in “Internet time”, meaning that everything further back than a decade is lost in a prehistoric blur. Contextually, because their message is only applicable to a very limited number of people (male urban internet designers between 20 and 30). Still, if you are in the web-business and want to get more productive, there are a few gems here.

# Lose Weight: Go to the Equator!

A person weighing 75 kg will weigh 250 grams less standing on the equator compared to the north or south pole.

# Change Gimp Interface Language on Mac

By default, Gimp uses the same interface language as your Mac, and there is no way to configure this in the application settings. My Mac is set to Swedish, but I want Gimp in English. Here is how:

# Octopress Cheat Sheet

Various ways to format source code in Octopress

# Octopress Blogging Framework

Octopress uses no database and no script files. All pages are static which is great for security.