Skip to content

Instantly share code, notes, and snippets.

@aderixon
Last active October 15, 2015 10:13
Show Gist options
  • Save aderixon/9b6ca98b9a8fa8618d7b to your computer and use it in GitHub Desktop.
Save aderixon/9b6ca98b9a8fa8618d7b to your computer and use it in GitHub Desktop.

Time Machine configuration for filesystem

Create a case sensitive sparse bundle on the destination folder with:

hdiutil create -size 500g -type SPARSEBUNDLE -fs "HFS+J" -fsargs -s -volname 'TimeMachine' TimeMachine.sparsebundle

Tell TM to inherit it (sets the correct label):

sudo tmutil inheritbackup /path/to/TimeMachine.sparsebundle

Mount the sparsebundle.

Add as destination for backups:

sudo tmutil setdestination /Volumes/TimeMachine

(Partial reference )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment