40

I've just replaced my existing MacBook Pro with a new MacBook Air. I've got 18 months of Time Machine backups from the old computer. I'd like to configure my new computer to use the old computer's Time Machine backups, so the new computer picks up where the old one left off. Is this possible? If so, how?

I didn't restore the new computer from a Time Machine backup because my old computer used more disk space than my new computer. There was a lot of cruft as well, so I decided to start from scratch on the new one. I'm slowly pulling off individual files and settings from a clone of the old computer's hard drive.

splattered bits
  • 827
  • 2
  • 8
  • 14
  • So what do you mean by "use the old computer's Time Machine backups" if you don't mean restoring from it? – Daniel Dec 03 '11 at 04:15
  • 2
    The backups from my old computer use 1.1 TBs of a 1.5 TB drive. If I start backing up my new computer from scratch, the new backups will be limited to the remaining 0.4 TBs. If I tie the new computer to the old computer's backups, I get access to the old computer's files (which is what I want, since conceptually the two machines are the same) and Time Machine will delete old backups to free up space. – splattered bits Dec 06 '11 at 19:55

9 Answers9

24

I found the following solution here:

sudo tmutil associatedisk -a "/Volumes/Macintosh HD" "/Volumes/Time Machine Disk/Backups.backupdb/John Doe's MacBook/Latest/Macintosh HD"
  • The link does not work anymore, luckily its archived: https://web.archive.org/web/20121108150247/http://simon.heimlicher.com/articles/2012/07/10/time-machine-inherit-backup-using-tmutil – Raynigon Jul 04 '22 at 19:43
23

By now, there seems to be a dedicated tmutil command:

sudo tmutil inheritbackup <path to previous time machine backups on mounted volume>

Example:

sudo tmutil inheritbackup /Volumes/Seagate\ Backup\ Plus\ Drive/Backups.backupdb/MacBook
  • 1
    This also works with the ".sparsebundle" file specified as the argument. – samkass Apr 19 '15 at 23:03
  • 1
    Works perfectly! For reference, effective on macOS Serra, too. – Michael Ahlers Oct 06 '16 at 14:31
  • @PascalVanHecke Does this work with Mavericks? – iwantmyphd May 19 '17 at 17:05
  • I just got this error using .sparsebundle:

    sudo tmutil inheritbackup /Volumes/Data-2/Adam’s\ MacBook\ Pro.sparsebundle

    Error: Attaching disk image... /Volumes/Data-2/Adam’s MacBook Pro.sparsebundle: Attach failed: Failed to attach disk image. (error 35)

    Any ideas? I am on High Serra

    – Adam Moisa Sep 06 '17 at 01:49
  • @AdamMoisa Make sure you unmount the sparsebundle first. You perform the inheritbackup operation with the sparsebundle unmounted, then mount it and perform the associatedisk operation. – Andreas Yankopolus Nov 15 '17 at 02:36
  • This works like a charm on macOS Catalina! Thank you so much :) – Mohit Singh Dec 09 '19 at 17:45
  • From what I've read this only fulfills the "I'd like to configure my new computer to use the old computer's Time Machine backups," part of the question, not "so the new computer picks up where the old one left off. Is this possible?", which instead requires tmutil associatedisk. ("Note that even if you choose to inherit the backup, Time Machine cannot pick up where it left off and copy only new files. It always copies everything from the new Mac to the backup. Even so, inheriting can have benefits." (http://www.creativetechsupport.com/help/it/install/timemachine-inherit.html) – bmaupin Mar 23 '21 at 14:23
2
  1. Make sure the name of the new computer's hard drive is the same as the old computer's hard drive. Click once on the hard drive and hit enter to rename.

  2. Make sure the new computer's name is the same as the old computer's name. Open System Preferences, then Sharing. Enter the name in the Computer Name field. (This step may not be necessary, but it's what I did.)

  3. Plug-in the existing Time Machine drive. Open the Time Machine preferences and turn Time Machine on. Click Select Disk… and choose the Time Machine drive. After a few seconds, the backup will start. It will probably take awhile because OS X recognizes that you're backing up an entirely new disk, so backs up the entire disk. It might have to delete a few of your oldest backups, depending on how much space is left on the Time Machine drive.

After the first backup, you can safely change the name of the new computer and its hard drive.

Update: Using this technique, you won't be able to browse any backups from your previous computer with the Time Machine interface (although they are removed when Time Machine needs to free up space for new backups). The old backups are still visible and accessible from the Finder.

splattered bits
  • 827
  • 2
  • 8
  • 14
  • 2
    I don't get what are you trying to accomplish with all this renaming business. As far as I know Time Machine recognizes backup sources by UUID and not name of the hard drive. Did I missed something? – iskra Dec 06 '11 at 18:49
  • 2
    It does use UUID, but also watches the name of the disk. If OS X detects the UUID of a disk changes, it falls back on the disc's name to pair a disk with a backu. The first backup after the UUID changes, it will do a full backup of the new disk (because it knows the disk is different), but as part of the history of the old disk. – splattered bits Dec 06 '11 at 19:46
1

There is also an extensive guide to troubleshooting Time Machine over on Apple OSX and Time Machine Tips (archive.org link because the original has gone away...) especically the following:

Anon
  • 264
  • Now Baligu.com hosts all the Pondini content: http://www.baligu.com/pondini/TM/Home.html – yurkennis Jan 24 '19 at 07:05
  • @yurkennis I'm wary to redirect links to Baligu because James Pond passed away in 2013 (http://www.beckerfamilyfuneral.com/obituary/3109691 ) and I can't know his wishes wrt to others rehosting (and potentially changing) his content... – Anon Jan 24 '19 at 13:20
0

I restored everything to a new machine and has this problem. I found a new folder on my backup disc indicating that Time Machine had tried to back up the new computer. I deleted it, and when I asked for a backup I was given the option of "inheriting" the old backups. When I accepted this option, everything was fine.

-1

Don't know if back then the Migration Assistant was less customizable...
I just did something similar and had the impression with the Migration Assistant I had quite some freedom what to take over or not to a new machine. I migrated from a MacBook Pro to a new iMac with the wish to keep both - my MacBook Pro and the new iMac - running in parallel and also with individual backups. As told I used the Migration Assistant and could then deselect all kind of stuff, also applications. Of course I didn't have the issue of lack of storage on the iMac as you with your move to a MacBook Air, but i would assume, you can deselect almost all data and application and keep only very little in the migration in order to keep some settings like the Time Machine without the need to migrate all. Once my migration was done, Time Machine started to do its process and told me, that there is already a Backup and whether I want to inherit the history of that Backup. For someone not wanting to fiddle around with renaming and commands probably the easiest way. The only issue I had then, was that the backup got stuck in the preparing process, but re-moving and adding - and confirming again the question to inherit the history of the existing backup - fixed the issue.

-1

If you want to back up to the same Time Machine disk that your old computer did, you can do that by plugging the external disk in and selecting it for Time Machine. If you don't restore from that backup, however, Time Machine will house both backups on the same volume, but you won't be able to pull files off of the drive from the other computer through the Time Machine interface. You can get to the other computer's backups by accessing the drive through /Volumes in the Finder.

Daniel
  • 34,803
-1

You can restore a Time Machine backup via the Finder or using the terminal.

  • Open the Finder, open the Time Machine backup, open Backups.backupdb, and you see the old machine name.
  • Open that folder and you see a list of folders with dates, like 2023-10-05-164933. This backup is from 5 October 2023, at 16:49hrs.
  • Drag that folder to the restore location and it should work.
  • Source: https://mactakeawaydata.com/restore-files-from-time-machine-to-another-mac/

Using the terminal you can use rscync:

  • Open the Finder and find the right backup folder like shown above.
  • Open the Terminal and become root: sudo -i (you should be administrator to be able to do this)
  • Type: rsync -axv
    • Now drag the folder from the Finder into the Terminal, and you should see sometime like this:
    • rsync -axv /Volumes/backupdisk/Backups.backupdb/oldmachinename/2023-10-05-164933
    • Complete this with the destination folder:

Terminal command:

rsync -axv /Volumes/backupdisk/Backups.backupdb/oldmachinename/2023-10-05-164933 /Volumes/restoredisk/

If you need to shutdown the computer you can quit at any moment and simply repeat later on. Rsync will skip all files already copied.

In the end you might want to change the ownership from root to your own account.

SPRBRN
  • 1,230
-2

I am far from having knowledge about this stuff, but it seems to me one of the Apple Support people had me disconnect the power from the Airport Extreme and restart it. I just "cloned" my lap top pro from old to a new lap top and got grief from Time Machine. I shut everything down, and the next thing I see "Would you like to inherit from Airport", so I clicked "Inherit". Woola, I looked up at the screen and it's working.

JIm
  • 1