Skip to content

Instantly share code, notes, and snippets.

@StoneMoe
Last active April 23, 2016 17:36
Show Gist options
  • Save StoneMoe/4f20585c08a05c84e3f68999a94b70de to your computer and use it in GitHub Desktop.
Save StoneMoe/4f20585c08a05c84e3f68999a94b70de to your computer and use it in GitHub Desktop.
# 1. Create Disk Image
# ref:
# FileSystem type: https://support.apple.com/en-us/HT202784
cd Desktop
hdiutil create -size 512g -fs "Journaled HFS+" -volname "TimeMachine" -type SPARSEBUNDLE -nospotlight -verbose volume_nas_timemachine.sparsebundle
# 2. Move the Disk Image File to Windows SMB Share Folder
# 3. Mount the Disk Image through Network
# 4. Enable Time Machine Not Support Network Volumes
defaults write com.apple.systempreferences TMShowUnsupportdNetworkVolumes 1
# 5. Add Volume to Time Machine
# if this error, type the command only, drag your mounted volume to terminal for the path
# ref: https://www.reddit.com/r/osx/comments/2bm082/time_machine_to_windows_7_desktop/
sudo tmutil setdestination /Volumes/TimeMachine\ 1
@StoneMoe
Copy link
Author

Hi....

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