Slashdot Mirror


Apple's "Time Machine" Now For Linux... Sort Of

deander2 writes "Apple's 'Time Machine' is cool, but I use Linux, not MacOSX. So here is a Linux implementation (built off of rsync, of course). No fancy OpenGL, but quite functional none-the-less."

18 of 425 comments (clear)

  1. Question by stoolpigeon · · Score: 5, Insightful

    I have not used Leopard - so this is a real question, not a snarky response. My understanding was that a large part of what makes the whole Time Machine work and worthwhile is the interface. So if you don't have that, isn't it just another backup tool? Let me reiterate - this isn't a rhetorical question. Is doing the same thing without the interface sufficient or is it missing the point?

    --
    It's hard to believe that's how Micronians are made. Why don't we see it right now by having you both kiss one another?
    1. Re:Question by krog · · Score: 5, Insightful

      Another thing which makes Time Machine so cool is that it is hooked into the filesystem at a low level. Rather than having to inspect the entire directory tree rsync-style, Time Machine uses the FSEvents interface to stay informed of filesystem changes. FSEvents isn't perfect (it actually only records when a directory's contents have changed) but it beats rsync-ish traversal any day.

      In my opinion, without such a method for watching FS changes as they occur (or later, from a log), any hackish solution will fall far short of Time Machine's performance.

    2. Re:Question by dlsmith · · Score: 5, Insightful

      I don't know whether this Linux implementation does something like it, but what I like most about Time Machine isn't the interface. It's the fact that the backup utility takes care of disk management automatically.

      My current backup strategy works something like this:

      1. Set up Retrospect nightly backup scripts.
      2. Happily enjoy the security of having backups for a few weeks.
      3. Wake up in the morning to see an "external disk full" error message.
      4. Procrastinate for weeks while I try to decide whether I'd rather trash the entire archive or find someplace to dump my 80 GB of data (which probably involves making space somewhere, which is always a project).
      5. Finally get fed up with having no backups and just discard the archive.
      6. Return to step 1.

      If I were smart and vigilant, I would catch when the archive reaches about 30 GB, and create a new one then, so that managing older archives could be done in more tractable chunks. If I were rich, I would just buy a number of external drives that I would rotate as they filled up. But I am apparently neither, so I just get stuck in this cycle in which I only have a current backup 1/3 of the time, and older archives are randomly discarded or distributed wherever I can find the space.

      The great thing about Time Machine is that it consistently fills up my disk with the most relevant backup data: current backups at a high frequency, and months-old backups at a low frequency. When space runs out, the oldest data gets thrown away, but the quantum chunk is a diff between backups, not an entire 80 GB archive.

    3. Re:Question by krog · · Score: 5, Informative

      Unless you can produce a link or some debugger output or something, I'm gonna go ahead and trust ArsTechnica more than I trust you.

  2. Completely misses the point by Just+Some+Guy · · Score: 5, Insightful

    We've had backup systems for decades. Even Windows has a more functional system than Leopard by accounts I've read. What Leopard did is make backup and restore sexy to the point that people will actually want to do it.

    "Flyback" is a replacement for, well, I'm not sure what. It's certainly nowhere near Time Machine whose primary innovation was "damn gotta get me that" user-friendliness.

    --
    Dewey, what part of this looks like authorities should be involved?
  3. hard link directories by Ydna · · Score: 5, Interesting
    To make it really work like Leopard's Time Machine, we need a way to create hard linked directories. I mean besides the obvious ones that are made for us. Otherwise you get massive trees of directories containing hard linked files (for those that have not changed).

    It's easier to just use rsnapshot.

    --

    "The great thing about multitasking is that several things can go wrong at once." -me

  4. Ubuntu TimeVault by phoebe · · Score: 5, Informative

    There's already been work on a Linux Time Machine, just not ready for prime time yet: TimeVault.

  5. Not the interface by Thornburg · · Score: 5, Insightful

    IMO, it is not the _interface_ that is cool about Time Machine, but the ease of use and the fact that it is fully automatic.

    I didn't RTFA, so I don't know if this "Time Machine for Linux" implementation is as easy to use or not, but the real thing that makes Time Machine cool is that even my mother can use it.

    The Ars Technica article about Leopard has lots of very cool details about Time Machine in it, including how it works. (It uses hard-links, including hard-links to directories, so in each and every time-stamped folder on the backup drive, you have a *FULL* copy of your HDD at that time (minus anything you excluded from the backups). Read that portion of the Ars Technica article if you want answers to questions about it.

    1. Re:Not the interface by Hatta · · Score: 5, Insightful

      IMO, it is not the _interface_ that is cool about Time Machine, but the ease of use and the fact that it is fully automatic.

      What's the difference? The interface is how you use software. If it's easy to use, it has a good interface.

      --
      Give me Classic Slashdot or give me death!
    2. Re:Not the interface by Anonymous Coward · · Score: 5, Informative
      Too long have I sat by and watched a great phrase be abused:

      ...Also, TM is not confined to the Finder per say. if you're in Address Book and lost a contact, type in the filter string to locate it. Still... It's PER SE, goddamnit! And it means "intrinsically!" You saying "TM is not confined to the Finder per se" would imply that either it IS somehow confined to finder (but not intrinsically) or you just like to use big-person words you don't understand. Please! Think about what you're saying!
    3. Re:Not the interface by bestinshow · · Score: 5, Insightful

      That's great if you know the date you want to restore too.

      Time Machine's ability to simply browse backwards through time in the folder, whilst still having the folder functionality usable is far beyond BackupPC. Indeed I bet there are many times that you just want to do this, you don't want to restore the file or the folder as it was then, you just want to quickly glance inside the file as it was.

      There's nothing amazingly clever about Time Machine, but it is Apple "Getting It Right(tm)" interface-wise (excluding silly starfield, etc) and functionality-wise.

    4. Re:Not the interface by Trailer+Trash · · Score: 5, Funny

      Please! Think about what you're saying!

      Isn't that supposed to be "seing"?

      [duck/run]

    5. Re:Not the interface by Anonymous Coward · · Score: 5, Funny

      Half as well.

      And when I use incorrect French on a French website, you're welcome to correct me. I'd rather write correctly, thanks.

  6. Why not a simple SCCS? by dpbsmith · · Score: 5, Interesting

    What I'd like to see is a very simple source code control system, built on the same design. Perhaps one that would just serve the needs of a single programmer.

    The essential thing is that it should look like a file system, with direct access to the project directories at any state in development... write access to the current version, read-access to previous versions... directly accessible to any piece of code via the normal file API.

    There should be no need for copying files back and forth from a central repository to a working directory.

    It should be equally friendly to text and binary files. It should not take much disk space to store versions of files that have not changed at all from one project version/label/whatever to the next. It is not necessary or desirable to store just the diffs between text files; in the year 2007 we really can afford the disk space to store an entire new source file even if only a few lines in it have changed.

    It should not rely on some central database that can be a central point of failure if it gets corrupted.

    It should reliably serve both the functions of version control and backup. Bells and whistles in version control are less important than backup. In particular, if it's on an external drive and the CPU fails, you should be able to plug that external drive into a new CPU and go on accessing it immediately.

    To those who work on hundred-engineer projects that need full-bore version control and CASE tools and so forth, peace. I'm not talking about a one-size-fits-all solution. I'm talking about a lightweight, simple, minimalist tool that as far as I know doesn't really exist today.

  7. Re:No Open Source Invovation here! by ickoonite · · Score: 5, Informative

    (Find files that have been altered from last update -> Copy Said files to alternate drive in directory with the date as a name, make note of files that have deleted)

    Trivialising the technical underpinnings of Time Machine is unwise, and plays right into the hands of those who say Apple is all about show and lacks substance. In fact, the way Time Machine knows what files have been modified is really quite elegant and shouldn't be underplayed. I shan't go into the details of it all here, but if you are interested, see the relevant page of John Siracusa's excellent review of 10.5 over at Ars Technica.

    In the meantime, you might like to consider learning how to spell.

    :|

  8. Recovery tool is better than a backup tool by emj · · Score: 5, Insightful

    It's more of a way to recover your backup tool. So you are right, Time Machine is nothing without the interface. It sucks not being able to recover data easily, and sadly most other tools seems to concentrate on snazy ways to backup, not how to recover.

  9. Re:Eh... by Ziwcam · · Score: 5, Interesting

    > Yeah. There's more to Time Machine than just a one-off backup of your data. TM > aggregates changes and you can roll back to any point in time. Doesn't all backup programs do this?
    I would like to clarify this a bit. Say for instance you delete 50 contacts one day, and 25 the next. A week later, you realize you deleted a contact that you needed. Most backup programs would only allow you to rollback the entire address book, re-adding all those contacts (and deleting contacts that you've added since then). Time Machine allows you to LOOK at your address book as you view progressively older backups, then when you find the contact you want to restore, to restore ONLY that contact (not the entire address book).
  10. Re:Rsnapshot by phoebusQ · · Score: 5, Informative

    Except rsnapshot uses rsync, which must rescan the filesystem. With Time Machine, the FSEvents daemon makes that unnecessary in the common case. Also, Time Machine uses hard links to directories.