Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Copy Time Machine Backup Files: Full Guide

· 7 min read · Home Tech

In this article
  1. Understanding Time Machine Backups
  2. Why You Might Need to Copy Time Machine Backups
  3. How to Copy Time Machine Backups Correctly
  4. Alternative Methods and Their Pitfalls
  5. What About Copying Individual Files from Time Machine?
  6. Common Problems and Solutions
  7. Costs and Safety Considerations
  8. Frequently Asked Questions

Yes, you can copy Time Machine backup files, but you should not manually copy them for restoration purposes. Time Machine backups are stored in a proprietary format that requires the Time Machine application to restore correctly. However, you can copy the entire backup folder to another drive for safekeeping or migration, provided you use the right method.

Understanding Time Machine Backups

Time Machine is Apple's built-in backup solution for macOS, introduced in Mac OS X 10.5 Leopard in 2007. It automatically creates hourly backups for the past 24 hours, daily backups for the past month, and weekly backups for all previous months. These backups are stored in a folder named Backups.backupdb on your backup drive. Inside, you'll find a nested structure of dated folders, each containing a snapshot of your Mac's file system at that point in time.

Time Machine uses hard links to avoid duplicating files that haven't changed between backups. This means that a single file can appear in multiple backup snapshots, but it's only stored once on the disk. This is why copying the entire backup folder can be tricky—if you copy it using Finder, you might end up with a massive, duplicated mess that no longer uses hard links efficiently.

Why You Might Need to Copy Time Machine Backups

There are several legitimate reasons you might want to copy your Time Machine backups:

  • Replacing a failing backup drive: If your current backup disk is showing signs of failure, you might want to move the backups to a new drive before the old one dies.
  • Upgrading to a larger drive: As your data grows, you may need more backup space, and copying the existing backups to a larger drive is a common migration path.
  • Keeping an off-site copy: You might want a second copy of your backups stored in a different location for disaster recovery.
  • Switching to a network-attached storage (NAS) device: If you're moving from a directly attached drive to a NAS, you might want to migrate your existing backup history.

In all these cases, you're not copying individual files for restoration—you're copying the entire backup database to a new location.

How to Copy Time Machine Backups Correctly

The recommended way to copy a Time Machine backup is to use the asr (Apple Software Restore) command in Terminal. This tool is designed to copy disk images and volumes while preserving the hard link structure. Here's a step-by-step guide:

  1. Connect both the source backup drive and the destination drive to your Mac.
  2. Open Terminal (found in Applications > Utilities).
  3. Identify the source volume by running diskutil list or ls /Volumes to see the exact names.
  4. Unmount the destination drive if it's mounted, using diskutil unmount /Volumes/DestinationDriveName.
  5. Run the following command, replacing SourceDriveName and DestinationDriveName with your actual volume names:
sudo asr -source /Volumes/SourceDriveName -target /Volumes/DestinationDriveName -erase -format HFS+

This command copies the entire source volume to the destination, erasing the destination first and formatting it as HFS+ (the standard format for Time Machine drives). The -erase flag is required if the destination drive is not empty or if you want to ensure a clean copy.

After the copy completes, you can set the destination drive as your Time Machine backup disk in System Settings > General > Time Machine. The new drive will contain your full backup history, and Time Machine will continue from where it left off.

Alternative Methods and Their Pitfalls

While asr is the most reliable method, some users try other approaches:

  • Finder copy: Dragging the Backups.backupdb folder to a new drive in Finder will work, but it will expand all hard links. This means the copy will be much larger than the original (potentially several times larger) and may take a long time. It will still function as a Time Machine backup, but it's inefficient.
  • Carbon Copy Cloner or SuperDuper: These third-party tools can clone the entire backup drive, preserving the hard link structure. They are often easier to use than Terminal commands, but they are paid software (though they offer trial versions).
  • Disk Utility's Restore function: You can use Disk Utility to restore a disk image of the backup drive to a new drive. This works well if you first create a disk image of the backup drive, but it requires enough free space to store the image.

A common mistake is trying to copy only a subset of the backup folders, such as a single dated snapshot. This will not work because Time Machine relies on the entire backup database to manage hard links and provide a coherent restore experience. You must copy the entire Backups.backupdb folder or the entire volume.

What About Copying Individual Files from Time Machine?

If your goal is to retrieve a specific file or folder from a Time Machine backup, you should not copy it manually from the backup drive. Instead, use the Time Machine interface:

  1. Open the folder where the file was originally located (e.g., Documents).
  2. Click the Time Machine icon in the menu bar and select "Enter Time Machine."
  3. Use the timeline on the right to navigate to the date and time you want.
  4. Select the file or folder you want to restore and click "Restore."

This method ensures that the file is restored to its correct location and that any associated metadata is preserved. Manually copying files from the backup drive can lead to permission issues or incomplete restores, especially for system files or app data.

Common Problems and Solutions

When copying Time Machine backups, you might encounter a few issues:

  • "The volume is in use" error: This happens when the source or destination drive is mounted. Unmount the destination drive before running asr. If the source is in use, you may need to boot from a different volume or use Recovery Mode.
  • Destination drive not large enough: The destination must be at least as large as the source drive's used space. If it's smaller, the copy will fail. Check the used space on the source drive before starting.
  • Slow copy speed: Copying a large backup can take hours. Use a wired connection (USB-C or Thunderbolt) rather than Wi-Fi if you're copying to a network drive. Also, ensure both drives are healthy and not fragmented.
  • Backup not recognized after copy: If you copied the backup using Finder, the new drive might not be recognized by Time Machine. In that case, you can use the tmutil command to set the destination as the backup disk: sudo tmutil setdestination /Volumes/NewDriveName.

Costs and Safety Considerations

Copying Time Machine backups is free if you use the built-in asr command. Third-party tools like Carbon Copy Cloner cost around $40, but they offer a user-friendly interface and additional features like scheduled cloning. There's no ongoing cost for copying backups, but you should consider the cost of the new drive itself.

Safety is paramount when dealing with backups. Always ensure that the source drive is in good health before copying. If the source drive is failing, you might want to use a tool like Disk Utility's First Aid to check it, or consider using a professional data recovery service if the drive is severely damaged. Also, after copying, verify that the new drive works by entering Time Machine and trying to restore a test file.

Frequently Asked Questions

Can I copy Time Machine backups to an external drive and use it on a different Mac?

Yes, you can. The backup drive is not tied to a specific Mac. After copying the backup to a new drive, you can connect it to another Mac and set it as the Time Machine backup disk. The new Mac will be able to browse and restore from the backup history, though it will only restore files that are compatible with the new system.

Will copying Time Machine backups preserve all my versions of files?

Yes, if you copy the entire backup database correctly (using asr or a cloning tool), all the historical versions of your files will be preserved. If you use Finder, the hard links are expanded, but the data is still there—just stored inefficiently.

Can I copy a Time Machine backup to a network drive or NAS?

Yes, you can copy to a network drive, but the asr command may not work directly over the network. Instead, you can use a tool like Carbon Copy Cloner or rsync to copy the backup folder to a network share. However, Time Machine officially supports network backups only to Apple's AirPort Time Capsule or certain NAS devices that support the required protocols.

How long does it take to copy a Time Machine backup?

It depends on the size of the backup and the speed of your drives. A typical backup of a 500 GB drive might take several hours over USB 3.0. Using a faster interface like Thunderbolt can reduce the time. There's no way to speed it up significantly, but you can run the copy overnight.

What happens if I interrupt the copy process?

If you interrupt the copy, the destination drive may be left in an inconsistent state. You should restart the copy from scratch, as partial copies are not reliable. If you're using asr, it will fail with an error, and you'll need to start over.

Is it better to start fresh with a new backup instead of copying?

If your backup drive is failing, copying is the only way to preserve your history. However, if you simply want to switch to a larger drive and don't need old backups, starting fresh is simpler and faster. Just remember that you'll lose the ability to restore files from before the switch.