How to associate a new external disk with complete Time Machine history
1
vote
1
answer
647
views
I want to restore my external USB drive to a new drive from a Time Machine backup. I used
sudo tmutil associatedisk
as was suggested in this answer to a similar question . The actual restoring worked well and I could also associate the new disk to the old backup, however I could only associate it to one snapshot at a time. A comment suggested using the -a
flag, as per the man
page:
thermopylae:~ thoth$ sudo tmutil associatedisk [-a]
"/Volumes/MyNewStuffDisk"
"/Volumes/Chronoton/Backups.backupdb/thermopylae/Latest/MyStuff"
The result of the above command would associate the volume store
MyStuff in the specified backup with the source volume
MyNewStuffDisk. The volume store would also be renamed to match.
The -a option tells associatedisk to find all volume stores in
the same machine directory that match the identity of MyStuff,
and then perform the association on all of them.
However I can't get it to work. When I run
sudo tmutil associatedisk -a "/Volumes/My Drive" "/Volumes/Time Machine/Backups.backupdb/My Macbook/Latest/My Drive"
I only get the usage message printed
Usage: tmutil associatedisk [-a] mount_point volume_backup_directory
A local volume mount point and a snapshot volume path are required.
I am sure that I used the correct mount_point
and volume_backup_directory
, because when I run the command without the -a
flag the association works – with the caveat being that while I can view that specific snapshot of the drive when browsing Time Machine backups, the (new) drive is still not included when backing up.
I am out of ideas here, because I can not see my error in using the command and I can't seem to find anyone who has had a similar problem. Any ideas would be appreciated. I would like to keep the drive history, but if that is not possible (i.e. if I can only associate the most recent snapshot) then most importantly I need Time Machine to recognise that it should keep backing up this drive.
If this is important: As a last ditch idea I also tried using the command with [-a]
instead of -a
but that only yielded the result
zsh: no matches found: [-a]
with the backup then being un-associated again.
**Edit:** The external disk is formatted as HFS+
(so is the Time Machine disk, as to my knowledge Time Machine does not work with APFS-formatted disks), I am using macOS Ventura 13.2.1 on an M2 MacBook Air.
Asked by GeF
(143 rep)
Mar 31, 2023, 11:25 AM
Last activity: Jun 14, 2025, 12:18 AM
Last activity: Jun 14, 2025, 12:18 AM