Time Machine: UUID of disk changed
Beyond best before date...This article is more than 10 years old and was last updated Mar 11, 2019. It is no longer maintained but remains available for people visiting this page from external links.
If you clone a volume that you backup with Time Machine, its UUID will change and Time Machine will no longer be able to make backups of it. However, it won't tell you directly what the problem is. Rather, you will find entries like the following in
1backupd Backup failed with error: 12 2backupd Error (12): Link of previous volume failed for macosx.
If you want to continue to backup to the same volume in your Time Machine backup database, the following script allows you to change the UUID of the existing backups, leading Time Machine to backup as if the volume's UUID had never changed.
Starting from OS X Lion 10.7, there is a nifty new command line utility called
tmutil, which takes care of the task previously accomplished by the script described below. Here is an example of how to
tmutil to associate a new disk with an existing backup.
1./timemachine-setuuid.sh "Backup of MyMac" "Macintosh HD" 2 3Using Time Machine volume 4 "/Volumes/Backup of MyMac" 5with backup database located at 6 "/Volumes/Backup of MyMac/Backups.backupdb/MyMac" 7 8UUID of volume "Macintosh HD" will be set to "394FBC68-AA00-3556-81B5-D61F5BFA27ED" 9 10Done
And here's the script.
Save the above code to a file called e.g.
timemachine-setuuid.sh and make that file executable by issuing
1chmod +x "timemachine-setuuid.sh"