Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a locally stored disk image. I would like to mount this, but have macosx think it is shared over a network (a network shared volume).

I want to do this because TimeMachine would then effectively allow me to back up to this disk image.

I tried sharing the locally mounted volume using afp, but found that macosx prevents me from mounting the volume locally since it sees that i could just access it directly.

Ideally the network share would only be accessible over the loopback interface, to prevent security issues.

share|improve this question
    
What version of OSX are you on? –  Daniel Beck Dec 23 '10 at 19:35
add comment

1 Answer 1

Sven-S. Porst wrote an article about that very topic a while ago. It's a bit difficult to pull off, since you need a real AFP share to work at least once for a short time.

Starting the backup once will mark the AFP shared disk image as a valid TM target volume by adding a file (com.apple.TimeMachine.MachineID.plist) to the bundle. After that, you can convert the bundle to have encryption (if you want to have that), copy that file over to your new bundle and can enjoy the combination of local TM backups and Time Machine.

share|improve this answer
    
thank daniel. i tried this approach via this screencast: vimeo.com/12789218 - unfortunately although tm recognized it it hangs for a while "making disk available", and then gives up. i'm trying this circuitous route. –  james Dec 20 '10 at 18:15
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.