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."
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?
Like TimeMachine, can this restore multiple versions of the same file? Did you use ZFS? Or is this just a GUI front end for a simple rsync backup?
what apple users did for backups before version 10.5 of their operating system? I just drag my important files onto an external drive.
I have excellent Karma and I am not afraid to Troll it.
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?
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.
Claiming to have created a backuptool "inspired on" time machine obliges one to give some more documentation than... ehm... none. A few things I know about time machine, which are not trivial: Every backup in TM is a fully consistend directory tree for which no special software is needed to consult it. Disk space is saved by using hardlinks on the filesystem in a very delicate way, including hardlinks to directories (!!!). As a result, one can very selectively delete backups without corrupting anything. (e.g., you don't want to know the state 11 am, but do want to know the states at 10 pm and 12 pm? easy facilitated without any special software). TM uses a special feature in Leopard to keep track of modified files and directories, in such a way that TM itself does not have to scan for modified files, but is informed by the OS of modified files. This notification does not even require a deamon process. Now I do believe one can wrap together something which does backups. But standard unix/linux tools don't offer the above facilities - AFAIK. And rsync certainly does not facilitate multiple hardlinks to a directory to be made. Therefore, this shameless plug probably does not offer something similar to time machine. Unless the author also claims that a Trabant is something like a Ferrari.
for one, you don't have to have OSX to run it, another advantage is that you don't have to have apple hardware to run it. Two winning attributes if there ever was one.
I have had this type of rsync backups for years now on personal computers and servers. There are several scripts floating around the internet that do exactly what Time Machine does. The problem is 1) usability and 2) interface.
No end-user is going to put an rsync script in their cron jobs and specify in what mounted partition to store it and then later use rsync to restore the specified files. -- if an end user understands at all what I just said of course
Time Machine's interface is revolutionary. It gives you a way of looking back in time at your own computer and does it in a fancy way consistent with the interface. It does so for any Time Machine enabled application including Mail, Address Book, i*. If you have to restore a piece of mail from backup I doubt you'll know the name of the file it was stored in rsync or any other type of backup let alone knowing how to restore it without removing all the new messages.
Why did we always have to be bashing users for not creating their backups again? Because it was too difficult and too time consuming to make them. Time Machine takes literally 30 seconds to set up and the rest is automated. That's why people will start making backups. It's not difficult anymore and it's going to save me a lot of headaches.
Just my 2c.
Custom electronics and digital signage for your business: www.evcircuits.com
For stimulating the design of the new Linux backup system.
All linux users should tip their hat to Apple for renewing the interest in better backup solutions.
This is why free software rules.
And also why we need companies like Apple who raise the bar.
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.
Or, you know, maybe it was just Time Machine that is ripping off Dirvish, which I've been using to do backups on my fileserver for years.
Random and weird software I've written.
Which they stole from Xerox. Funny. I saw Woz speak, and he stated the following:
a) they toured Xerox, and saw everything they did, went home, and made it for cheaper
b) Windows "stole" their interface
c) The Creative Labs suit about the iPod interface was silly and unfounded
Hmmm? So any lawsuits AGAINST Apple are silly and unfounded. Those same lawsuits file BY Apple are great and wonderful, huh? Can someone explain this to me?
By the way, I think patenting obvious ergonomic ideas is stupid, and it's not theft to copy an interface. The same way making a car with a steering wheel on the left side is not theft of intellectual property. Apple has, IMO, more mud on their faces because they have the balls to turn around and call themselves moral. And as our president says, "You can't claim the high horse and take the low road."
Please stop stalking me, bro.
One of the things that actually make time machine work well is that OS X keeps a log of every file updated on the system, and when the time machine daemon runs it looks at that log and knows which files to back up(as well as what time to mark them with etc). Now, maybe I'm doing rsync the stupid way, but doesn't rsync have to rescan every file on the system to see if it has changed? If you are backing up large directories that could be a large performance hit....
Monstar L
I'm also going to go out on a limb and say that most users don't know where their .MBOX files are, or even what they are. But they'll definitely be missed in the event of a crash.
Or another scenario that's a bit more likely (especially with email inboxes it seems), the mail database gets corrupted, and before you realize it, the automatic backup overwrites the good copy on your backup disk with the corrupt one. I know of a few people this has happened to.
Time Machine is a very good thing, and I commend Apple for it, especially since their old backup app sucked, and wasn't even included in the OS.
Now, how about getting network backups to work properly, and patching Time Machine to gracefully deal with large files?
-- If you try to fail and succeed, which have you done? - Uli's moose
Heh. Just be careful how you go implementing that, or you could wind up with problems like these.
time machine does not use ZFS. In fact, Leopard as shipped cannot write to ZFS partitions. ZFS would be the "correct" way to handle it, there current implementation is a hack, as this rsync implementation shows. It's the type of solution you'd expect from a project in an Advanced OS course.
Yes, they have a nice sexy inteface (and that's good and all), but in truth there interface isn't really that amazing. For most people, microsoft shadow copy interface is just as usable.
Dirvish looks nice, but has the same problem so many cool Linux tools have. It stops short of being a backup "for the rest of us". An approachable GUI is important to most computer users as well as a "set it and forget" it maintenance cycle.
:)
However, most importantly hard links on directories were added to the OS so that entire unchanged directory trees would not be reproduced. This significantly reduces the number of files needed on the backup drive.
Hard to beat the Time Machine setup scenario: 1. Click the big ON button; 2. Pick a disk drive
Done
Both of those windows-based solutions, which have been out for quite some time, allow you to restore an individual file or folder from a wide range of dates. My setup backups files at midnight and 9am everyday, and I can any version of a file going back nearly 3 months. If I were to reduce the backups to once daily, 6 months of version changes on each file is plausible.
example: http://www.steveallwine.com/images/previousversions.jpg
The only arguement I can find about why Time machine is innovative is comparisons between it and system restore on the PC. Since these are two entirely different functions, I don't understand why its brought up.
No, use git. see the Google Tech Talk: Linus Torvalds on git
A number of people have pointed out some of the major deficiencies of this software in comparison to Time Machine. There are a couple of items, however, that no one seems to be mentioning and which I think will have some of the biggest, long term effects. First, Time Machine includes easy APIs so that other programs can access the stored data from within their application. Second, it is included in the standard install so developers can rely upon it being there.
Why does this matter? Think of all the applications in which versioning would be really nice, but it just isn't available. Your address book, for example can look up old contacts or numbers or addresses. Your development tools can automatically load an older, version of that code you're writing to recover that function you did not think was needed anymore, even if you did not write it to a versioning server. Your video games can take you back to older saved games or versions of characters before you sold that really cool item. Photoshop, Word, OpenOffice, etc. can use it to revert changes to a file all the way back to last month.
The difference is that while many users will never take the trouble to learn how to use a backup system and properly recover an old version of a file, they might trouble to plug in a Time Machine drive and then use the interface to backed up versions from with their applications. It seems strange that everyone is ignoring the cool new API for developers and concentrating on the integration in the finder, which will probably be the lesser used portion of Time Machine.
Yep that is a sweet feature, and works the same freaking way in Vista.
Why on earth did MS's marketing not run with this feature and rename it 'super duper time traveler'...
If Vista's actually does work that well, then you've asked a very interesting question.
Somehow, though, I don't think Microsoft suddenly woke up and figured out how to actually be fanatic about making minor hassles vanish. I'm betting Vista's feature works that well *after* you mutter the right keyboard and mouse incantation, with a lot of "well, of course"ing from people who just overwhelm them (the hassles) with competence, from the user side of the equation, and simply cannot comprehend the notion of doing it from the software end.
As always, all IMO. Insert "I think" everywhere grammatically possible.