See Which Files Time Machine Backed Up

by Matt

One of the glaring weaknesses with Apple’s implementation of Time Machine is that there is no way to see which files Time Machine backs up during any of its scheduled runs. Why would you even care? For one thing, you may want to make sure that files you know have changed are getting backed up, simply for peace of mind. On the other hand, you may feel that Time Machine backups are too large, and you’d like to figure out which files you can Time Machine not to back up.

What can you already do? In the Time Machine System Preference, you can see how many megabytes or gigabytes of data are being backed up, and if you open up the Console (/Application/Utilities), you can do a search for “backupd” to see what messages Time Machine is sending to the Console, but that’s it.

How, then, does one actually see which files have been backed up? I know of at least two ways to do it. One requires the use of the Terminal, and the other does not. Because the Terminal application is being actively developed, I’m going to begin with it, but if you are not comfortable with the Terminal, you may skip down to the “easy” section (though you might skim the terminal section to have a better understanding of what is happening).

Getting TMS into the Terminal

TMS is the application we need in order to view the changes in Time Machine. Once you download the application, you have to deal with putting it somewhere that you can access from the Terminal. Here’s what to do:

  1. First, make sure the tms folder has been unzipped. Open the folder. We only care about the file called “tms” here.
  2. In the Finder, navigate to the Go menu, and click Go to Folder… .
  3. When the dialog box pops up asking you where to navigate to, type:
    /usr/sbin
  4. When the /usr/sbin folder opens, drag the tms file from the tms folder to the /usr/sbin folder.
  5. The Finder will tell you that you have to authenticate to add tms to the /usr/bin folder. Choose to authenticate, and type in your administrator name and password.
  6. After the file copies, you can close the windows.

Using TMS

Now that we’ve moved TMS, you need to open up the Terminal (in /Applications/Utilities), and we’re ready to begin our task.

Note: If you back up your computer using a disk that is NOT physically connected to your computer (meaning it’s on a Time Capsule, AirPort disk, or any other disk that turns your backup in to a disk image, you must mount your disk image in the Finder before tms will work. All you need to do is navigate to the backup and double click the disk image. If you have trouble with this, let me know in the comments.

Now, to get tms working, we only need to know how to type two things into Terminal:

tms snapshots
tms delta

When we type “tms snapshots,” (without the comma) tms will search find out how many times Time Machine has performed a backup. Each backup is a snapshot, and snapshot is numbered. What we will end up doing is asking tms to tell us what are the differences between two shap shots. Here’s what happens when I type “tms shapshots” into Terminal and hit return:

Now, that may look like gibberish to you, but if you look carefully, it is listing each backup made from my computer, which is called “aporia.” A date and time is listed for each. If you notice, I have Time Machine set to backup just once a day at 4 a.m. Thus, the latest backup, number 33, has a time/date stamp of 2008-12-09-042408, meaning Time Machine finished the backup at 4:24 a.m. (and 8 seconds) on Dec. 9.

I’ve circled the numbers 33 and 32 because those are the newest two backups (tms lists the backups from newest to oldest). If I want to find what has changed from backup 32 to backup 33, I simply type (followed by the return key):

tms delta 32 33

If I wanted to see the differences between backup 1 and backup 15, I would type:

tms delta 1 15

Then, slowly or quickly, tms will start spitting out all of the changes between those two shapshots. Here’s the first page text I get in the Terminal, showing changes:

Each of those files listed has changed between the two backups, so in the latest backup, those files were again backed up. Now, my list goes on and on, as I’m sure yours does. If you scroll through it all in the Terminal, you’ll be able to see everything that got backed up. While this isn’t a pretty way of doing things, it works, and it should be good enough to tell you what you want to know.

TimeTracker: A Much Easier Alternative

If you’d like to use a program with a graphical user interface, you have one choice: TimeTracker. Now, you may be wondering why I’ve made you read this entire article before getting to the easier (and some may say, better) solution. Basically, TimeTracker is (at this point) a completely unsupported program. The author, Charles Srstka, does not list the application on his website. It has no help and does not even have a custom icon. It’s simply a quick fix. Charles originally posted the link to his application on a MacRumors Forums post, and if you haven’t, by chance, stumbled upon the post, you probably don’t know it’s out there.

Please don’t bog down Charles with requests for support. The fact that he wrote this application should be enough for us.

To use TimeTracker, the same caveat as above applies: if your backup is on a Time Capsule, AirPort disk, or any other disk where it has been stored on a disk image, you must mount that disk image before opening TimeTracker.

Simply open the application and give it a minute or two to scan all the backups, then you simply navigate through your shap shots to see the changes. For example, here’s the image I get from the latest backup (which was equivalent to me typing the “tms delta” command above):

What do you think of these solutions? Did they work for you? Is one better than the other? Have you found a better way to view the changed files in Time Machine backups? Let us know in the comments.

Related Posts

Previous post:

Next post:

{ 23 comments… read them below or add one }

1 micsaund March 22, 2009 at 10:43 am

Great – thanks! I had found the tms app, but didn’t know what sequence of steps to take to get the listing of the files from the last backup. I may take the GUI out for a spin, which I didn’t know about prior to this post, but I’m very comfortable on the cmdline. Anyway, well written post, good screenshots and clear steps – thanks!

micsaund’s last blog post..Pinball: How It’s Made

2 Chatin April 10, 2009 at 5:38 pm

Thank you so much for telling us about TimeTracker. This is exactly what I was looking for. Thanks again!!!

3 Ikechukwu July 30, 2009 at 3:36 pm

Thanks so much for telling us of Time Tracker, as you stated earlier, I found it was backing up my parallel partition and that was what was occupying the large backup. I’ll just exclude it from backups. Thanks again for the help.

4 mk12 August 12, 2009 at 9:39 am

What does it mean (in timetracker) if therer’s a folder name in red with a warning sign (the yellow triangle in alert boxes) in front of it??

5 mk12 August 12, 2009 at 9:50 am

Nevermind I figured it out, its because of the account your logged in. Like if my account is 1 and there’s another account, 2, then If there was a change in 2′s library, when logged in my account looking in timetracker, it would just show amy->library, with library in red text, and not let you see inside, because in finder you don’t have priveleges to access other accounts’ folders. Nothing to worry about.

6 harry November 6, 2009 at 7:16 pm

tms command line doesn’t work snow leopard (10.6) verison.
does anyone have any idea about it.

Also in Time Tracker — it would have be better from a GUI point of view, to select two different backup and then it will highlight the difference — similar to the way tms delta would do.

7 nicolas January 23, 2010 at 10:31 pm

Timetracker did not work for me (I answered no to automatically load first time)
Backuplounge does the same thing and is perfect though

8 blodger February 6, 2010 at 1:43 am

Time Tracker, a little piece of magic!!!!!
Many thanks Charles for writing this.

blodger

9 Scott May 20, 2010 at 6:31 pm

tms also fails for me on Snow Leopard. Can’t find any reference to Buckuplounge anywhere on the net – where did you find it Nicholas?

10 ohnose November 13, 2010 at 1:16 pm

No SL support

11 Fuli January 22, 2011 at 3:08 am

Scott: I think he meant BackupLoupe…

12 Fuli January 22, 2011 at 3:12 am

Also check out timedog

13 Andy April 7, 2011 at 2:02 am

TimeTracker helped me identify the culprit, why TimeMachine backed up 2GB every hour. It was a large Lotus Notes database that replicated with the server every 30min.
Great tool.

14 Peter May 29, 2011 at 11:18 am

Thx for the post ! Appeared that my dropbox folder was still back-uped, which is not necessary of course but may mean a lot of backup work if others are using is for huge files.

15 Bob June 1, 2011 at 5:43 am

I downloaded TimeTracker but when I try to run it I get a message saying that the alpha version has expired, checked the author’s site but nothing new there as well. Anybody else getting the Expired message?

16 olmo electric car June 11, 2011 at 3:18 am

TimeTracker didn’t work for me. It says, I don’t have permission for the file “Shared”.I don’t know what it means, what share is he looking for?

since tns is only for 10.5 i can’t use it.

My TM is backing up everytime more than 3 GB and I don’t know why… really strange.

olmo

17 Anthony November 2, 2011 at 12:41 pm

I have same problem as olmo electric car

18 Simon Joslin August 8, 2012 at 6:02 am

See which files were specifically backed up in each snapshot on your Time Machine with Time Tracker http://t.co/pCNMmvub

Leave a Comment

*

{ 8 trackbacks }