Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

HDFan

Contributor
Original poster
Jun 30, 2007
7,477
3,542
I'm on Big Sur 11.4. One of the regular panics which it unfortunately is giving me wiped out my documents directory. Wiped the disk and restored from TM.

The CCC tasks were not restored. For some reason the V5 Metadata.db file was never backed up by TM. I had done a CCC clone, and found the file there. When I try to copy it got a "file is in use" and the copy fails.

Going into terminal I did a

cp /Volumes/OWC\ A\ CCC\ Clone/Library/Application\ Support/com.bombich.ccc/MetaData.db Desktop/

That worked, the file is on the desktop. However in the finder it is greyed out, as well the in the CCC file restore selection so I can't chose it.

Is there a way to get rid of the extended attribute which is causing the problem? I have been working with Mike at CCC (who, as always, is very responsive and helpful) and we are stumped.
 
The problem with the Metadata.db file was the com.apple.FinderInfo attribute.

xattr Metadata.db

com.apple.FinderInfo
com.apple.macl
com.apple.metadata:_kTimeMachineNewestSnapshot
com.apple.metadata:_kTimeMachineOldestSnapshot

Deleted them one at a time. Last one worked, the file is no longer greyed out:

xattr -d 'com.apple.FinderInfo' Metadata.db
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.