Hack: Accessing Time Machine backups
Tags: macos
Published: 2018-10-13 16:29:42

---
title: Hack: Accessing Time Machine backups
published: true
tags: macos
canonical_url: https://committed.software/posts/time-machine-mount/time-machine-hack/
---

[![james newcombe 350779 unsplash](https://committed.software/static/james-newcombe-350779-unsplash-3113aff4808b7b313d5c5777f499e9ba-f3a32.jpg)](/static/james-newcombe-350779-unsplash-3113aff4808b7b313d5c5777f499e9ba-7a1db.jpg)

A natural choice for macOS backup is to use Time Machine to output to an external device. To protect the data, the backup disk is encrypted and each backup is encrypted independently. That’s all standard functionality for Time Machine.

Time Machine works great when you wish to recover a deleted file or overwritten file. We don’t often see the need as we working in the cloud (versioning automatically on GDrive) or using Git (which is a time machine in its own right) but the safety net is reassuring.

In the last week, we had reason to access a backup but the computer in question had been reformatted for a different purpose, we couldn’t use it to access its own backup.

## What doesn’t work

The theory is you can access another computer’s Time Machine by **clicking on the Time Machine icon in the menu bar** and then **holding down holding Option (alt)**. (You can add the Time Machine icon to the menu bar using System Preferences). When you press Option _‘Enter Time Machine’_ changes to _‘Browse other backup disks…’_ which prompts for a backup disk.

Sadly, selecting the other machine’s Time machine backup doesn’t seem to work for us. It always displayed our current machine’s backup. A quick search shows others have seen the same problem.

## Disk Utility to the rescue

Access your backup server in Finder - it’ll be listed in the `Shared` section in the Sidebar. You can log in (with your disk encryption password) and navigate to the folder where your backups are stored.

They are `.sparsebundle` files, in recent versions of Time Machine. If you haven’t been using encryption, you can probably review them just by right-clicking and selecting _‘Show Package Contents’_.

If you are using encryption, then _‘Show Package Content’_ issues an error box, stating _‘Device not found’_.

Load up **Disk Utility**. Then use the menu to **File \> Open Disk Image** and navigate to the backup you want. You should enter your backup encryption password when prompted. It’ll take a moment to think, but then your backup will be mounted and accessible in Finder.

The backups are organised into folders which are timestamped _‘date and time of backup’_ and their content is _‘what has changed since the last backup’_. It is not that easy to find the latest content of a folder, but that’s the way it is. Copy the files you want out of the Backup.

### Warnings

- **Don’t change or add files** in the backup. It’s probably fine but you want your backup to work. This is an emergency!
- **Always unmount your backup volume** when you are done. Otherwise, next time to try to access it you may get an error saying it’s locked.

Use at your own risk!

Credit: Photo by [James Newcombe](https://unsplash.com/photos/Ro7Rfs4Tb_I) on [Unsplash](https://unsplash.com/?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)