Daily Archives: July 16, 2012

Find What’s Being Excluded from Backups and Remove Backup Exclusion Metadata (MacOSXHints.com)

Posted by (author unknown) at MacOSXHints.com
Time Machine uses a specific metadata attribute to know which files and folders not to back up. We had a hint to that effect back in 2005.

It turns out that CrashPlan, the cloud backup service, uses the same metadata to determine what to back up. Macworld’s Lex Friedman pointed me to a CrashPlan support article that looks at this, and that shows how to remove the exclusion metadata. To do so, you run the following command in Terminal:

 xattr -d com.apple.metadata:com_apple_backup_excludeItem <filename>

The CrashPlan article mentions this in particular to be able to back up VMWare virtual machines, which, oddly, have this attribute set.

After setting the attribute, you can run this command to make sure it’s stuck:

sudo mdfind "com_apple_backup_excludeItem = 'com.apple.backup ...

Add to digg
Add to Reddit
Add to Slashdot
Email this Article
Add to StumbleUpon


WP Like Button Plugin by Free WordPress Templates