{"id":940,"date":"2013-04-01T13:44:07","date_gmt":"2013-04-01T05:44:07","guid":{"rendered":"http:\/\/www.computersolutions.cn\/blog\/?p=940"},"modified":"2013-04-01T13:44:07","modified_gmt":"2013-04-01T05:44:07","slug":"debian-with-time-machine","status":"publish","type":"post","link":"https:\/\/www.computersolutions.cn\/blog\/2013\/04\/debian-with-time-machine\/","title":{"rendered":"Debian with Time Machine"},"content":{"rendered":"<p>As most of the posts out there are horribly outdated, or provide incorrect information for the current versions in use, here are my quick notes on setting up a time machine share.<\/p>\n<p>First up &#8211; <\/p>\n<p>apt-get install netatalk<\/p>\n<p>Check \/etc\/netatalk\/afpd.conf has something similarish to this:<\/p>\n<p><code># This line goes in \/etc\/netatalk\/afpd.conf<br \/>\n- -tcp -noddp -uamlist uams_guest.so,uams_dhx.so,uams_dhx2.so -nosavepassword<br \/>\n<\/code><\/p>\n<p>Add a line for your required shares into  \/etc\/netatalk\/AppleVolumes.default <\/p>\n<p><code># Time machine share<br \/>\n\/nas\/backup\/timemachine \"TimeMachine\" cnidscheme:dbd options:usedots,upriv,tm  allow:lawrence,eugene,janice<\/code><\/p>\n<p>Change the folder \/ names \/ users to your own ones obviously!<br \/>\nIf its not going to be a time machine share, remove the &#8220;,tm&#8221;<\/p>\n<p>Restart Netatalk<\/p>\n<p><code>\/etc\/init.d\/netatalk restart<\/code><\/p>\n<p>You should be able to see the share in Time Machine Preferences.<br \/>\nSee if you can backup.  If you get a failure  eg &#8220;Error 2&#8221;, make sure that the folder you use has write privileges for your user, then try again.<\/p>\n<p>All in all pretty painless.<\/p>\n<p>Proof it works &#8211; <\/p>\n<p><a href=\"http:\/\/www.computersolutions.cn\/blog\/wp-content\/uploads\/2013\/04\/Screen-Shot-2013-04-01-at-1.43.08-PM.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.computersolutions.cn\/blog\/wp-content\/uploads\/2013\/04\/Screen-Shot-2013-04-01-at-1.43.08-PM.png\" alt=\"Screen Shot 2013-04-01 at 1.43.08 PM\" width=\"670\" height=\"446\" class=\"aligncenter size-full wp-image-941\" srcset=\"https:\/\/www.computersolutions.cn\/blog\/wp-content\/uploads\/2013\/04\/Screen-Shot-2013-04-01-at-1.43.08-PM.png 670w, https:\/\/www.computersolutions.cn\/blog\/wp-content\/uploads\/2013\/04\/Screen-Shot-2013-04-01-at-1.43.08-PM-300x199.png 300w\" sizes=\"auto, (max-width: 670px) 100vw, 670px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>As most of the posts out there are horribly outdated, or provide incorrect information for the current versions in use, here are my quick notes on setting up a time machine share. First up &#8211; apt-get install netatalk Check \/etc\/netatalk\/afpd.conf has something similarish to this: # This line goes in \/etc\/netatalk\/afpd.conf &#8211; -tcp -noddp -uamlist [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[7,25,4],"tags":[443,258,442,9],"class_list":["post-940","post","type-post","status-publish","format-standard","hentry","category-apple","category-technical-mumbo-jumbo","category-useful-info","tag-443","tag-debian","tag-netatalk","tag-time-machine"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.computersolutions.cn\/blog\/wp-json\/wp\/v2\/posts\/940","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.computersolutions.cn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.computersolutions.cn\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.computersolutions.cn\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.computersolutions.cn\/blog\/wp-json\/wp\/v2\/comments?post=940"}],"version-history":[{"count":1,"href":"https:\/\/www.computersolutions.cn\/blog\/wp-json\/wp\/v2\/posts\/940\/revisions"}],"predecessor-version":[{"id":942,"href":"https:\/\/www.computersolutions.cn\/blog\/wp-json\/wp\/v2\/posts\/940\/revisions\/942"}],"wp:attachment":[{"href":"https:\/\/www.computersolutions.cn\/blog\/wp-json\/wp\/v2\/media?parent=940"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.computersolutions.cn\/blog\/wp-json\/wp\/v2\/categories?post=940"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.computersolutions.cn\/blog\/wp-json\/wp\/v2\/tags?post=940"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}