Osxbackups: Difference between revisions
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..." |
No edit summary |
||
Line 27: | Line 27: | ||
You can specify these if you wish | You can specify these if you wish | ||
== Debug == | |||
add this to the afpd.conf file above: | |||
- -tcp -noddp -uamlist uams_dhx2.so -nosavepassword -setuplog "default log_maxdebug /var/log/afpd.log" | |||
warning, this will fill your disk space quickly, don't forget to remove this log entry, and empty afpd.log when done. |
Latest revision as of 11:00, 8 December 2015
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
Debug
add this to the afpd.conf file above:
- -tcp -noddp -uamlist uams_dhx2.so -nosavepassword -setuplog "default log_maxdebug /var/log/afpd.log"
warning, this will fill your disk space quickly, don't forget to remove this log entry, and empty afpd.log when done.