Netatalk 2.0.5 (AFP) released with TimeMachine support, need package!


Recommended Posts

Netatalk 2.0.5 has been released (some while ago) with the great new added support for Apple's TimeMachine. It seems however that there's no package available for Slackware.

 

Can someone with a developer package installed on unRAID (or Slackware) build a .tgz or .txz package?

 

See the website of Netatalk for the source... MANY THANKS!

Link to comment

Netatalk 2.0.5 has been released (some while ago) with the great new added support for Apple's TimeMachine.

 

Here's a thread talking about how to make Apple's TimeMachine work with unRAID:

http://lime-technology.com/forum/index.php?topic=5180.msg47986#msg47986

 

 

 

The issue purko is that with netatalk 2.0.5 and built-in time machine support, you don't have to rely on hacks. OS X Should just "see" the drive as a TM drive and let you use it. The link you posted, while it does work, is kludgy at best and I've had it fail on me quite a few times after 4-5 months of use.

 

I'd love to get this netatalk working with unRAID

Link to comment

The issue purko is that with netatalk 2.0.5 ...

...

I'd love to get this netatalk working with unRAID

 

Well, version 2.0.5 ins't yet in 'slackware-current', which carries the latest 'official' packages. (2.0.4 is there)

 

I guess, if you really, really want it, then you could easily install Slackware in VirtualBox, and then compile the 2.0.5 source.

 

I'd love to help you, but I don't have a Time Machine, so I wouldn't know what I'd be doing.

 

 

Link to comment

Well, version 2.0.5 ins't yet in 'slackware-current', which carries the latest 'official' packages. (2.0.4 is there)

 

I guess, if you really, really want it, then you could easily install Slackware in VirtualBox, and then compile the 2.0.5 source.

 

I'd love to help you, but I don't have a Time Machine, so I wouldn't know what I'd be doing.

 

 

Well, you actually just have to compile the sources with default settings and build the package, that's it! I could of course install Slackware in VirtualBox, but I wouldn't know what I'd be doing ;). Tirelessly playing around with settings and config files is more my thing :)

Link to comment

 

Well, you actually just have to compile the sources with default settings and build the package, that's it!

 

 

It's like when they asked that acrobat how he's doing it.  He said:

 

"Well, you just start running fast, then jump into the air, make three loops, then land on your feet.  That's it!"

 

So, you know what you'd be doing!

 

 

Link to comment

It's like when they asked that acrobat how he's doing it.  He said:

 

"Well, you just start running fast, then jump into the air, make three loops, then land on your feet.  That's it!"

 

So, you know what you'd be doing!

 

 

Well, I actually did that once... and I can still use my little pinky! :P

Link to comment

I have a magicjack and I am very happy with it.  Wish I could get it to work on my unraid server.  Net talk seems to be the same thing?

 

At first I thought you were a spammer, than realized you were being serious... I can understand the confusion, but no: it's not the same. Netatalk is a open source implementation of Apple's AFP network protocol, Net Talk might be something similiar to MagicJack... :P

Link to comment

Netatalk 2.0.5 has been released ...

Can someone with a developer package installed on unRAID (or Slackware) build a .tgz or .txz package?

 

Here it is:

http://www.mediafire.com/file/jwkamyzi1yy/netatalk-2.0.5-i486-1pur.txz

MD5: 90EDF1502AF727463BEB168D889CCC48

 

(If you are runnung an older version of unRAID, use the .tgz version:

http://www.mediafire.com/file/2eiyjmznqow/netatalk-2.0.5-i486-1pur.tgz

MD5: C5EEC304B3CFC533F668A91390EAC642  )

 

Make sure you verify the MD5 checksums of your download, as I don't trust those sharing services very much.

 

Also, note that I don't have a Time Machine to test it, so I don't know if it will work for you.

You have to figure that one out by yourself.

 

Edit:

I can now confirm that this enables TimeMachine support on shares with the -tm option! :D

 

Link to comment

Netatalk 2.0.5 has been released ...

Can someone with a developer package installed on unRAID (or Slackware) build a .tgz or .txz package?

 

Here it is:

http://www.mediafire.com/file/jwkamyzi1yy/netatalk-2.0.5-i486-1pur.txz

MD5: 90EDF1502AF727463BEB168D889CCC48

 

(If you are runnung an older version of unRAID, use the .tgz version:

http://www.mediafire.com/file/2eiyjmznqow/netatalk-2.0.5-i486-1pur.tgz

MD5: C5EEC304B3CFC533F668A91390EAC642  )

 

Make sure you verify the MD5 checksums of your download, as I don't trust those sharing services very much.

 

Also, note that I don't have a Time Machine to test it, so I don't know if it will work for you.

You have to figure that one out by yourself.

 

Purko

 

 

 

YOU THE MAN, Purko! :)

Link to comment

Netatalk 2.0.5 has been released ...

Can someone with a developer package installed on unRAID (or Slackware) build a .tgz or .txz package?

 

Here it is:

http://www.mediafire.com/file/jwkamyzi1yy/netatalk-2.0.5-i486-1pur.txz

MD5: 90EDF1502AF727463BEB168D889CCC48

 

(If you are runnung an older version of unRAID, use the .tgz version:

http://www.mediafire.com/file/2eiyjmznqow/netatalk-2.0.5-i486-1pur.tgz

MD5: C5EEC304B3CFC533F668A91390EAC642  )

 

Make sure you verify the MD5 checksums of your download, as I don't trust those sharing services very much.

 

Also, note that I don't have a Time Machine to test it, so I don't know if it will work for you.

You have to figure that one out by yourself.

 

Purko

 

 

 

YOU THE MAN, Purko! :)

 

Hey dlmh, would you be able to put up a walkthrough on how to set up Time Machine with Unraid using netatalk 2.0.5?  I saw the post about getting Time Machine to work with Unraid referenced above and I saw your post on AFP over Avahi.  But it sounded like getting Time Machine to work with netatalk 2.0.5 might be it's own post.  Let me know if that isn't the case.

 

Thanks!

Link to comment

 

Hey dlmh, would you be able to put up a walkthrough on how to set up Time Machine with Unraid using netatalk 2.0.5?  I saw the post about getting Time Machine to work with Unraid referenced above and I saw your post on AFP over Avahi.  But it sounded like getting Time Machine to work with netatalk 2.0.5 might be it's own post.  Let me know if that isn't the case.

 

Thanks!

 

Actually, it's just an extra option when adding shares in

AppleVolumes.default

, but you must have Netatalk installed first. So, you should follow the Netatalk (AFP) guide first, but use the 2.0.5 package supplied by purko. Then use the line above to enable TimeMachine.

 

This is actually quite easy, however, I will update the Netatalk guide for v2.0.5 and add a section for TimeMachine.

Link to comment

I had difficulty following the instructions when it came to creating the users. Do you creating new users or do you change your current users (created using the unraid web gui). The business of the passwords I didn't follow either. Do you use passwd and useradd/usermod to create/change the users and how do you update the shadow password?

 

Roland

Link to comment

I had difficulty following the instructions when it came to creating the users. Do you creating new users or do you change your current users (created using the unraid web gui). The business of the passwords I didn't follow either. Do you use passwd and useradd/usermod to create/change the users and how do you update the shadow password?

 

Roland

 

I created a new user using the unRAID web GUI.  Then opened up the /etc/passwd file using a text editor to copy the the encrypted password and make changes to the permissions.

 

The shadow password file was also created using a text editor.

 

I hope this helps.

Link to comment
  • 2 months later...

I'm sorry I'm a linux newb, but I really want to get time machine to write to my unraid.  Right now I can't because I'm connecting to my unraid via SMB and my time machine doesn't see it as a valid volume.  I've read the forum AFP over Avahi and then I ran across this thread and got confused.  Do I just need to install this package to get my time machine to see my unraid box?

 

http://www.mediafire.com/file/jwkamyzi1yy/netatalk-2.0.5-i486-1pur.txz

 

Or do I still have to go through the other procedure in the AFP over Avahi thread?  Thanks.  I have unraid 4.5.3.

Link to comment

The latest netatalk package has everything needed built in that let the shared volumes be recognised as Time Machine volumes. There is actually nothing magically about this, you may just mark them manually for Time Machine use. Create in the / directory an empty file called .com.apple.timemachine.supported -> look this up in google and you are fine. The volume must be mounted over AFP thought.

 

Install netatalk 2.0.5 from above and/or lookup here: http://www.google.at/search?sourceid=chrome&ie=UTF-8&q=.com.apple.timemachine.supported

 

Also, check this one too: http://lime-technology.com/forum/index.php?topic=5180.msg47986#msg47986

Link to comment

Actually it creates a sparsebundle which is mounted locally as an AFP volume to be used with TM. The sparsebundle itself is an image file to be mounted automatically as HFS+ formatted disk for TM to backup into it. It maybe located on a any network drive shared using NFS, SMB or AFP.

 

Leopard

I am using this to configure and enable TM: The article describes the steps needed really good, very simple and it works. You may put the sparsebundle on SMB share (I have tried both SMB and AFP shares): http://forum.qnap.com/viewtopic.php?f=30&t=7203 (the description is for a Qnap NAS but this is actually irrelevant and this technique works for any NAS). So, when TM kicks in, it mounts the share, mounts the sparsebundle as an AFP disk, starts TM, makes a backup and dismounts the sparsebundle. Works like a dream! This is also a very good description of how everything works with NAS boxes: http://www.naschenweng.info/2008/07/15/os-x-time-machine-backup-to-synology-ds1

 

and this is how to restore from a TM (volume) located on a NAS: http://www.dbattery.com/2008/07/18/timemachine-restore-from-nas/ describing the only additional step required in comparisson to a regular TimeCapsule or Mac OS X Server, is to manually mount the sparsebundle and to tell the Finder that the volume has been mounted from the terminal. Then the sparsebundle just displays as an available TM volume on the network and you may choose what to restore (or restore the whole disk after a failure). Works really good, just write down the two commands necessary in case you need to restore after failure and don't have your computer available.

 

Note for unRAID: The share used to hold the sparsebundle must be a disk share and not a User Share. It is also important that the sparsebundle is in located in the top most directory of the share and not in a directory somewhere underneath, otherwise TM won't recognize the share as a possible backup target. The share may be mounted via SMB, AFP or even NFS. In case of NFS, again, make sure it is a direct mount and seen as a disk and not an automouted volume, as in this case the sparsebundle would not be located in the root of the share and the disk won't be recognized by TM as a backup target.

 

Snow Leopard

 

Absolutely the same as above. There are other reports like this one http://lime-technology.com/forum/index.php?topic=5180.msg54224#msg54224 however I much prefer using the Ethernet ID (i.e. MAC address) in the name of the sparsebundle described above as this is how Mac OS X Server officially backups its clients to a single datastore.

 

The restore procedure is the same as described above.

 

Switching Computers

 

From time to time one needs to upgrade their computer. In order to keep everything as it is and don't loose time on a new install, I much prefer to take the old system drive and put it into the new computer (even upgrading the OS or image copying the drive in target mode is possible). Albeit the data don't change, the Ethernet ID changes, but it is still possible to continue to backup in to the same TM volume (the sparsebundle image). Just follow those steps to change associated names and BackupMachineAddress property from the old to new Ethernet ID:

 

# in Finder

mount TimeMachineNASvolume

 

# continue in Terminal

cd /Volumes/TimeMachineNASvolume

# these are hidden .files so use ls -asg

# appleComputerName can be had by running: networksetup -getcomputername

# old and newMACaddress are without colons, i.e. the output of: ifconfig en0 | grep ether | sed s/://g | sed s/ether//

mv .oldMACaddress .newMACaddress

mv appleComputerName_oldMACaddress.sparsebundle appleComputerName_newMACaddress.sparsebundle

 

# http://forums.macosxhints.com/showthread.php?t=105879

copy fsaclctl from a 10.5 system from /usr/sbin/fsaclctl as there is no fsaclctl in 10.6 Snow Leopard

 

# this one you do in Finder

# this is the Time Machine Volume to back into

mount appleComputerName_Qnap_TM_Backup

 

# continue in Terminal

# turn ACL off so that xattr can modify usually a read-only attribute, namely the Ethnernet ID

# you can read more on here http://www.macosxhints.com/article.php?story=20080128003716101

fsaclctl -p /Volumes/appleComputerName_Qnap_TM_Backup -d

# below the newMACaddress is used in traditional syntax with colons, i.e. the output of: ifconfig en0 | grep ether | sed s/ether//

xattr -w com.apple.backupd.BackupMachineAddress 58:b0:35:fc:9f:8d appleComputerName_Qnap_TM_Backup/Backups.backupdb/appleComputerName

# turn ACL again on

fsaclctl -p /Volumes/appleComputerName_Qnap_TM_Backup -e

Starting TM continues to backup the deltas only.

Another solution would be to change the Ethernet ID of the new computer to the old one: http://whatismyipaddress.com/change-mac

 

Link to comment

After googling 'timemachine smb' I found the process to do this.  I was just confused because there is alot of posts in the forum discussing timemachine which also mention AFP as a requirement.  Thanks for your help!  Still loving my unraid

 

If you follow the AFP over Avahi tutorial and use the Netatalk 2.0.5 package instead of the 2.0.4 package mentioned, you will be able use TimeMachine on a shared volume without the "hacking" required for Samba/NFS. It's a bit of a pain to setup, but there are other benefits than just TM support.

Link to comment

But it is a waste a mess installing Avahi, AFP and Netatalk if he only needs TM support. Creating a sparsebundle image on SBM and writing a file to the share is not much of a "hacking", pretty straightforward and keeps things simple. Configuring Netatalk maybe also a complex task.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.