Apple Time Machine Come To Linux, Sort Of

Posted by Michael Larabel on July 07, 2011

Apple Time Machine is a feature that was introduced in Mac OS X 10.5 nearly four years ago, which allows the automatic creation of incremental file back-ups that can be restored at a later date, either for the entire system or just an individual file. Mac OS X programs can also become Time Machine-aware themselves to take advantage of these incremental backups. Basic read-only support for better managing Apple Time Machine back-ups is now available to Linux users via a new virtual file-system aptly called the Time Machine File-System.

Apple's Time Machine is effectively a well-integrated back-up utility. The incremental back-ups aren't done at the lowest level of Apple's HFS+ file-system, but is basically done by copying files on an hourly basis from the source hard drive to the remote destination. Each time that's done, a new copy is made unless the file contents are unchanged, in which case a hard link between the versions is created. These hourly backups then turn to daily and weekly backups until out of disk space or opting to remove the older data.

With Time Machine not relying upon any low-level file-system features or revisions/deltas to files, viewing Time Machine back-ups can technically be done if you simply are able to mount an HFS+ file-system. In that case, you're just presented with a bunch of folders. The new Time Machine File-System seeks to make viewing these file back-ups easier.

The Time Machine File-System (TMFS) is a new project that's a FUSE-based read-only virtual C++0x file-system. It's currently hosted on GitHub for those hoping to use it to better manage Apple Time Machine back-ups. For anyone else, it's just a nice and small example of a FUSE file-system unless you happen to feel such file-systems are toys from misguided people.

For anyone reading this article in hopes of a better backup solution for Linux, the Btrfs file-system is capable of creating copy-on-write snapshots. Using the file-system's efficient capabilities is how Fedora system roll-backs work when a yum transaction takes place, similar system restore support for Ubuntu is also under-way, and there's various other implementations. We can even use Btrfs snapshots to find regressions incredibly fast.

The ZFS file-system has also long-supported such snapshot capabilities. There might also be EXT4 snapshots support. Aside from file-system level snapshots, GNOME 3.2 has Time Machine-inspired functionality. Deja Dup is the GNOME project in this area with support for regular, off-site backups. Among the hopeful Deja Dup features is support for encryption, compression, incremental backups, and file permission preservation support.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. GCC 4.8.0 vs. LLVM Clang 3.3 Compiler Performance
  2. Intel Linux OpenGL Driver Leading Over Apple OS X
  3. The Cost Of Ubuntu Disk Encryption
  4. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
Latest Linux News
  1. A New X.Org-Free Wayland LiveCD Released
  2. Unity 8, Mir Made Progress This Week On Features
  3. LLVM Clang 3.3 RC2 Is Ready For Testing
  4. AMD RadeonSI Gallium3D Begins Simple CL Demos
  5. Intel Shows Off GNOME3-Based Tizen Shell
  6. Linux Desktop Security Could Be A Whole Lot Better
  7. KDE 4.11 Will Be The Last Major KDE4 Workspaces Feature Release
  8. New NVIDIA Linux Driver Supports The GeForce GTX 780
  9. Chrome 28 To Offer More Speed Improvements
  10. Digia Announces "Boot To Qt" Project
  11. X.Org Libraries Hit By Round Of Security Issues
Latest Forum Talk
  1. A New X.Org-Free Wayland LiveCD Released
  2. GCC 4.8.0 vs. LLVM Clang 3.3 Compiler Performance
  3. Intel Shows Off GNOME3-Based Tizen Shell
  4. Is there anyway to improve the performance of the...
  5. KDE 4.11 Will Be The Last Major KDE4 Workspaces...
  6. Steam: No used games...
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite