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."

92 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 Brandon30X · · Score: 2, Informative
      --
      Quitters never win, Winners never quit, But those who never win and never quit are idiots.
    4. Re:Question by herve_masson · · Score: 2, Informative

      Whatever the merit of this python gui, comparing it to time machine is far fetched, to say the least...

      I think you're right: the value of time machine lies in its GUI. Much more than in its underlying file copy techniques. Like in any serious backup tool, the interface is _the_ key element. Obviously, data needs to be saved reliably somewhere, but that's something we can do in various ways for a long time.

      An efficient backup/restore GUI is hard to do. This is what Apple has done beautifuly here, and this is what bring the tool in the average user's hands. This is new.

    5. Re:Question by Khazunga · · Score: 4, Interesting

      Actually, I have mixed feelings about having a daemon following inotify (fsevents equivalent for linux) in order to backup. My setup uses backuppc, which daily rsyncs my disk and backs it up using much the same archival solution that Time Machine uses. The rsync is non-noticeable (and, in my case occurs during working hours). An inotify daemon, on the other hand, could be responding to lots of small requests that produce null results (temp files, disk writes over the same sectors, etc).

      Fine-grained backups may be interesting, but I wouldn't be interested in any kind of performance drag because of it. Daily backups have served me just fine, thanks.

      --
      If at first you don't succeed, skydiving is not for you
    6. Re:Question by DHalcyon · · Score: 4, Informative

      The tiny difference here is that apples FSEvents is basically a daemon following the fsevents device (OS X equivalent of inotify) all the time keeping a log (directory level, as to not bog everything up with a lot of small changes), so the backup app does not have to run in the background all the time. It also notices when the disk changed while not mounted in OS X (In which case it only tells you _that_ the disk changed, I believe. You still have to figure out what changed, exactly yourself).

    7. 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.

    8. Re:Question by MasterVidBoi · · Score: 4, Insightful

      You're exactly right. It is missing the point without the interface. The real breakthrough in TM's UI isn't that the user can go retrieve a file as it was last week (with gratuitous 3D effects), but rather that they can go retrieve something that isn't a file.

      What if you deleted that email you really wanted, or made a bad edit to a contact in your address book, or a photo in iPhoto/Picasa? These apps store lots of data in some kind of database. As a geek, you know that you need to find this database, move the current one aside, restore the old one, export the content you want from the app, move the current database back into place, and import the content you just extracted from the old database.

      With TM, Your Mom opens Mail, and presses the TM button. She gets the same 'windows through time' view, listing her mailbox at each checkpoint. She selects the message(s), and hits the restore button, and it gets brought into the current database. She doesn't care how it gets represented on disk.

      See this screenshot: The user isn't browsing files, they are browsing contacts: http://scrap.dasgenie.com/images/017-TimeMachine.png

      TM is implemented as file-based backup (with a few less common twists), but that isn't how the UI presented to the user. Without the UI, it's Yet Another Backup Solution.

    9. Re:Question by jwthompson2 · · Score: 2, Interesting

      I'm using Time Machine and the ease of setup is great for the non-tech savvy (System Preferences > Time Machine > On/Off and then pick a disk). The interface is what makes it more than just another backup tool, the way you can browse backup sets is unique as far as I'm aware. I'm accustomed to automated backup utilities and on that front Time Machine isn't anything special. The way you can work with the backup sets is really what makes it useful to me.

      --
      Even if I knew that tomorrow the world would go to pieces, I would still plant my apple tree. -Martin Luther
  2. I'm too lazy to do any research... by snark23 · · Score: 3, Interesting

    ...but how is this different Dirvish, which has been around for years?

    1. Re:I'm too lazy to do any research... by Anonymous Coward · · Score: 2, Insightful

      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.

    2. Re:I'm too lazy to do any research... by ShieldW0lf · · Score: 2, Funny

      Just to clear this up for everyone:

      Computers do not have sexy interfaces. Neither do phones or mp3 players.

      A sexy interface is pink, and moist, and warm, and throbs gently. It occasionally releases strange sounds, odd odors and fluids of various colors. It comes with no manual to operate, and apparently many people never figure them out properly, however, it is a great deal of fun to experiment with them.

      I absolutely love sexy interfaces, and I'm going to go enjoy one right now.

      If you'd like a sexy interface of your own, here's a hint. They doesn't come from Apple.

      --
      -1 Uncomfortable Truth
    3. Re:I'm too lazy to do any research... by Anonymous Coward · · Score: 4, Insightful

      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 :)

  3. So ... by kalidasa · · Score: 3, Insightful

    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?

    1. Re:So ... by Lachryma · · Score: 2, Informative

      Time Machine does not yet use ZFS.

    2. Re:So ... by dsginter · · Score: 4, Insightful

      Think of it this way:

      Rsync is to data what duct tape is to... well, everything else: it might not be pretty on a visual basis, but you'll be damned to find a better solution on a bang/buck basis.

      Most geeks are pretty happy with duct tape and rsync. This will be difficult to change because geeks, nearly by definition, can see beauty beneath an ugly fascia.

      --
      More
  4. Makes you wonder ... by ThirdPrize · · Score: 2, Insightful

    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.
  5. 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?
    1. Re:Completely misses the point by santiago · · Score: 4, Informative

      What Leopard also did was add file system support for hard links to directories, so that backups from different points in time could be easily presented as complete volume images without any need for a special backup file format, yet still share storage for unchanged files.

    2. Re:Completely misses the point by Sosarian · · Score: 2, Insightful

      RSync also has this, tools like dirvish take advantage of it.

  6. No Open Source Invovation here! by jellomizer · · Score: 3, Informative

    I hate to sound like a fanboy but...
    Apple did spend many months working on the interface and desing to try to make backups as
    easy as possible... All the time they took was really in design time... A much smaller portion
    was used in actually coding.... (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)

    To Restore data go to the date of backup when data existed merge with previous dates and account for
    deleted files.

    Once selected copy files back to origional drive...

    It really isn't a complex process... And I am not supprised that someone made it for Linux
    within a couple of weeks of Leopard being public...

    Apple did all the design work which was actually the hardest part the programming isn't that hard.
    I would be careful for patent issues though... Apple is a big pattenter... (Espctially after
    Microsoft stole their interface)

    --
    If something is so important that you feel the need to post it on the internet... It probably isn't that important.
    1. 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.

      :|

    2. Re:No Open Source Invovation here! by thegnu · · Score: 2, Insightful

      Apple is a big pattenter... (Espctially after Microsoft stole their interface)

      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.
  7. 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

    1. Re:hard link directories by sammy+baby · · Score: 2, Insightful

      Heh. Just be careful how you go implementing that, or you could wind up with problems like these.

  8. 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.

    1. Re:Ubuntu TimeVault by DragonWriter · · Score: 3, Informative

      BTW, except of Mark's past, why do they serve almost everything over HTTPS?


      Just curious, is there any really good reason not to serve everything over HTTPS?
  9. 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 MouseR · · Score: 4, Informative

      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.

      Think of it as CVS. It tages backup times but actually only copies new data as it's checked in.

      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 can't find it? Right there from Address Book, hit Time Machine and Address Book will be served with backed-up address book data, filtering on the fly, as you go back in time until you find what you've been looking for.

      Same thing for anything spotlight-able.

      So, yeah, it's got a pretty interface, but TM goes way beyon just file/backup management.

    3. Re:Not the interface by slashflood · · Score: 4, Informative

      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
      This is exactly how BackupPC works! The interface isn't as fancy as Time Machine (because it's web based), but even the workflow is the same. It is fully automated and you don't have to touch anything. As soon as your notebook is connected to the BackupPC server, it starts to make an incremental backup. The restore is as simple as selecting the date, the directory and clicking on a button.
    4. Re:Not the interface by robot_love · · Score: 4, 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.


      So it is the interface, then?

      I realize the interface doesn't do the heavy lifting in an application, but I wish the FLOSS crowd would finally clue in to the fact that ease-of-use matters. For example, GnuPG is a way to protect your privacy through encryption, but it only has a CLI. GUIs exist for GnuPG, but their installation is complex. Why do people work on GnuPG? Because privacy is important! But who gives a fuck when only 1% of the population can use it? Thanks for nothing, GnuPG!

      I have no particular bee in my bonnet about GnuPG, it was just the latest FLOSS effort to piss me off. Open-Source software and "Free as in Freedom" are ideas too important to be relegated to the technical elite, but the technical elite's refusal to make their tools easy enough for the rest of us cuts out most of society. You have the cure for cancer but refuse to give it to us because we don't have the time or desire to learn Perl.

      This Linux "Time Machine" sounds cool. Too bad I'll never be able to use it. Bah!
      --
      .there is enough of everything for everyone.
    5. 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!
    6. Re:Not the interface by MightyYar · · Score: 2, Interesting
      I think that you are being too hard on the open source crowd. There are basically two main contributors to open source:
      • Companies
      • Geeks

      Now, the companies are usually trying to sell service contracts to IT departments, so grandma is not in the game plan. Linspire pops to mind as a notable exception. Another is Limewire. Both of those companies arguably sell a pretty usable product for the non-IT person.

      The other group is geeks. Some high percentage of the time, an open source project exists because some dude made a tool for himself and then figured that other people might like it. By definition, these tools are going to be directed toward geeks - not laymen. Only when it gets SO bad that even the geeks get pissed off does something actually get done, and so you get projects like Ubuntu and Gnome.

      For the most part, these people are not taking your money, and it's not really that important to them whether or not you decide to use their software. I hate to sound like a Linux zealot, but if you don't like the free tools offered you can either walk, fix it yourself, or pay someone to fix it. You can bitch at the developers, too, but they probably won't care much - and who can blame them? The tool obviously fits their needs.

      Personally, I like Macs because the computer is very polished and usable straight out of the box, but you can drop to a command line and X11 and play with most of the open source world's toys. You can even boot into Linux if you like.
      --
      W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
    7. 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.

    8. Re:Not the interface by the+phantom · · Score: 4, Insightful

      And yet, the FOSS community seems to think that everyone should be using FOSS. You can't have it both ways -- either FOSS is only for geeks and large corporations, in which case it will never catch on with the consumer; or it is for everyone, in which case the geeks advocating FOSS need to make sure it can work for everyone. Otherwise, comments about how everyone ought to be using FOSS are hypocritical.

    9. Re:Not the interface by mrv20 · · Score: 2, Funny

      > You have the cure for cancer but refuse to give it to us because we don't have the time or desire to learn Perl

      I think you've got that backwards. Exposure to Perl almost certainly causes ill health, not cures it.

      --
      "Algebraical symbols are used when you don't know what you are talking about" - BCS
    10. 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]

    11. Re:Not the interface by BobPaul · · Score: 3, Informative

      The interface is the goofy 3d zooming through space view. The ease of use and he's referring to is that the incremental backups that are stored all appear like full backups from a file system perspective.

      One can set it up once with the goofy 3d zooming thingy and then it'll happen automatically in the background. Need a file that you know was good a week ago? In term, type "cp /mnt/backup/11-01-07/path/to/file/file ~/" etc. Or browse to it in the finder. Or use the goofy 3d zooming thingy.

      Most backup solutions require you use their software to restore from backup. If I interpreted the parent right, Leopard doesn't.

    12. Re:Not the interface by jav1231 · · Score: 4, Funny

      It's not just a goofy-3d-zooming-thingy. You can zoom through space, find the image you want, then drag-n-drop items right through the goofy-3d-zooming-thingy. That makes it a cool-as-shit-goofy-3d-zooming-thingy that's also functional. BTW: tell your Mom to type "cp /mnt/backup/11-01-07/path/to/file/file ~/" and she'll probably wash your mouth out with soap! Tell her to find what she deleted and drag it to her desktop and Mommy will bake you brownies! Mmmmm...brownies!

    13. 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.

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

      Which reminds me... I know I had your mom's phone number here someplace.

      *ZOOOM THROUGH TIME*

      That's right. See you at 8, kiddo.

    15. Re:Not the interface by TheNetAvenger · · Score: 3, Informative

      Time Machine's ability to simply browse backwards through time in the folder, whilst still having the folder functionality usable is far beyond BackupPC.

      I agree it is not just Backup software.

      However, this is ALSO why 'previous versions' in Vista is more than a snapshot/backup interface as well. In Vista you can view folders as they exist at any previous time and even drag and drop the folder or files you want from the folder at a specific time in history.

      Time Machine = 3D Interface of Files/Folders
      Vista = Timeline List of Files/Folders

      Time Machine = Uncompressed Backups to External Drive
      Vista = Compressed Backups ANYWHERE + File Version Snapshots on main Hard Drive + Works on Servers and across networks (ie Can use Previous Versions on Folders/Files you have access to on Servers or other computers, and it displays that folder's snapshots and backups.)

      Time Machine = Great Marketing
      Vista = MS's Sucky Marketing

      So Time Machine gets the cool buzz, when Vista is the cooler of the two technologies...

    16. Re:Not the interface by bodfa · · Score: 2, Informative

      Actually with BackupPC you can look at a specific directory, and see all files that have existed in the dir. Even better you can see what all points in history the file has changed.

      See if these screenshots help:
      http://backuppc.sourceforge.net/info.html#screenShots

      I also love BackupPC because I have several different OSes on my network and BackupPC can handle them all.

      Just set it, and forget it... well... then check it later and see if it still works... Oh, and maybe setup some kind of off site system. That isn't quite the same slogan.

    17. Re:Not the interface by abhi_beckert · · Score: 2, Informative

      The "interface" also includes things like automatically beginning a backup as soon as you plug in your external backup drive without any notification to the user (except for chasing arrows next to the icon), and pausing the backup if you un-plug it while time machine is running, again without notifying the user, to seamlessly resume where it left off next time you plug the drive in.

      It's also using a new filesystem logging tool (called FSEvents) to fetch, instantly, a complete list of every single file you modified since you last plugged in the backup drive 6 days ago (which is quite an acheivement, considering the log doesn't take up several GB of space nor does it slow down the kernel).

      Also, time machine is very intelligent about it's usage of space (within reason, it could be improved by slowing down the backup). Plus when your backup disk runs out of space, it gives you intelligent options for what parts of the backup to delete.

      rsync is a wonderful tool, I use it several times a day and love it. But for backups it's nothing compared to time machine. rsync isn't going to run automatically if you have a drive that's not always plugged in (laptop? or maybe you keep your backup at an external location so it can't be stolen?), and it's going to harass you if you try to unplug the drive or turn the machine off in the middle of a backup, and it's going to take an hour to do a backup that might take 45 seconds in time machine (checking the modification date of 5 million files, then comparing each one with the modification date of another 5 million files takes a while), and you're going to run out of space in about 2 days if you decide to do *hourly* backups of your *entire* hard drive, which is what time machine does if you leave the drive plugged in permanently.

      Also, whenever you install the operating system (either because your hardware failed, or you hacked the OS and broke something, or even if you just bought a new mac), you have the option of plugging in your time machine backup hard drive and it will skip the entire setup procedure, booting you strait into the same machine you left off with, all your software already installed and all your documents where you left them.

    18. Re:Not the interface by Emetophobe · · Score: 3, Funny

      That makes it a cool-as-shit-goofy-3d-zooming-thingy that's also functional.

      It's a UNIX system! I know this!

    19. Re:Not the interface by Americano · · Score: 2, Interesting
      From your linked blog:

      With Vista, "We've eclipsed the entire Apple installed in the first five months of sales," Kevin Turner, Microsoft's Chief Operating Officer, told attendees of FAM.

      I find it amusing that sucn an insignificant thorn to MS rates a comparative mention... "We've totally outsold that dinky 5%-of-the-market guy." Why even bring them up or mention them if they're such an insignificant portion of the market?

      even if the Apple user base doubles 3 or 4 times, it would still be irrelevant to MS...
      Let's run some numbers. First, Apple currently has about 6% of the market, based on the most recent numbers I've seen. Second, I'll be generous and assume you meant "even if the Apple user base grows to 3 or 4 times its present size," since what you actually wrote indicated that Apple would grow to 48 or 96% of the market.

      Now, do you *really* think that Microsoft wouldn't take notice if 18% - 24% of the desktop market was owned by Apple? That they wouldn't notice that 1 in 4 or 5 desktops are Macs? I'd humbly submit that if they disregarded that, it would constitute criminal disregard for their fiduciary obligations as a publicly held company!

      No, Macs are not about to take over the world in the next 6 months. But they (or someone else) will manage to do so at some point in the next few years if Microsoft ignores those "insignificant" upstarts that only hold a few percent of the market. Happened to IBM, didn't it?
    20. Re:Not the interface by Divebus · · Score: 2, Informative

      Something is fishy about all those numbers of market share and units sold. Lets see;

      I know more people with iPhones (4) than use Vista (3) and they only sold 1.2 million iPhones in the U.S so far. 100 million copies of Vista? Maybe, but Idunno. Can't see them anywhere. Of the three people I know with Vista, two hate it and are ready to buy Macs. I know many many more people who used to own PCs who now own Macs (about 30 over two years). Seeing as one in every six laptops sold in the U.S. is a Mac, that market share claim is further in doubt.

      Very few corporations have switched to Vista. There weren't any lines at Best Buy to get boxed Vista when it was released. Who's buying it? How many Vista machines have been rolled back to XP? How's XP selling next to Vista? Apparently enough to force Microsoft to allow it to be installed on new computers.

      So, in the time Vista has been around, Vista shipments slumped in Q3, Apple has jumped a few percent in market share, Dell is selling Linux computers fairly briskly and Ballmer has been VERY noisy about little Linux blip on the radar. Something doesn't add up here - like someone is lying about it all.

      Microsoft better watch their backs - looks like the user satisfaction figures are becoming leading market share indicators.

      --

      Most of the stuff on /. won't survive first contact with facts.
    21. Re:Not the interface by BrokenHalo · · Score: 2, Funny

      Hmmm. Guess I'll find out how good the interface to Time Machine is as soon as I get past Leopard's shiny new Blue Screen interface.

      *ducks* ;-D

    22. Re:Not the interface by SanityInAnarchy · · Score: 2, Interesting

      I find that they aren't even mutually exclusive if you're talking about the same person.

      Many geeks working on FOSS are much more interested in how well something works than how easy it is to get started with. This is why, for quite a long time, Linux was hard to install, but ran well while it was up.

      This goes for UIs also. As a user, I'm much more interested in how well something works once I know how to use it than how steep the learning curve is. To a point, of course -- I still haven't learned TeX.

      So, as a sort of irrelevant example, while the Firefox and Konqueror logos may kind of look like the Explorer or Netscape logos -- all browser logos seem to have a globe in there somehow -- you still are going to be clicking on Firefox, or maybe "Firefox web browser" or "Web browser -- Firefox", and not "Internet Explorer".

      Believe it or not, this actually a problem for some people. But there are all kinds of similar problems -- for instance, The Gimp, for awhile, was about five windows. This works fine if you've got a decent window manager and/or a second monitor / virtual desktop system, but for many people coming from Photoshop, it didn't work at all. (There are other things Photoshop has that Gimp lacks, but I think Gimp was actually more usable on multiple monitors until Photoshop gained the ability to pop out windows. But my memory is fuzzy on that.)

      Apple seems to do a good job of making it visually discoverable, though -- something only rarely seen in FOSS. For instance, I was using WindowMaker for years before I tried OS X, and the window manager certainly existed before I touched it. So when I saw OS X's Dock, I immediately knew what it was. But here's the thing -- so did everyone else, or at least, enough to use it (sort of) without panicing.

      Maybe not as well as they should, of course -- I know far too many Mac users who keep some 20-40 things in their dock, most of them running -- I'm not exaggerating! But OS X knows how to swap, so while it is kind of stupid, it's not critically stupid, like not knowing how to run an app in the first place (could be problematic in WindowMaker).

      --
      Don't thank God, thank a doctor!
  10. 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.

    1. Re:Why not a simple SCCS? by ajayrockrock · · Score: 3, Informative

      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.


      How about mounting a webdav file system with a subversion backend that has autoversioning turned on? That way, every time you write to the filesystem, SVN will make a new version. I did this for an office file server and installed track to point to the same repository. So now people have a cheap web interface to view revisions of documents.

      http://svnbook.red-bean.com/en/1.2/svn.webdav.autoversioning.html

      All the Mac's in the office mount the webdav repo, my linux box mounts it via fuse, and even windows has "web folders". It was kind of a fun project that turned out to be pretty useful.

      --Ajay
    2. Re:Why not a simple SCCS? by pa-ching · · Score: 3, Informative

      Most of your requirements could easily be covered by git (or perhaps another DVCS). It takes very little disk space; doesn't store diffs; has great version control, file integrity checking, and backups; repos are self-contained and easily moved from computer to computer.

      For coding use-cases or the one you mentioned--writable working tree and read-only history--it's perfect. However, there are design tradeoffs in git that may not make it *completely* suitable. Its handling of large binary files is probably a little slow. You could probably lower the zlib compression to get that working faster.

      As for filesystem integration, Resier4's plugin system or something similar is suitable for the job. Unfortunately, reiser4's future is uncertain...

  11. Wombat by Anonymous Coward · · Score: 2, Interesting

    I've used Wombat in the past. It's basically a perl wrapper for rsync with a scheduler built in for hardlinked snapshots. Each image is a "full backup".

  12. Ubuntu has built in backup system by Colin+Smith · · Score: 2, Interesting

    "Simple Backup Suite". Not quite Time Machine, but very simple and effective.

    apt-get install sbackup

    --
    Deleted
  13. Yeah, makes me wonder ... by dazedNconfuzed · · Score: 4, Informative

    I just drag my important files onto an external drive.

    The whole point is that you don't have to do that, it happens automatically.
    AND it catches all the files that you didn't think were important, but are.
    AND it lets you roll the system back to the state it was in at any given time in the past (hence "time machine").
    AND it takes care of any problems that can happen during backup (like "disk full", "power failure", etc.).

    --
    Can we get a "-1 Wrong" moderation option?
    1. Re:Yeah, makes me wonder ... by moosesocks · · Score: 4, Insightful

      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
  14. "something like"=/=real thing. technology missing by wouterteepe · · Score: 4, Insightful

    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.

  15. Rsync backup is not Time Machine by guruevi · · Score: 4, Insightful

    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
  16. 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.

  17. rdiff-backup by JBv · · Score: 2, Informative

    I use rdiff-backup with a cron job to do backups of my laptop to an external drive. It takes between 20-50 mins to do a daily backup of ~50Gb of data with about 200-700Mb of changed files. The only missing feature would be a "time machine" file browser in konqueror.

  18. Re:Innovation by Cecil · · Score: 3, Insightful

    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.

  19. Restore support in Linux installer by wumpus188 · · Score: 4, Interesting

    Under Leopard, you can wipe your disk clean, put in Leopard DVD and reboot... one of the first options would be to restore system from Time Machine backup. With this tool, what is the point of including /bin, /usr etc. in the backup if there is no system restore support in Ubuntu installer?

  20. more oblig by russlar · · Score: 2, Funny

    ...But will it run on Vista? you make the assumption that Vista runs.
    --
    Anybody want my mod points?
  21. Not an rsync expert by any means but.... by antifoidulus · · Score: 2, Insightful

    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....

  22. R1Soft! by zeeklancer · · Score: 2, Informative

    rsycn is a bit slow, and I find that it can't cope very well with a large amount of files. The only Linux solution I have found to be anywhere near the capability of TM is R1Softs CDP solution. It is too bad it does not run on Apple, but it does run on Linux and windows. R1Soft does have remote backups which in my opinion makes it a much better solution all together. In any case, I use TM for my Apple boxes and R1Soft for Linux / Windows, rsync is way to slow on any platform. http://r1soft.com/ -Zeek

    1. Re:R1Soft! by zeeklancer · · Score: 2, Interesting

      Really, when you get above half a million files rsync starts to choke, and requires a considerable amount of memory, which causes my server to swap out, thus trashing the performance of my server and causing the backups to take much longer than they needed to. With my R1Soft solution I am able to take backups on my busy servers on the hour, with little overhead. On my less buys servers with less power users I am able to take backups every 15 minutes. I think one of the big differences is the deltas are tracked in real time were as rsync will need to re-index on every backup. -Zeek

  23. Re:Innovation by sammyF70 · · Score: 2, Funny

    Sure am ;) I just find that kind of "In the beginning there was Apple .. then everybody started copying it" Appleboy talk fun.

    --
    "DRM is like the Ford Pinto: it's a smooth ride, right up the point at which it explodes and ruins your day."-C.Doctorow
  24. Rsnapshot by Urban+Garlic · · Score: 3, Informative

    When I first heard about "time machine", my first thought was that consumer-grade commercial software had finally discovered rsnapshot. It's packaged for Debian, and available in "sarge" -- that makes it at least three years old.

    Rsnapshot is an rsync-and-hard-links based scheme that also doesn't store duplicate data, and provides nice date-indexed browseable full file trees, much like the way both "time machine" and this flyback gizmo are described.

    I haven't been this excited since AOL re-invented "ytalk"...

    --
    2*3*3*3*3*11*251
    1. 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.

  25. FS with snapshotting by CarpetShark · · Score: 3, Interesting

    Hmm. My understanding/guess back when I first heard about it was that Time Machine was going to use the snapshotting feature of ZFS. Other Linux filesystems do have this feature. It's new and cool, but it's not ultra-new or ultra-high-tech. And yes, version control has been doing something similar for a long time.

    1. Re:FS with snapshotting by krog · · Score: 3, Informative

      Sadly, ZFS did not quite make it into 10.5 (ZFS read support is there, read/write support is experimental and present only in developer versions).

  26. faubackup/dirvish do this by CarpetShark · · Score: 2, Informative

    dirvish and (my favourite, and the one I've tested) faubackup do this. In the debian package, you just edit the config file for how many days, weeks, months, and/or years of snapshots to keep, pick a (possibly remote) directory to put the backups in, and then add lines to a cron job for each directory to backup. Leave it alone, and whenever something goes wrong, you just go back to the date-labelled dirs and copy the files back.

  27. Introducing ext3cow! Time-Machine for Linux by SpzToid · · Score: 4, Informative

    from the website:
    http://www.ext3cow.com/

    Ext3cow is an open-source, versioning file system based on ext3. It provides a time-shifting interface that allows a real-time and continuous view of the past. This allows users to access their file system as it appeared at any point in time.

    Ext3cow was designed as a platform for regulatory compliance, and has been used to implement secure deletion, authenticated encryption, and incremental authentication. See the publications page for more details.

    Some advantages of ext3cow:

          1.
                  It does not pollute the name space with named versions
          2.
                  It has low storage and performance overhead
          3.
                  It is totally modular, requiring no changes to kernel or VFS interfaces

    --
    You can't be ahead of the curve, if you're stuck in a loop.
    1. Re:Introducing ext3cow! Time-Machine for Linux by Bigjeff5 · · Score: 2, Interesting

      This looks to be very very similar to what the new Leopard file system is doing, only leopard seems to keep the changes in a "log" in each folder, where ext3cow makes tagged filenames (if I understand it right, I could be way off on that point). This ext3cow looks like it basically points changed data to the old file with the old data, not overwriting anything, and hides older versions of the incrimental data.

      This will mean that the drive will slowly grow, but the incrimental-down-to-the-filesystem setup means very little extra data use unless you are completely re-building files constantly with completely new data, and snapshotting multiple times a day, or whatever.

      It would be really easy I would think to make a frontend app for ext3cow to do the backups and be just as functional and easy to use as Time Machine.

      Cool beans man!

      --
      Security is mostly a superstition... Avoiding danger is no safer in the long run than outright exposure. - Helen Keller
  28. Re:Eh... by MightyYar · · Score: 3, Interesting

    Doesn't all backup programs do this? If you take "roll back" literally and don't read the rest of his comment, sure. But it's clear from the context that he means temporarily roll back and snag just one little part of the backup. Not only that, but from within any spotlight-enabled application.

    I've seen clumsy interfaces that let you grab a backed up file from within a backup before, but never one that lets you preview - let alone do all this from within other applications.
    --
    W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
  29. What's so new about Time machine? by MrSteve007 · · Score: 4, Insightful
    I have an honest question that no one seems to have answered. What is so exciting about 'time machine?' It is being extolled as new and groundbreaking, but I don't see much, if any of a difference with the 'previous versions' option within Vista, or 'shadow copy' which can be used in a network environment with XP and server 2003.


    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.

    1. Re:What's so new about Time machine? by phoebusQ · · Score: 3, Insightful

      1) Time Machine uses the FSEvents daemon to keep overhead to an absolute minimum 2) Time Machine uses file and directory hardlinks to minimize space taken, but provide a complete, usable, identical directory structure to the original 3) How to you do previous versions on a deleted file? 4) Time Machine provides a minimalist, automatic, and "easy-to-use" backup solution that people want to use. Making people want to use backup software is a coup in itself.

    2. Re:What's so new about Time machine? by bar-agent · · Score: 2, Insightful

      The biggest and most exciting thing to me about Time Machine is the plug-in system. Time Machine itself can just restore files. But the plug-in system looks like it allows the application to extract individual pieces of data from within backed-up files, and to treat a set of files as one unit for browsing purposes. Plus, there's the QuickView tie-in allowing apps to preview the contents of a backup.

      --
      i'd hit it so hard, if you pulled me out you'd be the king of britain [bash.org]
  30. Re:Eh... by Per+Abrahamsen · · Score: 2, Interesting

    The ones I have dealt with have all allowed you to retrieve a single file from within the backup granularity. Not sure what you mean by preview. Sounds like an interface thing.

    The interface has always been horrible though, which kind of reinforces the original posters claim that the new (or at least less common) stuff is in the interface.

  31. Re:Warning! Do Not Use! by geminidomino · · Score: 3, Funny

    Let's see who can come up with the most interesting way to complete the following sentence:

    "That's not a gloryhole, that's a..." "...space station."

    (Who didn't know that was coming?)
  32. 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).
  33. Other Things Missing by 99BottlesOfBeerInMyF · · Score: 4, Insightful

    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.

  34. Re:Time Machine has been around for a while... by beh · · Score: 2, Informative

    OK - there are a number of things -
    if you use rsync for hourly snapshots to keep everything for the past 24 hours, you would probably do that by creating 24 separate target repositories (i.e. 24 full backups); OR, you allow rsync to create backups for your files - at most 24, but you purge any file older than a day (i.e. if there are only 2 versions for a day, the 3rd version older than 1 day gets deleted).

    Now you want to extend this to keep ONE daily snapshot. Either again, create full repositories; OR you need to make your purging routines for numbered backups smarter in only purging all 'hourly' backups older than a day; but leave the last change for each day before in there as well.

    If you have that, you have the FILESYSTEM side covered.

    But, this does not allow you yet, to transparently go back in 'view only' to look at past events within your applications (this needs the application to support your backup tool, which is one of the reasons why a number of applications need to be changed for Leopard).
    Take the earlier example of an accidentally deleted address book entry - which you can restore from within TimeMachine - simply start TM while your addressbook is the 'current application' (the one having input focus). In TM, you will see your open address book, going back in time it will show the state of the applications saved data 1, 2, 3 or more hours or days ago (depending on your selection). In iPhoto, it would show you the state of the Albums you had at the time; but neither of the two apps would allow you to SAVE back into the past. Once you find the record you like, you select it and click restore, and TM will go back to the desktop and the data you have selected goes back into your app (this can even be a PARTIAL restore of the data, say ONE of two albums you deleted).

    In terms of Leopard compatibility and apps, most apps need updates, because they do not keep their application data in sync on the disk -- e.g. you could have a partially updated file at the time TM takes the backup, which might result in unusable data for that particular snapshot. I haven't looked on what exactly the app needs to do, but TM will interact with the applications directly to save the correct states; or to display the correct information if you go 'back in time'.

    And this part definitely goes way beyond other backup solutions I have seen, because backups up to now only care about what the filesystem says; and do not care about integration with applications.

    That said, what I do not like about TimeMachine is that it is restricted to one destination volume (my MacPro has about 1.7TB in disk space; there is no single disk that could take a full backup of everything. Luckily, I have a sizable amount of data that rarely changes - so I back that up manually and exclude this from TM. Otherwise I would basically need a separate RAID to put the backups on...

  35. Re:Time Machine has been around for a while... by Pausanias · · Score: 4, Informative

    That's not true. Read the link I posted above. rsync can create hard links, through the magical --link-dest option. This means that you never need to do full backups, or worry about keeping track of several versions.

    You can set up rsync to do hourly, daily, weekly, and monthly backups, all taking up minimal (and I mean minimal) disk space, using hard links.

    All you have to do is rm -rf your oldest directory of each kind (hourly daily, weekly, monthly) every time you run.

    Heck, I'll even give you the BASH script I use to do this. Call it via cron: e.g. snapshot daily

    #!/bin/bash
    # This script makes a snapshot of several directories using rsync.

    # Version 0.5, Rob Bos, September 8, 2002
    # Modified by Pausanias August 2004
    # This script is released under the terms of the
    # GNU General Public License, version 2.0.

    # run "hourly" from a crontab; run daily, weekly, and monthly from /etc/cron.{daily,weekly,monthly}/.

    [ -z "$1" ] && echo syntax: $0 snapshottype baselinesnapshottype && exit 1

    type=$1 # hourly, daily, monthly snapshot?
    logfile=/var/log/snapshot.log
    backuproot=/Volumes/Sutton/ibackup
    backup=`cat /etc/snapshot/include.txt`
    excludefile=/etc/snapshot/exclude.txt

    echo `date` >> $logfile

    [ ! -e "$backuproot" ] && echo "$backuproot not mounted." >> $logfile && exit 1

    # Assume that the baseline snapshot type is daily unless otherwise
    # specified.
    if [ "f$2" == "f" ]; then
    basetype="daily"
    else
    basetype="$2"
    fi

    # if you run every two hours, make it 12, every hour, 24, etc. try to span the entire day.
    # The below setting runs 8 times a day (every three hours), keeps 7 days, 4 weeks, and 12 months
    # of backup.

    hourlymax=8
    dailymax=10
    weeklymax=5
    monthlymax=8

    # This simplifies things down below so I can use $max to delete
    # the overrotated snapshot, as well as $hourlymax/$dailymax to do
    # rotation checks.
    [ $type == "hourly" ] && max=hourlymax
    [ $type == "daily" ] && max=dailymax
    [ $type == "weekly" ] && max=weeklymax
    [ $type == "monthly" ] && max=monthlymax

    # Rotate the current list of backups, if we can.
    if [ -d $backuproot/$type.1 ]; then
    oldest=`ls -dt $backuproot/$type.* | tail -n 1 | sed 's/^.*\.//'`
    echo Oldest is $type.$oldest >> $logfile 2>&1
    for i in `/usr/local/bin/seq $oldest 1 -1`; do
    mv $backuproot/$type.$i $backuproot/$type.$(( i + 1 ))
    done
    linkopt="--link-dest=$backuproot/$type.2"
    else
    linkopt=""
    fi

    if [ "$type" == "$basetype" ]; then
    rsync -xva $linkopt --safe-links --delete --delete-excluded --exclude-from=$excludefile $backup $backuproot/$type.1/ >> $logfile 2>&1
    elif [ "$type" == "daily" ]; then
    [ -d $backuproot/hourly.$hourlymax ] && mv $backuproot/hourly.$hourlymax $backuproot/daily.1
    elif [ "$type" == "weekly" ]; then
    [ -d $backuproot/daily.$dailymax ] && mv $backuproot/daily.$dailymax $backuproot/weekly.1
    elif [ "$type" == "monthly" ]; then
    [ -d $backuproot/weekly.$weeklymax ] && mv $backuproot/weekly.$weeklymax $backuproot/monthly.1
    fi /usr/bin/awk 'substr($0,length($0),

  36. Re:Eh... by TheNetAvenger · · Score: 2, Insightful

    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'...

  37. FLOSS' failure pathos by Burz · · Score: 2, Interesting

    It is largely due to the difference in pro vs. casual development methodologies. They both have their failing in terms of discipline, but the casual crowd lack something ELSE:

    * They are coding to impress/please either A) themselves or B) their coder and sysadmin peers

    * They rarely establish who their audience is (not consciously).

    * The above determines what interface (in the broad sense) types will be honored. In the case of GNU system hackers, the interfaces are CLI and libwhatever APIs. ABIs are shunned party because of licensing, but also to a large extent because their audience is unconsciously assumed to be people familiar with linkers and compilers.

    * Press Ctrl-Alt-Bksp in your Linux GUI and watch as all unsaved data is *instantly* oblitterated. GUIs are a nuisance to the Linux crowd because they represent an unwanted commitment (or the suggestion of a commitment they want to avoid). Likewise WRT a graphics subsystem that isn't properly configurable given any reasonable set of usability criteria... if Xfree and Xorg can't write a comprehensive configuration panel themselves, they should at least give others the tools to do so (and the semantically f--ked xorg.conf file is no such tool). Any fool writing for usability would have at least provided an API to have settings changed/validated in memory AND saved to disk by the graphics subsystem itself.

    And just what is a computing 'interface'? It is defined as a commitment to a set of functionality for a particular class of actors (users). But FLOSS coders for the most part are NOT going to commit to end-users or other non-peers.

    The ones that buck this attitude and inherited a lot of professionalism and user-focus from the proprietary world are: Mozilla, OpenOffice, MySQL among others. Ubuntu could qualify, though they aren't my ideal of 'coders'... they have internalized some specific user-focused methodologies.

    Ones that are stereotypically slacking in the FLOSS manner: Gimp, Linux kernel (sorry, that is my honest assessment and I can cite Torvalds' own comments that would support it). KDE and to a bit lesser extent Gnome (although I hate to say so, because Gnome is so technologically awful).

    Recommendations:

    * Learn Rational Unified Process. Particularly the parts that cover documentation of requirements and use cases; continually reviewing/refreshing these is the best discipline for staying audience-focused.

    * Dump the software repository mentality. Repositories/distros are inserting themselves between you and your end-users. You will have to code your stuff with LSB Desktop as a target and include all the rest that the spec doesn't supply, but you will finally be able to realistically distribute apps to end-users independently, on your own, without dependency issues.

    * Re-connect with Personal Computing as a concept. Why were IBM PCs coveted in offices that were bursting with IBM mainframe terminals? Answer: Personal initiative and control for non-experts. Distro/repository culture comes from the computer science lab and server room. The concept of PC platform, a defined and easily navigable space upon which you place third-party products, came from the garage and the backoffice. Apple has a PC platform, and MS does. FLOSS has BSD and Linux distros where a novice programmer cutting her teeth has little chance of quickly and easily sharing her work with classmates and friends (even when they run Linux)... she'd have to devote weeks to fighting with and learning the package manager/dependency tarbaby first.

    * For the OS people: Your graphics and sound subsystems must be refactored before they can meet basic user expectations. Linux *still* does audio-blocking on inexpensive hardware even with ALSA; the architecture of audio mixing must be reworked to never allow blocking unless an app jumps through hoops to do so. Not hearing a softphone ring, or a meeting alarm because of some Flash-laden web pages doesn't cut it... it's UNUSABLE!

    Fixing this w

  38. Re:Eh... by DaggertipX · · Score: 4, Interesting

    Because as is the case with a lot of things about windows, they don't seem to realize when they have a good thing. They wrote all the good backend code for a great feature, halfassed the UI so that the general populace wouldn't get it or want it, and then hid the entire shebang in the most expensive version of their software. Then again, there I go, thinking that maybe desktop users are MS's customers, as opposed to say - dell and hp.

  39. Error in code by dotancohen · · Score: 2, Informative

    Redhat/Fedora: $ yum install pygtk2 gnome-python2-gconf gnome-python2-extras pygtk2-libglade That should be:
    $ su -
    # yum install pygtk2 gnome-python2-gconf gnome-python2-extras pygtk2-libglade

    Note the hash before the command, as opposed to the dollarsign. The hash indicates that we are root.
    --
    It is dangerous to be right when the government is wrong.
  40. Re:Eh... by MightyYar · · Score: 2, Informative

    By preview I mean to see the contents of the file without actually "restoring" it. So you can know if you have the right version or if you need to go back/forward further.

    --
    W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
  41. Re:Eh... by jthill · · Score: 2, Insightful

    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.