2

Ive got a time machine hd (its actually a samsung external hd configured as a time machine) plugged into an external monitor at work, when i connect my laptop to the monitor via 1 usb and 1 thunderbolt i get connected to the time machine and it automatically backs up.

When i leave each day and want to take my laptop with me i used to just disconnect all the cable and go, but now because there is an HD attached i need to disconnect it first, before i remove the cable.

Is there a way to tell the time machine to auto disconnect itself after a daily backup or auto disconnect after each backup ?

sam
  • 3,895
  • Simply shutting down the laptop before you leave will disconnect the external drive. – IconDaemon Jan 05 '15 at 14:05
  • True, but i always leave it on when i take it home – sam Jan 05 '15 at 14:07
  • If your laptop has a SSD instead of a HDD, boot-up times are negligible. I know how hard certain behaviors are to change, as I used to put my MB Pro to sleep instead of shutting down when I went from classroom to classroom and to home & back, but when I switched to a MB Air, it proved unnecessary ... not to mention how bloody fast everything runs. < 5secs for Photoshop startup? Can't beat that! – IconDaemon Jan 05 '15 at 14:30
  • 1
    Other solutions have been post here: http://apple.stackexchange.com/questions/800/how-do-i-eject-the-time-machine-backup-drive-automatically-after-each-backup – trukvl Apr 10 '15 at 17:11

1 Answers1

1

I suppose you could put together a script which runs a diskutil eject command on the specific volume, then schedule it to run at 4:30 PM each day via cronx or another scheduling app. When you go to leave at 5:00 PM, the disk has already been ejected. The drive will always be something like /dev/disk2, so the script only needs to eject the specific volume name.

I would suggest ejecting it at the end of your day versus after a single backup. This way, you're getting the benefit of multiple backups throughout the day.