How can I make my computer believe a disk image is a hardware disk? I'm trying to do some research on TimeMachine right now. I don't want to purchase an external hard drive, just to learn about some software, and so I'd like to be able to tinker with the settings, by just creating a disk image...

But when I mount the disk image, TimeMachine doesn't see it as something it can back up to. So I'm wondering how I can lie to the system, and make it believe that the image is in fact real.

Thanks!
Aloha, counterbeing - I think we've worked together before!

I like the previous answer that creates a partition, but if that doesn't work for you, try this:


Create your Disk Image (I've used a sparse bundle disk image).
Mount the disk image
From the command line, enter the following:


sudo tmutil setdestination /Volumes/{mounted-image-name}

• Start Time Machine manually within the menu bar via "Back Up Now"

If all goes well, you should then back up to the image. It will need to be large enough to contain all of your backup data - or Time Machine will likely refuse to use it.