launcher icon indicating copy to clipboard operation
launcher copied to clipboard

Investigate excluding database from Time Machine and Migration Assistant

Open directionless opened this issue 5 years ago • 2 comments

Both launcher and osquery keep per-machine databases. However, Time Machine and Migration Assistant can cause these to be backed up to new machines. This is seldom correct.

This is a bit of a link dump to investigate

directionless avatar Jan 07 '20 15:01 directionless

Apple documents Backup Core and states that CSBackupSetItemExcluded can set an item as excluded.

I haven't tested whether this covers migration assistant or not.

directionless avatar Jan 07 '20 15:01 directionless

/usr/bin/tmutil addexclusion may be another way to get there

directionless avatar Mar 10 '20 15:03 directionless

We added tmutil in #1531

directionless avatar Feb 15 '24 12:02 directionless