time machine backup to samba

Submitted by lepton on Tue, 07/14/2020 - 11:53

1. make a sparseimage or sparsebundle file using Disk Utility
 //hdiutil create -size 1000g -type SPARSEBUNDLE -nospotlight -volname "Name" -fs "Journaled HFS+" -verbose file.sparsebundle

2. copy the file to a samba dir

3. mount the disk image file

4. sudo tmutil setdestination /Volumes/DiskImageMountPoint

5. now the disk is available in time machine

Add new comment

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.