Mac osx time machine command line

This is a perfect case for the fixed-path exclusion method. You can also use the Time Machine Utility to view and analyze usage and changes over time.


  • Discover How Much Data is Added to or Removed From Your Backups.
  • Diagnosing and treating Time Machine problems in Terminal – The Eclectic Light Company.
  • Restoring files from the command line.
  • How to Compare Latest Time Machine Backup to Macs Current State File by File?
  • Commandline restoration of a file in Time Machine on OS X | Hacks for Macs;

To get this information, type the following command note that you may or may not need root privileges for this command depending on the contents of your Time Machine backups:. Note that this is not your top-level Backups. The output of this command can take a long time depending on how many snapshots you have and how fast your Time Machine drive is.

Save disk space on your laptop

Apple configured Time Machine to identify source drives with a unique identifier UUID , something that is assigned when the drive is formatted and a new file system is created. This usually works fine, and helps prevent critical Time Machine data from getting mixed up between drives if you connect your external Time Machine drive to another computer, for example. Next, open Terminal, type the following command, and press Return.

Checksums are a useful basic check of backup integrity.

How to Compare Past Time Machine Backup to Current System State

This can give you an idea of the space consumption to expect on your backup volume, thus indicate how long it will take for existing space to be used up. There are three verbs which are useful for dealing with local Time Machine snapshots, which are typically made on laptops when they are away from their full backup drive: The first two are required to be run using sudo.

Although tmutil does not provide any magic wands which will fix all Time Machine problems, it contains many tools which go far beyond anything available in regular apps. Used carefully, it could get your backups out of trouble. Thanks for this excellent overview.

Like Like. Thank you — yes, tmutil status does not appear in the man pages, but looks valuable.

The problem

Thanks for letting us know of that. You are commenting using your WordPress. You are commenting using your Twitter account. You are commenting using your Facebook account. Notify me of new comments via email.

Control Time Machine from the command line

Notify me of new posts via email. This site uses Akismet to reduce spam. Learn how your comment data is processed. Expert diagnosis Apple provides a monster of a tool, tmdiagnose , to help its own support engineers work out what is going wrong with Time Machine. Storage 1 is being off-lined.

Storage 2 will host the Time Machine Backups moving forward. Therefore, the sparsebundles from Storage 1 are copied to Storage 2 All of the permissions, shares, etc.

How would the client system be able to connect to the new location and continue using the sparsebundle that was moved from Storage 1? Is there any command line to obtain the lates finished time machine? As with any other command, you should probably start by reading the man page.

Compare Time Machine Backups and List All Changes Between Backups

For Time Machine, that would be: Feel free to use the space bar a few times to skip to the bottom, or q to quit the man interface. For example, you can tell tmutil to compare backups using the compare verb. To see more on the usage of the compare verb, use tmutil followed by compare the verb, or action you wish the command to perform , followed by help: TimeMachineBackup Kind: Network URL: The simplest verbs to use are going to be the enable and disable verbs, which you might guess turn Time Machine on and off respectively.