Advertisement
Guest User

Michael

a guest
Feb 15th, 2008
2,412
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 3.72 KB | None | 0 0
  1. The 10.5.2 update breaks the  <code>defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes -bool YES</code> hack, which allowed users to use an (unsupported) AFP or SMB server for Time Machine backups.<br><br>
  2.  
  3. After applying the 10.5.2 update, you can only back up to an AFP/SMB share if you've set up Time Machine before updating, or (obviously) a Leopard AFP server or a separate hard drive. If you haven't used Time Machine before, the initial backup will fail with something like this in the system.log:<br>
  4. <code>backupd[2262]: Starting standard backup
  5. <br>backupd[2262]: Creating disk image /Volumes/Backup/Macintosh_001122334455.sparsebundle
  6. <br>backupd[2262]: Error 45 creating backup disk image
  7. <br>backupd[2262]: Failed to create disk image
  8. <br>backupd[2262]: Backup failed with error: 20</code>
  9.  
  10. <hr>
  11.  
  12. To set up Time Machine to use an unsupported network volume in 10.5.2, the following procedure is required:<br><br>
  13.  
  14. <b>Prerequisites:</b>
  15. <ul
  16. ><li>A server (Linux, Unix, Mac OS X before 10.5) with an unsupported AFP share (SMB will probably also work, I didn't try it)</li
  17. ><li>A second Mac running Leopard, with an empty AFP share with write privileges.</li
  18. ><li>Small, blank disk image - can be created in Disk Utility (<i>File</i> - <i>New</i> - <i>Blank Image</i>: Size: <i>10MB</i>, Format: <i>Mac OS Extended (Journaled)</i>)</li
  19. ><li>Run <code>defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes -bool YES</code> in Terminal, if you haven't already done so.</li
  20. ></ul>
  21.  
  22. <b>Procedure</b>
  23. <ol
  24. ><li>Mount the small disk image (from the prerequisites).</li
  25. ><li>Mount the other Mac's AFP share; then go into the Time Machine preference pane and select the mounted network share.</li
  26. ><li>Go into <i>Options</i> and exclude all your hard drives. Then remove the mounted disk image from step 1 from the exclusions list.</li
  27. ><li>Let Time Machine do the inital backup. This will take a couple minutes.</li
  28. ><li>Disable Time Machine (slide the slider to the "Off" position).</li
  29. ><li>On the other Mac, open Terminal. If the AFP share is e.g. <i>/Users/Shared/backup-folder</i>, type <code>tar cf ~/Desktop/tm.tar *</code> and hit return.</li
  30. ><li>Copy the resulting file tm.tar from your Desktop to the shared folder on the server you want to use.</li
  31. ><li>On the server, open Terminal and run <code>cd /path/to/share; tar xf tm.tar</code> .</li>
  32.  
  33. <li>Now, go back to the first Mac and mount the share on the server.</li
  34. ><li>Go into Time Machine and select that share as destination.</li
  35. ><li>Remove your hard drives from the exclusions list (under <i>Options</i>). You can also delete the small disk image you created earlier in the process.</li
  36. ><li>Time Machine will perform the initial backup (depending on the size of your files, this will take several hours).</li
  37. ></ol>
  38.  
  39. <hr>
  40.  
  41. Not all of these steps may be necessary, this is just what worked for me.<br>
  42. The small disk image is not really required, you could theoretically just perform the inital backup to the second Mac - I decided to use it because the second Mac's hard drive didn't have enough space to accomodate a full backup of my main Mac.<br><br>
  43.  
  44. As usual, this procedure is performed at your own risk!<br><br>
  45. Apple probably has a reason why they don't allow you to backup to unsupported network shares by default. (Hopefully that reason isn't just Apple wanting to sell Time Capsule.)<br><br>
  46.  
  47. However, I've been running Time Machine like that for a couple days now, and haven't run into any problems so far. Subsequent backups work just fine and are pretty fast; restoring individual files also worked fine in my tests. However, I doubt it would be so easy to do a bare-metal restore while booted from the Leopard Installer DVD.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement