13 C
New York
Thursday, October 17, 2024

macos – Find out how to affiliate a brand new exterior disk with full Time Machine historical past


I wish to restore my exterior USB drive to a brand new drive from a Time Machine backup. I used sudo tmutil associatedisk as was prompt in this reply to an identical query. The precise restoring labored effectively and I might additionally affiliate the brand new disk to the outdated backup, nonetheless I might solely affiliate it to 1 snapshot at a time. A remark prompt utilizing the -a flag, as per the man web page:

thermopylae:~ thoth$ sudo tmutil associatedisk [-a]
"/Volumes/MyNewStuffDisk"
"/Volumes/Chronoton/Backups.backupdb/thermopylae/Newest/MyStuff"

The results of the above command would affiliate the amount retailer
MyStuff within the specified backup with the supply quantity
MyNewStuffDisk. The quantity retailer would even be renamed to match.
The -a possibility tells associatedisk to seek out all quantity shops in
the identical machine listing that match the id of MyStuff,
after which carry out the affiliation on all of them.

Nonetheless I can not get it to work. After I run

sudo tmutil associatedisk -a "/Volumes/My Drive" "/Volumes/Time Machine/Backups.backupdb/My Macbook/Newest/My Drive"

I solely get the utilization message printed

Utilization: tmutil associatedisk [-a] mount_point volume_backup_directory
An area quantity mount level and a snapshot quantity path are required.

I’m certain that I used the proper mount_point and volume_backup_directory, as a result of once I run the command with out the -a flag the affiliation works – with the caveat being that whereas I can view that particular snapshot of the drive when looking Time Machine backups, the (new) drive continues to be not included when backing up.
I’m out of concepts right here, as a result of I cannot see my error in utilizing the command and I can not seem to discover anybody who has had an identical downside. Any concepts can be appreciated. I want to preserve the drive historical past, but when that’s not potential (i.e. if I can solely affiliate the latest snapshot) then most significantly I want Time Machine to recognise that it ought to preserve backing up this drive.

If that is vital: As a final ditch thought I additionally tried utilizing the command with [-a] as a substitute of -a however that solely yielded the consequence

zsh: no matches discovered: [-a]

with the backup then being un-associated once more.

Edit: The exterior disk is formatted as HFS+ (so is the Time Machine disk, as to my data Time Machine doesn’t work with APFS-formatted disks), I’m utilizing macOS Ventura 13.2.1 on an M2 MacBook Air.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles