Osxbackups

From Hackepedia
Revision as of 19:41, 19 October 2014 by Franks (talk | contribs) (Created page with "This page assumes you want to back up to a Ubuntu host. apt-get install netatalk avahi-daemon Now uncomment the last line in /etc/netatalk/afpd.conf - -tcp -noddp -uam...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This page assumes you want to back up to a Ubuntu host.

apt-get install netatalk avahi-daemon

Now uncomment the last line in /etc/netatalk/afpd.conf

 - -tcp -noddp -uamlist uams_dhx2.so -nosavepassword

Notice above I remove one of the old defaults from uamlist, this isn't needed for anything after osx 10.7.

Now you should prepare your backup partition. In my case, I created a user called 'maclaptop' (and thus my backup directory will be /home/maclaptop).

Now edit /etc/netatalk/AppleVolumes.default

/home/maclaptop "OpenSource Capsule" cnidscheme:dbd options:usedots,upriv,tm allow:timecapsule,@maclaptop

notice above the file entry allows the user maclaptop to ssh in. Also, you can rename "OpenSource Capsule" to what you want yours to be called.


Errors

dsi_stream_read: len:0, unexpected EOF

Make sure the username after allow is allowed, and the path is correct.

 timecapsule afpd[11819]: volume “TimeMachine” does not support Extended Attributes, using ea:ad instead

You can specify these if you wish