MacPorts build/work directory links and TimeMachine
ryandesign at macports.org
Wed Oct 1 10:58:36 PDT 2014
On Oct 1, 2014, at 6:10 AM, René J.V. Bertin wrote:
> For a while now I've been noticing that TimeMachine makes huge backups (hundreds of Mb) that do not seem to correspond to the total size of the files changed during the backup interval (6h for me).
> I've set to exclude most of /opt/local/var/macports (the large guys in there), but there are the symlinks to the work directories in /opt/local/var/macports/build that source builds leave behind as long as the port hasn't been cleaned.
> Is it possible that TimeMachine (on OS X 10.6.8) not only backs up those symlinks but also their destination (OS X being rather adamant about "normalising" symlinks in most circumstances)? Browsing through the TM interface it seems indeed as if I end up in a (forbidden) backup of the work directory when I double-click the symlink in a port directory backup, but it is near impossible to know whether that's not simply a view on the current directory, not a backup.
> Addendum: I built qt4-mac from source tonight, after creating a local version of the port directory. Sure enough this morning TM wanted to backup nearly 6Gb ...
> Any thoughts?
I have not examined my time machine backups yet. But you can edit a setting in macports.conf to tell it not to create the work symlink. You could try that, and see if subsequent backups are smaller.
More information about the macports-users