|
|||
OpenBSD 5.8 Netatalk and Timemachine
Installing netatalk and configuring it for volume share and Time machine is a very easy task on OpenBSD.
Install the following package : Code:
pkg_add netatalk Put the following in your /etc/rc.conf.local file: Code:
pkg_scripts=messagebus avahi_daemon netatalk Code:
[Global] vol preset = default_for_all_vol hostname = openbsd log file = /var/log/netatalk.log mimic model = Xserver keep sessions = yes [default_for_all_vol] file perm = 0664 directory perm = 0774 cnid scheme = dbd [Homes] basedir regex = /home time machine = yes Code:
/etc/rc.d/messagebus start /etc/rc.d/avahi_daemon start /etc/rc.d/netatalk start afp://192.168.xxx.xxx You will be able to backup you Mac using Time Machine in your personal folder on OpenBSD. Conclusion OpenBSD can transform any of your useless PC into a Timecapsule. |
|
|||
Kept to put more advance configuration.
|
|
|||
Thanks Oko for those comments! Feel free to interfere, challenge is most of the time a way to learn!
I must admit I hate HFS! I would have hope Apple switch to ZFS or create a better an more robust file system! I have been using Netatalk 3.1.7 for a month with FreeBSD and never had any issue. My Mac is backing up it's self everyday on this machine and I copy most of my big file on it! I even run Parallels VM from it! So far my OpenBSD server hasn't showed any problem but is under less stress than my FreeBSD one! I will conduct more test and post result! |
|
|||
HFS can be used as case sensitive if you set it so at filesystem initialization, it's just not recommended on OS X because it breaks many applications.
|
|
|||
Still works in 6.0
I'm using mostly this recipe on OpenBSD 6.0 -current, with a few details pulled in from this other post https://samuelhewitt.com/blog/2015-0...backups-how-to
I used the Samuel Hewitt version of the share, e.g., "[Time Machine]" instead of "[home]" and a separate user "timemachine" for privsep reasons. And you want netatalk-3.x; the OpenBSD port of it includes avahid support. BTW, whenever I see a post that tells end users to install 20 compile packages and git clone and the code themselves, I do wonder how that "other" Unix-like system has survived... And I give thanks again for the BSD ports mechanism, specifically, OpenBSD packages. But I digress... Last edited by Iand; 31st January 2017 at 02:38 AM. Reason: Clarify OS version |
|
|||
Yes it was my idea also to create a separate folder to avoid cluttering the home user folder. Since my server was only acting has timemachine and database I left it that way.
About 8 years ago when I discovered BSD it tough it was a more organized way to manage an OS than Linux! And now with syspatch, OpenBSD, is even simpler than before. |
Thread Tools | |
Display Modes | |
|
|