Using Time Machine with a Buffalo LinkStation (CH/CL Series)

by 3. January 2009 09:48
I’m not going to get into the details, but last week we had a bit of a data catastrophe in the Jerzakie household.

The potential data loss finally influenced me to buy a NAS for the house. I’ve been running on a crusty old Windows 2000 Server box now for probably 7 years, 40 gigs just isn’t cutting it anymore.

After a short time shopping, and a good recommendation from Andy, I bought a 1Tb Buffalo LinkStation EZ. It says that it works with Time Machine, and the iPhone, and iTunes and all that jazz.

Tonight I got it and got it all set up. The instructions from Buffalo are … to say the least.. lacking … severely. Thanks to another tutorial and my own lack of following directions, I had the NAS working with Time Machine in just a short while.. Below are my awesome instructions.

Things You Will Need (and need to do):
  1. A Buffalo LinkStation that natively supports Time Machine (CL/CH series)
  2. A Mac (or two) with OSX 10.5.6 or higher
  3. A lot of time for your computer to sit.
  4. SHUT TIME MACHINE OFF ON YOUR MAC
  5. Delete the share you created on your NAS 5 hours ago that you haven’t gotten to successfully work yet.
  6. Go into the Time Machine tab in the NAS and disable it.

Creating your image file

Because you aren’t using an actual Apple Time Capsule you will have to do a couple of things yourself. Not hard..
You need to create a disk image to backup to. Weird, I know, but it’s how Time Machine works.

Open Terminal on the Mac (go to Spotlight and type Terminal… there it is). Type the following line

ifconfig | grep ether

You will get 1-2 lines, the first or only line is the MAC address of the WIRED Ethernet port. Regardless of which you will use to backup (wired or wireless) Time Machine needs the MAC of the WIRED port.

Copy that to TextEdit or something.. or write it down.

Now, go into System Preferences > Sharing
In the box at the top you see your computer’s name, below it is the name you will need to use for TM (Time Machine). If it’s complicated and stupid, click EDIT and change it to something easier. I used “MikesMBP” it will automatically add .local on it, that’s fine, let it be.

Now.. here’s where we create the image (sparsebundle).
Open your new friend Terminal again. Type the following…

hdiutil create -size [SIZE IN GIGS]g -fs HFS+J -volname "[VOLUME NAME]" /[COMPUTER NAME]_[MAC ADDRESS WITH NO COLONS].sparsebundle

WTF?!

Ok…
  • SIZE IN GIGS : You can set a max size for the bundle, I used 200 that seemed like plenty.
  • VOLUME NAME : Anything you want, I used “Mikes Backup” very creative, I know.
  • COMPUTER NAME : This is the name from above (the one below the box that you may have edited) don’t add the .local so just “MikesMBP” in my case
  • MAC ADDRESS WITH NO COLONS : Ok, that crazy crap you copied to Text Edit, it’s that… when you remove the colons it should look like 00b443e684f2 or something… so.. the line above, when you are done should look something like this…

hdiutil create -size 200g -fs HFS+J -volname "Backup of Mikes Computer" /MikesMBP_0019e5582bd1.sparsebundle


After you hit enter it will sit for a minute then say that the file is created … TADA!

Setting up the NAS

Very little actually needs to be done on the NAS, thankfully.

First, make sure that your NAS will work with the Mac. Click on Shared Folders > Service Setup and make sure that Apple Talk is on.

Open the NAS admin, go to Shared Folders. Create a new folder called “TimeMachine” or something , it doesn’t matter. Make sure that the share is accessibly via Apple Talk. Save your changes… da da da.

Go back to your Mac. In Finder go to Network, browse to the NAS, you will see the folder you just created. Open it and copy in the sparsebundle file you created above. DELETE THE SPARSEBUNDLE FROM YOUR MAC WHEN IT’S DONE COPYING.

** NOTE ** I have two Macs, to use both in TM, just create a sparsebundle unique to each machine and upload them to the folder. Do this for BOTH machines before moving to the next step.

Back to the NAS web interface…

Click on the Time Machine tab in the NAS. Click the Enable option and select the folder you created a minute ago. Hit apply .. tada.. done with the NAS.

Wait about 2-3 minutes before moving on. This may be a good time to get something to drink.

Getting Time Machine Working


Ok… open Time Machine on the Mac, turn it on.. it will ask you where to backup to, it should find the TM share on the NAS by itself. Once it does, just let ‘er rip. It will be “preparing” for a long time, mine were 10-20 minutes (on a wireless connection).

The backups will start, and it’s on like Donkey Kong.
The backups on wireless are slow, but after the initial sync they are incremental and shouldn’t take so long.

Spend some time setting up the Options in Time Machine, exclude stuff you don’t need, it’s a waste of space. If you’re smart and you keep everything dear to you in you /Users/Your Name folder then you will have an easy time recovering when your piece of crap Hitachi hard drive decides to grind the heads into the platter. Good times.


Hope that helped everyone!

Tags: , , ,

Apple

Comments

???

8/16/2009 3:26:23 AM #

Hobbesmeow

Thanks a lot, your explanations are so easy and efficient.

Bye,

Hobbes

Hobbesmeow Switzerland | Reply

???

10/26/2009 10:30:04 PM #

Bobo the Hobo

Worked great exactly as described (though a 100gig backup took the better part of 24 hours)

Hey Jerzakie, your blog is getting overrun with spam comments.

Bobo the Hobo United States | Reply

???

11/12/2009 1:06:36 AM #

bob

thx for this blog post. very useful.

bob Germany | Reply

???

12/6/2009 12:15:25 PM #

t-rex

Thank you so much...this has been killing me for weeks...most other sites recommend by a Time Capsule or uploading an open source os to the NAS

t-rex United States | Reply

???

12/7/2009 6:59:57 AM #

Jesse

You are the man. Seriously. Even being a relatively knowledgeable computer user, there is no way I would have been able to figure this out on my own. With your instructions I was up and running in 15 min. Thanks dude!

Jesse United States | Reply

???

12/11/2009 7:17:22 AM #

jsk

Outstanding - much thanks for this information. Well written, clear . . . and a lifesaver!
Saved me from spending hours, and hours, and hours on this.
Thank you!

jsk United States | Reply

???

12/14/2009 8:57:30 AM #

brad

wow, that totally worked. i'm impressed! thank you.

brad United States | Reply

???

12/22/2009 5:18:16 PM #

Paul

This is a beautiful, fabulous piece of work!  When I moved from a PC to a Mac I thought my Linkstation might not be usable for incremental backups.  Your procedure worked flawlessly.  The only thing that I found mildly confusing was that the actual size of a sparsebundle is far less than what you specify ... I originally setup a 200G backup set because that's all I thought would fit on the Mac.  After I saw that the sparsebundle only consumes a minor fraction of that I backed off the whole process and re-did it with a 500G backup file (I want a long history of incremental change and have more than enough space).

Thanks for this - it made me extremely happy!

Paul United States | Reply

???

1/2/2010 4:00:20 AM #

Jerzakie

I'm glad you all liked this so much. Sorry about all the spam. I'm doing what I can to delete them every few weeks.

Jerzakie United States | Reply

???

1/3/2010 1:44:26 AM #

Sternengreiferin

Thank You !!!!!!

I have read lots of how-to's in the last hours, but nothing worked really.
But after 10 min my first backup now is running!

Thank you very much !

Sternengreiferin Germany | Reply

???

2/22/2010 5:50:25 PM #

tim

hi

my new link station arrived 10 min ago and now my mac is doing a back up.  i think that they have change the instructions because it is very simple now. i would recommend one.

tim United Kingdom | Reply

???

7/8/2010 6:48:48 PM #

Jerzakie

Which model did you get?

Jerzakie United States | Reply

???

2/27/2010 1:23:57 AM #

Jesper

Thx for this post. It helped me a lot.
I like the fact that I can control how large the sparsefolder file grows...

Jesper

Jesper Denmark | Reply

???

3/1/2010 9:07:30 AM #

brettyboo

Hi all.

This looks great, but can anyone confirm that they've done a full recovery using this method?

It obviously works to generate the backup, but as with any system backup method, the proof is always in demonstrating a rebuild from scratch...

brettyboo Australia | Reply

???

7/6/2010 11:51:55 AM #

Ian Cheung

It is one of the things I am intending on trying out since I might swap out my 5400rpm drive for a 7200rpm.  Original plan was to CCC or SuperDuper but it might be worth trying the recovery from this TimeMachine.  

I worry it is going to take forever to restore though but will report back.  

Ian Cheung Japan | Reply

???

7/6/2010 8:08:01 PM #

Jerzakie

I have restored several files from both mine and my wifes computers. I have not done a FULL restore as I don't back up the entire system.

Ian you will see a huge performance difference with the 7200 RPM drives, I've replaced the 5400s in both the macbooks here and it's uncanny.

Jerzakie United States | Reply

???

7/8/2010 2:34:43 PM #

Ian Cheung

I'll have to wait a little, was going to get a Momentus XT but they are only just starting to be stocked.  They seem the next best thing to a SSD.

Ian Cheung Japan | Reply

???

3/17/2010 3:55:19 AM #

Rob Zamites

Awesome instructions. Running my backup now. If you're ever in Grand Rapids, I'll buy ya a beer.

Rob Zamites United States | Reply

???

3/19/2010 1:28:53 AM #

Barrie McGuire

This is awesome! I've been trying to get this working for a long long time now Smile  -- followed your instructions and worked first time!! Thanks

Barrie McGuire United Kingdom | Reply

???

5/30/2010 3:40:47 PM #

watt

Thanks for the instruction. Got my 1TB Buffalo and tried to follow their instruction for almost a day, didn't work. Followed your provided instruction, works like a charm.

watt United States | Reply

???

6/9/2010 11:29:35 PM #

Nasu

Whoops! I need help, I got too psyched about this and didn't read it all the way through. I typed the secon command exactly like this "hdiutil create -size [SIZE IN GIGS]g -fs HFS+J -volname "[VOLUME NAME]" /[COMPUTER NAME]_[MAC ADDRESS WITH NO COLONS].sparsebundle" with the exception, of course, that I named my drive and computer and mac address correctly but I left those [ ] marks in there.

Also I tried to make a 800gb image and it's supposed to be made in my "home"-file and I only have about 230 gb free disk space in that drive.

Now if I type the command correctly the terminal notifies me that "only one image can be made at a time"

How can I cancel my mistake? Is there any command on how the image making would stop?

Please this is urgent...

Nasu Finland | Reply

???

6/11/2010 12:00:23 AM #

Jerzakie

You can try using ctrl+c to stop the command, or you can wait until it's done, then delete the .sparsebundle file.

Jerzakie United States | Reply

???

7/3/2010 1:54:34 AM #

Nasu

The problem is that there's no possible way of the .sparsebundle to be made, because I tried to make it 800gb size and I only have 200gb of free space.

ctrl+c doesn't do anything in my terminal

Do I have to, like, unmount something in the terminal or something because clearly terminal thinks that the .sparsebundle is made but it really isn't...

And how is the .sparsebundle so different made with terminal than with Linkstation's own?

Nasu Finland | Reply

???

7/6/2010 11:40:52 AM #

Ian Cheung

Wow, I thought it would work right out of the box? I originally was thinking of buying a Western Digitial World Edition NAS cause I heard that it worked right out of the box but they are getting scare here in Japan.  

A couple of questions, what would happen if I set up one computer and later added another?  My main computer is a MBP but maybe I will add a Mac Mini later.  Also the max size of the sparse bundle means the maximium it will grow to?  I have a 320GB drive, so a recommended size might be 5-600GB, is this correct?

Ian Cheung Japan | Reply

???

7/6/2010 7:53:20 PM #

Jerzakie

Nasu:
From what I have read the bundle will grow as necessary if you don't specify the size. (so leave the  '-size [SIZE IN GIGS]g' part out completely). I have not tried this but when I read it, I wish I would have because here we are 18mo. later and I wish I was backing up more than 200Gb.

Ian:
My directions above cover multiple Macs on a single device. It works just fine, you just have to create a sparsebundle for each machine.

Jerzakie United States | Reply

???

7/8/2010 2:31:20 PM #

Ian Cheung

Hi Jerzakie,

I know that your excellent instructions cover multiple machines, but they refer to setting them up at the same time.  And in particular you mention "Do this for BOTH machines before moving to the next step."  My question is if I do it for my MBP, set everything up, get every going and then say 6 months down the line add another machine that I want to backup via Time Machine.  Do I just turn everything off, create the sparse bundle for the second machine and upload it to the same directory and then turn everything back on?  I assume so (and I hope so).

Just realised I didn't say thanks last time.  Thanks for sharing the process!

Ian Cheung Japan | Reply

???

7/8/2010 6:47:49 PM #

Jerzakie

I doubt you'll have to turn everything off. I haven't tried it, but just creating the sparsebundle and uploading it *should* work if you already have a TM share working properly.

Jerzakie United States | Reply

???

7/14/2010 4:23:32 AM #

Ian Cheung

Thanks. I'll report back if I ever get round to adding another machine to the TM.  

This might be of interest to you since you mentioned to Nasu you wish you were backing up more than 200G that you originally set: chrishearn.wordpress.com/.../

It mentions how to increase and decrease the sparse bundle size.  (Haven't tried it yet.)

Ian Cheung Japan | Reply

???

7/8/2010 7:43:25 PM #

Nasu

Thanks Jerzakie, but I'm still in the part where I type hdiutil in the terminal and it gives me an error as "only one image can be made at a time" so where the hell is this image that hdiutil has made and how do I get rid of it. Spotlight doesn't find any .sparsebundle file on my computer so I'm really still wonderin how the hell can there be the error of "only one image at a time" and there's no image anywhere...

Nasu Finland | Reply

???

7/8/2010 8:01:13 PM #

Jerzakie

Yeah that's really odd. While in terminal try the following things:
ls -la   (see if you see the  sparsebundle there), if so, you can use:   rm [sparesebundle filename]    to delete it.

spotlight may not find it for one reason or another. You can do a couple of things.
1.) Download an app like FileFinder and use that, but it costs money.
2.) use this at the terminal:     sudo find / -name "*.sparsebundle"     if that doesn't work, remove the quotes.

Jerzakie United States | Reply

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading




RecentComments

Comment RSS