10

Apple's advertising for Lion highlights a new "local snapshots" feature of Time Machine:

OS X Lion lets you take the Time Machine experience with you when you’re away from your Time Capsule or backup drive. Time Machine keeps a spare copy of the files you create, modify, or delete right on your Mac. Now if you accidentally delete a file while on the road, you can recover it from a local copy.

I'm wondering how this integrates with the regular Time Machine backups. Are the "local snapshots" copied to the external Time Machine drive the next time you connect it? And are they then deleted from the internal drive? What if you're doing dual backups with two separate external drives? ...

1 Answer 1

8

I haven't found any documentation for this feature yet, so I don't have any specific answers for your questions about interactions with external Time Machine drives.

However, I did do some playing around with the feature while using my laptop on battery. The first thing I noticed is that local snapshots were not enabled by default – for me, at least. I know that because "entering" Time Machine while my backup drive was detached resulted in the usual error message — until I executed the following from a command line:

sudo tmutil enablelocal

After I did this, a hidden volume called MobileBackups was created (in /Volumes) and I was able to "enter" Time Machine. (Perhaps local snapshots weren't enabled on my machine because I have less than 10% free disk space?)

Unfortunately, the feature seems a little half-baked. I tried the following, with pretty unsatisfactory results:

  1. Created a new folder, ~/Documents/Test.
  2. Forced a new snapshot by running tmutil snapshot.
  3. Verified that a new snapshot was created by looking in /Volumes/MobileBackups/Backups.backupdb/hostname/Latests/drivename/Users/myname/Documents.
  4. Deleted the Test folder.
  5. Entered Time Machine and browsed the backups/snapshots. The Test folder was not there in any of the backups.

Update: I installed Lion on a second Mac, and without any explicit action on my part, this Mac has a MobileBackups volume. And restoring deleted files from a local snapshot works on this Mac.

4
  • Have you been able to determine if versions and local store use the same storage structure?
    – bmike
    Jul 25, 2011 at 17:50
  • 1
    I haven't verified this myself because I haven't had the opportunity to use any versioning-enabled apps yet, but according to Siracusa, the answer is no. See his discussions of versioning internals and Mobile Time Machine. Jul 25, 2011 at 18:04
  • I am just still so happy to have time tmutil startbackup --block
    – bmike
    Jul 25, 2011 at 18:40
  • 1
    I known it's an old thread, but if you're still alive, I have a very specific question. Did your Time Machine set up to make encrypted backups while your main hard drive was not encrypted?
    – Frizlab
    Jan 11, 2013 at 0:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .