One of the more common manual tasks that is run is listing the recent backups that can be restored. This is done using the listbackups verb with no operators the backup directory needs to be available when run, so cd into that before using listbackups. To do so, use the compare verb and provide the paths between the two backups that were obtained when using the listbackups verb, as follows: You can also look at all of the backups and potentially derive future space requirements based on a trend line by using the calculatedrift verb: So you might move backups to a new location, or move backups to a new solution.
These numbers will be different for everyone because they're based on how much data you store in the backup, and how long you've been using Time Machine. It can take some time to run the drift calculations, depending on the size of your backup drive, so be patient. People who want to manage remote Macs or who want to run scripts containing commands for Time Machine. This is a perfect case for the fixed-path exclusion method. He's also the author of Take Control of iTunes
You can use the inherent backups to claim a new machine directory. And in my experience your mileage may vary. Here, you can use the thinlocalsnapshots verb to prune the oldest data from backups. You could use this type of technology to do a rudimentary form of imaging or rolling users into a new machine.
To restore a backup, you would use the shocking here restore verb.
Apr 15, As with most of OS X's functions, there is a command-line tool that lets If you want to run a Time Machine backup right away, on a Mac that. Apr 23, Since some of the more interesting features of Time Machine Server are in that interface by using the command line to access Time Machine.
If I were to programmatically erase one of my coworkers data. I would trust a cloning tool, but would I want to basically write my own archival solution using tmutil? With my own data, though… sure!
For example: Thanks, Bob. Previous Previous post: Next Next post: Inspecting and creating Mac installer packages on Linux.
Sorry, your blog cannot share posts by email. Skip to toolbar About WordPress. Thankfully, the company includes a more detailed method of controlling Time Machine via the Terminal. The manual page explains what the command does and how to use it via a series of verbs, locations, and the correct syntax.
The functions offered by the latter category are usually available only via the Terminal and are often helpful during advanced troubleshooting.
That means that if we run the above command, but then move the Scratch folder to another location on our Mac, it will still be excluded during Time Machine backups. If you want to exclude items only from a specific location, you can append an option to the command, in this case [-p], to tell Time Machine to use a fixed-path method of exclusion.
But if we change our mind and move a file out of Scratch to, say, our Documents folder, we still want to have that backed up. 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. 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.
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.