It is currently Sat May 25, 2013 8:19 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: TonidoPlug + Time Machine = <3 - Finally!
PostPosted: Sat Mar 06, 2010 12:55 pm 
Tonido MVP
Tonido MVP
Joined: Sun Aug 23, 2009 9:04 pm
Posts: 193

That's right! TonidoPlug can now be used to back up your Mac using Time Machine. It's been tested on Mac OS X 10.6.2 Snow Leopard. The TonidoPlug's drive doesn't even have to be HFS formatted - it's been tested and works on ext2/3, but should also work on NTFS. Just hook up a big drive to your TonidoPlug and follow the guide:

1. Mount the TonidoPlug/MediaDisk share in Finder. Connect as the Guest user.

2. Open a Terminal (/Applications/Utilities/Terminal.app)

3. Run this:
Code:
wget http://mikestaszel.com/files/tonido/makeImage.sh

4. Make sure Time Machine is turned off, and run in the Terminal:
Code:
defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1

5. You'll need to make a disk image that backups will be stored on - change the "200" to whatever size (in gigabytes) you want the maximum Time Machine Backup space to be. You might also need to change "MediaDisk" to wherever you mounted the TonidoPlug share:
Code:
./sh makeImage.sh 200 /Volumes/MediaDisk

6. Open up Time Machine in System Preferences and select the MediaDisk drive. Wait for the backup to start and have fun!

Your backup might fail if your computer's name contains apostrophes (which is default in Mac OS X). Change your computer's name to something simple (I named mine "Mac" in System Preferences/Sharing) - and re-run the makeImage command.


Last edited by mikestaszel on Sat Mar 06, 2010 10:51 pm, edited 1 time in total.
Grammar.


Offline
 Profile  
 Post subject: Re: TonidoPlug + Time Machine = <3 - Finally!
PostPosted: Fri May 14, 2010 11:46 pm 
Rookie Tonidoid
Rookie Tonidoid
Joined: Sun May 02, 2010 9:16 am
Posts: 9

Thanks for this info, but I'm having trouble with the set up.

First, I had to use curl instead of wget, as OS X doesn't have wget installed.

Then, when I'm at step 5, I cannot seem to enter the right volume. I keep getting the error "./sh: no such file or directory"

When I look in Time Machine, my TonidoPlug share shows up as a possible drive, but I didn't want to select it for risk of Time Machine trying to write to the plug itself, rather than the mounted USB drive, or erase other data on my mounted USB drive.

Any help on how I can enter the correct volume path/directory at step 5? Is there a way to list the tonidoplug share directory path in terminal?


Offline
 Profile  
 Post subject: Re: TonidoPlug + Time Machine = <3 - Finally!
PostPosted: Sat May 15, 2010 8:36 am 
Tonido MVP
Tonido MVP
Joined: Sun Aug 23, 2009 9:04 pm
Posts: 193

If you mounted the TonidoPlug share on your desktop, just use that name - like /Volumes/[[what is says on your desktop]] instead of /Volumes/MediaDisk. I believe the newer TonidoPlugs no longer call it MediaDisk, which is why you're seeing this error.


Offline
 Profile  
 Post subject: Re: TonidoPlug + Time Machine = <3 - Finally!
PostPosted: Fri May 28, 2010 6:07 pm 
Regular Tonidoid
Regular Tonidoid
Joined: Sat Apr 17, 2010 4:13 pm
Posts: 23

I had some difficulties in implementing this solution on Leopard (10.5.8), but I did eventually get it working. Some problems I ran into, and their solutions:

UPDATE TO FOLLOWING:
Quote:
1. If the shared drive is mounted when Time Machine starts to run the backup, it will mount it at a new location. e.g., I have my Tonido's share mounted at "/Volumes/Disk1Part1" during login, but if OS X is connected to the share, I see console output that Time Machine will mount the the share again a new location: "/Volumes/Disk1Part1-1". The sparseimage that is being created to house the backup does not exist there, and so Time Machine attempts to endlessly recreate it, and fails miserably.

Solution: do not auto-mount share at login, let Time Machine mount it when it runs. I'm still trying to figure out how to do this dance-- after all, I need my backups to be automated, but at the same time, I'd like to be able to browse the share on-demand as well. I'm going to experiment with creating an Automator shortcuts to mount/unmount the share when I need it.


UPDATE: After re-implementing this on another Mac, I figured out the issue. It looks like this is *only* a problem the *first* time TM goes to backup. Once TM has found and started using the .dmg this script creates, it doesn't matter if the share is mounted or not-- it will continue to happily connect up, mount the .dmg and run backups. Again, once TM has gotten itself all setup and running, you can leave the Tonido's SMB share running and TM will happily create a new connection, run the backup, and disconnect.

2. I don't know if the following was a problem with how I followed the above instructions or if it is simply an issue between 10.5.x and 10.6, but Time Machine didn't recognize the sparseimage created by this script, instead trying to name it both based on my Mac's name ("Athena") and some random glut of numbers/letters (e.g., "Athena_2340ufe0d0239.sparsebundle"). After letting Time Machine mount the drive, fail at creating its own sparseimage, and stop, I simply looked through the output of Console.app to see what junk it was trying to add to the filename and renamed the original sparseimage that this helpful script created to what Time Machine had been trying to create. After ejecting the share and running Time Machine, everything seems to be working just fine.

Again, I suspect much of this has to do with my own inability to follow these instructions well in addition to the differences between 10.5 and 10.6, but I thought it would be helpful for 10.5 users who might be experiencing any of these same issues.


Offline
 Profile  
 Post subject: Re: TonidoPlug + Time Machine = <3 - Finally!
PostPosted: Tue Aug 16, 2011 7:49 pm 
Super Tonidoid
Super Tonidoid
Joined: Fri Sep 03, 2010 9:43 pm
Posts: 36

This integration break once you upgrade your OS to Lion OS.

Check viewtopic.php?f=14&t=3274

I haven't found any solution yet.

SD


Offline
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 6 hours [ DST ]


 Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: