Compare Time Machine Backups and List All Changes Between Backups

This is a discussion on Compare Time Machine Backups and List All Changes Between Backups within the Apple Hardware forums, part of the Apple Forums category; Mac OS X 10.7 Lion includes a great tool called tmutil that lets you interact with with Time Machine from the command line. It’s a ...

Results 1 to 1 of 1
  1. #1
    Administrator
    Join Date
    Jul 2011
    Location
    Northern Michigan
    Posts
    25,446
    Member #
    1529
    Liked
    315 times

    Compare Time Machine Backups and List All Changes Between Backups




    Mac OS X 10.7 Lion includes a great tool called tmutil that lets you interact with with Time Machine from the command line. It’s a powerful utility that has a ton of options and we’ve used it before to disable local snapshots, but for the purposes here we are going to use it to compare Time Machine backups. Launch the Terminal from /Applications/Utitilities/ and let’s get started.


    Compare Latest Time Machine Backup to Macs Current State File by File

    tmutil compare



    The output can be fairly lengthy depending on how long you go between backups and how much data has changed. This is basically using ‘diff’ on the backup and current state, giving you a file by file breakdown of the differences. Files and paths with a + (plus) in front of them indicate it is new, files with a – (minus) in front indicate it has been removed, and a ! (bang) indicates the file has changed.






    You’ll also see the size each individual difference, and at the end of the commands output you’ll find a summary of total sizes of what has been added, removed, and changed.

    If you only want to compare file sizes, use:
    tmutil compare -s



    Compare Past Time Machine Backup to Current System State



    Finally, if you’re wondering how an older backup compares to the current system state, you can specify the path to the old backup:
    tmutil compare /Volumes/TimeMachineDriveName/Backups.backupdb/Macintosh\ HD/2011-11-02-129198



    Replace “TimeMachineDriveName” with the name of your backup drive, replace “Macintosh HD” with the name of the primary drive, and replace the date on the end with which date you want to compare that is stored within the Time Machine backups directory.


    1-21-12

    Source

  2. Ads

    Posts
    Many

Remove Ads

Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Time Machine not backing up External Hard Drive
    By JMan09 in forum Mac Applications
    Replies: 3
    Last Post: 11-24-2012, 09:17 AM
  2. Replies: 14
    Last Post: 04-04-2012, 03:39 AM
  3. Replies: 0
    Last Post: 11-16-2011, 07:56 PM
  4. Wish list for Ipad2 ~ what's yours?
    By Poisonivy in forum iPad
    Replies: 10
    Last Post: 09-09-2011, 05:36 PM

Contact Us
Back to top