Skip to content

Instantly share code, notes, and snippets.



Created Dec 27, 2011
What would you like to do?
Moving a Time Machine Disk
# disable indexing on the backup disk
sudo mdutil -i off /Volume/MyBackupDisk
# delete Spotlight's indexes
sudo rm -rf /Volume/MyBackupDisk/.Spotlight-V100
# re-enable indexing
sudo mdutil -i on /Volume/MyBackupDisk
# configure that disk as the new backup destination
sudo tmutil setdestination /Volumes/MyBackupDisk
# claim the machine directory, previously used by the old Mac
sudo tmutil inheritbackup /Volumes/MyBackupDisk/Backups.backupdb/MyMac
# bind all the snapshots to this Mac's disk
sudo tmutil associatedisk -a / \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment