Time Machine Assistant




PURPOSE

This macro provides Time Machine information and control.

No configurations is required as all information is retrieved from tmutil and diskutil.

I created Time Machine Assistant for myself and others that I help with Time Machine. For those of us that periodically connect an external backup drive to a MacBook Pro or MacBook Air, it is important to check the status of Time Machine before disconnecting the external drive.

Also, in some cases, it’s nice to run Time Machine immediately before disconnecting the drive.

IMPLEMENTATION NOTE

This macro includes an Execute an AppleScript that contains the script the reports and controls Time Machine. Since all of the macro logic is contained in this script, it can be run like any other AppleScript. I use FastScripts 3 because it provides some nice AppleScript-related enhancements.

[ continued on Keyboard Maestro forum ]

If one is looking for a Time Machine “assistant,” I can highly recommend TimeMachineEditor, a simple but capable, free or donation-supported, utility app for scheduling and controlling Time Machine backups.

2 Likes

Hi, @karlnyhus. Thanks for mentioning TimeMachineEditor. I’ve used that also.

I created Time Machine Assistant for myself and many others that I help with Time Machine. For those of us that periodically connect an external backup drive to a MacBook Pro or MacBook Air, it is important to check the status of Time Machine before disconnecting the external drive.

Also, in some cases, it’s nice to run Time Machine immediately before disconnecting the drive.

Time Machine Assistant streamlines these workflows.

1 Like

I’ve updated Time Machine Assistant to Version 4.0.


If Time Machine is not running when the macro is triggered, a dialog like to the following will appear.

Note that if an encrypted volume is ejected, it must be disconnected and reconnected before it can be used again. When it is reconnected, the encryption key can be entered manually or retrieved from Keychain.


If the Start Time Machine button is selected, a dialog like to the following will appear.

Note the mounted and ejected volumes can be used; the latter will be automatically mounted.


If Time Machine is running when the macro is triggered, a dialog like to the following will appear.

If Interrupt & Eject or Wait (up to X min) & Eject is selected, the macro will provide a notification when Time Machine is interrupted or completes. A second notification will appear when the volume is ejected.


PURPOSE

This macro provides Time Machine information and control.

Minimal and only optional configuration is necessary. All Time Machine information (e.g., the status and volumes) is retrieved from tmutil and diskutil.

I created Time Machine Assistant for myself and others that I help with Time Machine. For those of us that periodically connect an external backup drive to a MacBook Pro or MacBook Air, it is important to check the status of Time Machine before disconnecting the external drive.

Also, in some cases, it’s nice to run Time Machine immediately before disconnecting the drive.

IMPLEMENTATION NOTE

This macro includes an Execute an AppleScript that contains the script the reports and controls Time Machine. Since the vast majority of the macro logic is contained in this script, it can be run like any other AppleScript. I use FastScripts 3 because it provides some nice AppleScript-related enhancements.

[ continued on Keyboard Maestro forum ]


For those that don’t use Keyboard Maestro, there’s also an AppleScript-only version of Time Machine Assistant.

1 Like