• Skip to content
  • Skip to primary sidebar
  • Skip to footer

Foliovision

Main navigation

  • Weblog
    • FV Player
    • WordPress
    • Video of the Week
    • Case Studies
    • Business
  • About
    • Testimonials
    • Meet the Team
    • We Support
    • Careers
    • Contact
    • Pricing
  • Products
  • Support
    • FV Player Docs
    • Pro Support
  • Login
  • Basket is empty
Affordable VAST/VPAID for Wordpress has arrived. Serve ads with your videos starting today!

How to create a network backup with Apple’s TimeMachine

11 May 2010 / foliovision / 10 Comments

If you have tried to set up network backup on OS X and you ran into the message “the backup disk image could not be created”, probably this article will help you.

OS X’s TimeMachine software had native support for network backup until the OS X  Leopard 10.5.2 was released. Apple had its own reasons for the decision to remove network backup, but many advanced users including us at Foliovision would still like to be able to back up over the network.

We have a bunch of Mac Minis in a mixed network of Linux and Windows computers. We’d like to use all our Minis for work and not for backup and use one of our older Linux towers to store the backup.

How do you do it?

Fortunately Apple left us an option to turn-on network support for TimeMachine by running the following command in terminal:

defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1

We can finally see network hardrives in selection for backup places. The problem might seems to be solved. No dice: it is only the beginning.

If you select a network drive for backup, you will see a very familiar message:

the backup disk image could not be created

Google automatically completes the phrase as soon as you type “the backup d”.

The real problem is in the file system which must be used for TimeMachine backup. TimeMachine only supports Mac OS Extended (Journaled) file system.

The solution is to create a place on the network, which will trick TimeMachine, into thinking that it holds data in Mac OS Extended (Journaled) file system. This trick is accomplished via copying a sparsebundle image (with special name) to a network share. You have to do following steps for to make TimeMachine successfully run a backup.

OVERVIEW

  1. Enable network hardrive support in TimeMachine
  2. Mount network shared place for backup data
  3. Create a sparsebundle virtual image
  4. Copy the sparsebundle virtual image to the network shared place
  5. Set up TimeMachine for network backup
  6. Optimisation and other information

1. Enable network hardrive support for the TimeMachine software

Network hardrive support for TimeMachine is turn off by default. For changing this fact we have to type following command to the terminal:
defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1

After that, you should see mounted network harddrive in TimeMachine’s locations for backup. If it is not this case, probably a restart is needed.

2. Mount Network shared place for backup data

If you have a shared location for backup data on Linux server, you can map the directory as a drive to Mac in Finder application. You have to do following steps:

  1. Click GO and then “connect to server” in finder menu.
    Finder Menu
     
  2. Write following path if your sharing is based on protocol samba (SMB):
    SMB://<IP_ADDRESS_or_COMPUTER_NAME>/<NAME_of_SHARED_PLACE> (e.g. SMB://192.168.1.25/Backup)

    Connect Server

 

3. Create a sparsebundle virtual image

This step is very important, because the TimeMachine doesn’t allow to backup data to a network drive, which has any file system except “Mac OS Extended (Journaled)”. So we have to create a disk image in “Mac OS Extended (Journaled)” format.
We have two ways to do it:

  1. Open disk utility (Disk Utility) and create new virtual disk with following atributes:
    • Save As: <computer hostname>_<hex mac address of en0 interface>.sparsebundle (e.g. MacAlec_00ef9a048c4f.sparsebundle, if you forget to add .sparsebundle, it will be added automatically)
    • Volume Name: Backup of <computer hostname> (e.g. Backup of MacAlec)
    • Volume Size: the max amount of space you’re going to set aside for backups. (The volume size is depends on amounts of backup data. I have chosen 150 GB)
    • Volume Format: Mac OS Extended (Journaled)
    • Encryption: None
    • Partitions: No partition map
    • Image Format: Sparse bundle disk image
      Disk Utility
    • Note: Disk utility automatically mounts the image to system volumes. We won’t need the image mounted, so we can safely unmount it.
  2. The previous step can be done by one command in terminal:
    hdiutil create -size 150g -fs HFS+J -volname "Backup of MacAlec" MacAlec_00ef9a048c4f.sparsebundle

3. Copy the sparsebundle virtual image to the network shared place

You can copy the sparsebundle image to the network shared place using one of the following steps:

  • Copy the file to shared place by drag and drop operation in Finder application.
  • If you prefer to work with the terminal, you can type this instead:
    cp -r <sparsebundle_image_disc_location>/<computer hostname>_<hex mac address of en0 interface>.sparsebundle /Volumes/<NAME_of_SHARED_PLACE>/(e.g. cp -r /Users/Alec/Documents/MacAlec_00ef9a048c4f.sparsebundle /Volumes/Backup/)

Now we can safely delete the sparsebundle image copy on local computer once we are sure that it has been copied to the shared location.

Set up the TimeMachine for network backup

  1. Open TimeMachine preferences (in SystemPreferences).
  2. Click on Change Disk button for select the network drive for backup. (We have to select the “Backup”in our case.)
  3. TimeMachine
  4. The first backup will start in two minutes. TimeMachine supports incremental backup, thus the first backup can take very long time (it is depends on network bandwidth and amount of backup data).

If you want to eject the mapped shared volume (/Volumes/Backup in our case), you have to do it within the two minutes countdown before backup starts or after backup is finished. TimeMachine has its own mechanism for mapping network hardrives, so a backup process isn’t interrupted by your hard drive mounting or unmounting. TimeMachine will automatically mount the virtual sparsebundle image, when the backup starts. You will see Backup of <computer_name> as connected device on your desktop, so you won’t need to manually mount the network hard drive later.

4. Optimisation and other information

 in order to avoid long delays in backup process caused by Spotlight indexing, You should set the Spotlight application to not index the mapped network drive. Here’s how to remove spotlight indexing for a hard drive:

  • Open up the Spotlight software preferences in system preferences window
  • Move to privacy options and add the network drive by plus symbol
    Spotlight

If you’d like to back up a  little less often, you can modify the file com.apple.backupd-auto.plist which is located in /System/Library/LaunhDaemons/ to change backup time interval. Open up the file in text editor and find the section:

<key>StartInterval</key>
<integer>3600</integer>

You should change the number 3600 to the number of seconds of your backup interval.

Result

I deliberately deleted some files to test backup reliability. This worked just fine. I was able to restore data from backup using TimeMachine’s restore feature. TimeMachine restore is easy to use and lets you choose data from any date and hour.  If you have followed the exact steps above, you should have a working network backup now on a non-Apple computer.

I would like to thank Nick Hilliard and MacCorner for useful information.

Categories: IT

Related Posts

  1. The Backup Manifesto

    The Backup Manifesto

  2. Backup on Mac OS X: Testing MimMac with Backup Bouncer

    Backup on Mac OS X: Testing MimMac with Backup Bouncer

  3. How to Convert a Clone CD Image to ISO

    How to Convert a Clone CD Image to ISO

Reader Interactions

Comments

  1. Iceman 7 June 2010 at 3:45 am

    Hi, i read your article and it’s really interesting.

    I didn’t understand a thing: is it possible to backup a network drive (a windows share) with TimeMachine?

    OK, i understood i can backup TO a network drive… but is it possible to backup A network drive on a local TimeMachine harddrive? And How to?

    Let me know, please! :D

    Reply
  2. matej 10 June 2010 at 10:03 am

    Hi Iceman,

    If I understand you right, you have a little bit opposite problem.

    Although TimeMachine supports backuping for external drives, I think that TM don’t support it for shared drives.

    Thanks, Matej

    Reply
  3. TheMoose 17 February 2011 at 1:32 pm

    Nice one!

    …Works a treat and I now have twice the capacity of an Apple Time Capsule for a NAS backup rig half the price.

    Changed the time interval too, because hourly backup was doing my dinger!

    Honk Diddley

    Reply
  4. Dave 12 February 2012 at 6:10 pm

    I cannot seem to get this to work. Perhaps the fact that the drive is formatted as a fat32? I created the sparsebundle although my mac address did not seem to look like your format. It just says “Making backup disk available” and then eventually throws an error 45 which seems to be a sparsebundle could not be created error. Why is it trying to create one when I already did that an copied it over?

    Thanks for any help, which is always appreciated.

    Dave

    Reply
  5. brabbeldas 25 July 2012 at 11:50 am

    Thanks for your post! After walking through all the steps I endup with the message “The machine could not complete the backup. The network backup disk does not support the required AFP features.”

    Could you tell me what I am doing wrong?

    Thanks in advance!

    Reply
  6. ASF 3 August 2012 at 2:07 pm

    Hi, I appreciate the post!

    Will this procedure work with mountain lion?

    I have used the terminal command that is supposed to force Time Machine to show unsupported drives, however when selecting a disk to back up to I do not see my network drive.

    I have created and moved the sparsebundle file to the location on my network drive I wish to back up to.

    Any help is appreciated!

    ASF

    Reply
  7. brabbeldas 6 August 2012 at 11:08 pm

    Hi ASF,

    I got it working on Mountain Lion. After walking through the above I ended up with the message: “The machine could not complete the backup. The network backup disk does not support the required AFP features.”

    As said, after this I got it working on Mountain Lion. I am now backing up to a Windows7 pc.

    Good luck, Brabbeldas

    Reply
  8. Avatar photoalec 6 August 2012 at 2:33 pm

    Hi ASF,

    We are all Leopard and Snow Leopard here with NO plans to ever upgrade past Snow Leopard. If Apple doesn’t relent, any new Apple machines will be Hackintosh.

    Let our readers know though please if you do succeed in getting the method to work with Mountain Lion. There’s no reason it shouldn’t, but Apple has been doing stranger and stranger things these days.

    Reply
  9. larrycura 12 August 2012 at 8:24 am

    hi brabbeldas. like ASF, I went through all of the above and can’t get ML to see the .sparsefile so that it can even fail. would love to get ML to back up to my windows7 pc like I used to with SL.

    larrycura

    Reply
  10. Apsilon 18 August 2013 at 12:28 am

    Thanks dude this process was simple and successful. I personally hate doing Terminal entry, point and click is more of my style. Way to go!

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

You can click here to Subscribe without commenting

Primary Sidebar

Categories

  • Business
  • Camera Reviews
  • Case Studies
  • Design
  • FV Player
  • Internet Marketing
  • IT
  • Life
  • SEO
  • Slovak
  • Video of the Week
  • WordPress

Footer

Our Plugins

  • FV WordPress Flowplayer
  • FV Thoughtful Comments
  • FV Simpler SEO
  • FV Antispam
  • FV Gravatar Cache
  • FV Testimonials

Free Tools

  • Pandoc Online
  • Article spinner
  • WordPress Password Finder
  • Delete LinkedIn Account
  • Responsive Design Calculator
Foliovision logo
All materials © 2025 Foliovision s.r.o. | Panská 12 - 81101 Bratislava - Slovakia | info@foliovision.com
  • This Site Uses Cookies
  • Privacy Policy
  • Terms of Service
  • Site Map
  • Contact
  • Tel. ‭+421 2/5292 0086‬

We are using cookies to give you the best experience on our website.

You can find out more about which cookies we are using or switch them off in .

Powered by  GDPR Cookie Compliance
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Necessary Cookies

Strictly Necessary Cookie allow you to log in and download your software or post to forums.

We use the WordPress login cookie and the session cookie.

If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.

Support Cookies

Foliovision.com uses self-hosted Rocket.chat and self-hosted Freescout support desk to provide support for FV Player users. These cookies allow our visitors to chat with us and/or submit support tickets.

We are delighted to recommend self-hosted Rocket.chat and especially Freescout to other privacy-conscious independent publishers who would prefer to self-host support.

Please enable Strictly Necessary Cookies first so that we can save your preferences!

3rd Party Cookies

This website uses Google Analytics and Statcounter to collect anonymous information such as the number of visitors to the site, and the most popular pages.

Keeping this cookie enabled helps us to improve our website.

We reluctantly use Google Analytics as it helps us to test FV Player against popular Google Analytics features. Feel free to turn off these cookies if they make you feel uncomfortable.

Statcounter is an independent Irish stats service which we have been using since the beginning of recorded time, sixteen years ago.

Please enable Strictly Necessary Cookies first so that we can save your preferences!