Created
December 27, 2011 08:15
-
-
Save baldowl/1523007 to your computer and use it in GitHub Desktop.
Moving a Time Machine Disk
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 / \ | |
/Volumes/MyBackupDisk/Backups.backupdb/MyMac/Latest/MyOldDisk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment