Ubuntu as an Apple Time Machine capsule with Netatalk 3

In 2016 I wrote "Apple's TimeMachine now works with Samba SMB2. Apple also is moving to depreciate AFP which was the previously underpinned TimeMachine" Fast forward to 2020 - what a year:

  • I have finally upgraded from Ubuntu 16.04 LTS > 20.04 LTS
  • Samba was never really hugely reliable for TimeMachine in my experience
  • Netatalk is still around now at version 3
  • MacOS I'm running is High Sierra (no Catalina yet) and still has AFP

Tl;DR here is how to set up Time Machine capsule on Ubuntu upgrading to Netatalk 3, from Netatalk 2.




1. AppleVolumes.default has been depreciated

/etc/netatalk/AppleVolumes.default 

Share:
/pathtotimemachinebackupfolder/ "TimeMachineUsername" allow:YourUser cnidscheme:dbd options:upriv,tm,usedots

has been replaced by:

/etc/netatalk/afp.conf

Share:

;
; Netatalk 3.x configuration file
;

[Global]
; Global server settings

[Homes]
 basedir regex = /home

; [My AFP Volume]
; path = /path/to/volume

[TimeMachineMacMini]
 path = /pathtotimemachinebackupfolder 
 time machine = yes
 valid users = YourUser
; cnid scheme = 
 unix priv = yes

upriv is now enabled by default and does not need to be explicitly set, I set unix priv = yes and that seems fine
usedots is now enabled by default and does not need to be explicitly set
dbd as cnid scheme doesn't seem to be required, currently I am running without cnid scheme set as the default for netatalk 3 is dbd, I'll see how that works out. I was previously using cbd but I experience occasional catastrophic corruption requiring a complete new back up to be generated from time to time.

Per netatalk 3 docs:
cdbThe "concurrent database" backend is based on Berkeley DB. With this backend, several afpd daemons access the CNID database directly. Berkeley DB locking is used to synchronize access, if more than one afpd process is active for a volume. The drawback is, that the crash of a single afpd process might corrupt the database. cdb should only be used when sharing home directories for a larger number of users and it has been determined that a large number of cnid_dbd processes is problematic.

dbdAccess to the CNID database is restricted to the cnid_dbd daemon process. afpd processes communicate with the daemon for database reads and updates. The probability for database corruption is practically zero.This is the default backend since Netatalk 2.1.

2. afpd.dconf has been depreciated

/etc/netatalk/afpd.conf

Content:

- -transall -uamlist uams_randnum.so,uams_dhx2.so -nosavepassword -advertise_ssh 

Not sure what it was replaced by... but everything is working after creating afp.conf so I am not worrying.

3. Debug

On the Mac High Sierra, the following command was helpful for debugging what Time Machine was doing underneath:

log stream --style syslog  --predicate 'senderImagePath contains[cd] "TimeMachine"' --info

On the server Ubuntu 20.04 LTS, the following command was helpful for debugging:

journalctl -u netatalk.service -b

65 comments:

  1. Replies
    1. If you are facing any problem during your exams regarding essay introduction writing help service or other types of academic essay writing.

      Delete
  2. To watch online prime recordings on gadgets like laptops, PCs, cell phones, and keen television. You need to enter the 6 digit amazon enactment code at amazon.com/mytv or Primevideo.com/mytv to watch the superb video for nothing. Watch amazon prime scenes on your gadget to sign in or make another amazon account utilizing email and secret phrase.

    ReplyDelete
  3. Get our online Homework Help if you are finding it hard to complete your assignments with extreme accuracy and within the deadline. We have a team of professionals who can help you write exclusive and authentic content from scratch.

    ReplyDelete
  4. Nice info thanks for with us.

    comment installer office com sur notre PC. Installation facile de www office com setup et installation de la suite Microsoft Office. Vérifiez également la configuration de office com en français et procédez à l'installation de https setup office com 2010

    ReplyDelete
  5. I am very embarrassed to know this fact how can write research paper. But, I do not get the right solution on right time. After reading this post, I will familiar with hidden art to write compelling and long lasting content. Visit our Online Assignment Help link to know more information.

    ReplyDelete
  6. Check our Microsoft Office blog Via Www.Office.Com/Setup

    Visit Webroot Antivirus at Www.Webroot.Com/Safe

    ReplyDelete
  7. Hi,

    Really great article!!

    Also read about How you select which is the best credit card machine. Don’t worry; we are here to help you to make a better decision to choose a best credit card machine for your business. Below we have discussed various parameters about credit card machines that are beneficial for you and your business.

    ReplyDelete
  8. To provide the best assignment to every student, we have a team of experienced assignment experts. Our company has the best online assignment helpers and they have years of experience on this topic

    ReplyDelete
  9. Superb information!! Your all provided information is so impressive and authenticated to grow my knowledge as much as possible. Being a student, you can reach on Online Assignment Help Ireland channel for getting the completion of assignment on time. Do not keep your assignment in pending list and provide the most valuable figure in your assignment development work.

    ReplyDelete
  10. Comparative essay structure Alternating Method, Mixed Paragraphs Method and Blocked Method. In this method, the writer describes things in two parts. they discuss the first subject in one part or the second subject in another part. And in mixed paragraphs method in which you need to discuss. Alternating method, in this method writer, explains one title or topic thoroughly in one paragraph for more information go to my website and learn much more about comparative essay structure.

    ReplyDelete

  11. Thanks for the advice! If you are looking for Sociology assignments? You are in the right place. Here we also provide Sociology Assignment Help at affordable prices as per our consumer budget. Also, we have a knowledgeable team that gives you the best assignment writing.

    ReplyDelete
  12. Quickbooks is one of the main bookkeeping programming giving its clients top benefits yet now and the client disposes of some error one of the mistakes was Quickbooks unrecoverable error when opening the company file this mistake can happen

    ReplyDelete
  13. Hi everyone Looking for an online writing service? We provide online assignment help services for students. Students know a lot about the issue of timing. All his actions are limited by strict deadlines, which cannot be violated. Otherwise, students lose most or even all of their grades. Some students are not quick enough to complete a large number of assignment aids before the deadline. Others remember their work at the last minute or get it suddenly. A large number of students from the Horde focus on areas with little to no scholarly degree or level, which are served by assignments to aid the UAE.

    ReplyDelete
  14. Syllabus dramatic irony read followings verbal irony, situational irony and dramatic irony, Why dramatic irony, dramatic irony in academics, how to utilize dramatic irony, dramatic irony in literature, and faq on dramatic irony.

    ReplyDelete
  15. Do you know different kinds of research, if not then read the following? There are 9 types of research is that qualitative research, analytical research, persuasive research, cause and effect research, experimental research, survey research, problem-solution research, and report research. I love Analytical research, reason why because I have already data on the topic, what I do in this case is just go through with its deep fundaments, concept, and extra analyzing work. In simple words, it is the study of data that's it or nothing.

    ReplyDelete
  16. NICE POST. It is so connective. If you want to explore more blog on this topic, visit at sourceessay.com and get free samples from homework help team.

    ReplyDelete
  17. Thanks for sharing. Nice blog. I am working as an academic expert at assignmentfirm.com. We provide quality assignment help for students.

    ReplyDelete



  18. Canon Printer Driver and software for your model is a must for utilizing all the devices such as your printer, scanner, fax machines, and much more perfectly. Regardless of having a new PC, printer, an updated OS, or having trouble with your PC and Printer communication, updating your drivers or reinstalling Canon Driver Download can be helpful.Downloading ij.start.cannon drivers can be confusing, you need to cautiously install the software and drivers of your canon printer model that are compatible with your PC.

    ReplyDelete
  19. Types of English techniques
    Allegory
    allusion
    assonance
    characterization
    foil
    genre
    motif
    metaphor
    truncated
    how to uti1ize English techniques
    write naturally, readout cautiously, and try to learn English techniques more on the internet

    ReplyDelete
  20. I love your work here honestly.you are best.

    ReplyDelete
  21. BestAssignmentExperts.Com has a lot of bad press because of the poor fake reviews of their writings. One Assignment Expert review, for example, accused them of rephrasing Wikipedia material and failing to put up any effort in the work. Other students have spoken good things about assignment expert review. Some of the good assignment expert reviews
    , however, appear to be generic. BestAssignmentExperts.Com can't completely dismiss them since they don't appear to be genuine experiences. After considering all of this, we have concluded that the best Assignment Expert papers are of great quality.

    ReplyDelete
  22. If a newbie enters a programming class, he needs to pick up the pace on time and finish off all the Java assignments on time as other students in the class. But it is not always possible for each and every student to finish the task on time. They need to handle other subjects too. But deadlines never wait for anyone, and if not submitted within the stipulated time, the assignments will get rejected by the professor. So, the student needs to clear the assignments on time. Hence, they look for Java programming assignment help at the hour of need.

    ReplyDelete
  23. Outstanding Blog! I want people to know just how good this information is in your Blog. I will visit your blog daily because I know. It may be very beneficial for me. If you want to Recover Spectrum Email Password please contact roadrunner support team for solution.

    ReplyDelete
  24. Amazing article. Your blog helped me to improve myself in many ways thanks for sharing this kind of wonderful informative blogs in live. I have bookmarked more article from this website. Such a nice blog you are providing. 한국야동

    Please visit once. I leave my blog address below
    야설
    일본야동

    ReplyDelete
  25. Great Information sharing .. I am very happy to read this article .. thanks for giving us go through info. Fantastic nice. I appreciate this post. 한국야동

    Please visit once. I leave my blog address below
    야설
    한국야동

    ReplyDelete
  26. You’re very creative; I love your work stuff! I want you to thank for your time of this wonderful read 야동

    Please visit once. I leave my blog address below
    국산야동
    일본야동

    ReplyDelete
  27. Thank you for the auspicious writeup. It in fact was a amusement account it. Look advanced to more added agreeable from you! 국산야동

    Please visit once. I leave my blog address below
    한국야동
    국산야동

    ReplyDelete
  28. Hey very cool site!! Man .. Beautiful .. Amazing .. I will bookmark your blog and take the feeds also…I’m happy to find numerous useful information here in the post, we need work out more techniques in this regard, thanks for sharing. 한국야동

    Please visit once. I leave my blog address below
    야동
    일본야동

    ReplyDelete
  29. Thanks for sharing, Sample assignment has an experienced team of assignment experts who works with the motive to enhance the academic grades of students through their chcece001 assessment answers.

    ReplyDelete
  30. Hi, I'm Law Rence. I read your post and I was Impressed by your post a lot. You keep posting like this. Thank you for Sharing. Click Here If You Know About Assignment Writer

    ReplyDelete
  31. Thanks for putting the blog out there! Here we are the best assignment help company in this business. checkout our best assignments:
    Law Assignment Help
    Finance assignment help
    Best assignment help online
    Essay Writing Help
    GPA Calculator Australia.

    ReplyDelete
  32. Thanks for sharing, Sample assignment is the best assignment experts that provides CHC33015 Assessment Answers. Due to many different reasons, such as less time, subject knowledge etc, university students find it complex to craft their assignments on time.

    ReplyDelete
  33. Amazing website, Love it. Great work done. Nice website. Love it. This is really nice.
    locast.org/activate
    hbomax/tvsignin
    disneyplus.com/begin
    showtimeanytime.com/activate

    ReplyDelete

  34. One of most complex challenges that students will face are included in the Business Finance Assignment. The majority of students struggle to finish an assignment. Our experts are able to assist you. Our professionals give students with engaging and well-written Business Finance Assignment solutions that are easy to understand and help them achieve their academic goals through a system of attainable goals. Visit now:- Business Finance Assignment Help

    ReplyDelete
  35. Thanks for great and wonderful blog article. Academic Writing Service

    ReplyDelete
  36. your article so amazing and informative. Your writing skill is also very well. Your article is really addictive. Keep posting. keep sharing the knowledge. I love to read your articles.
    english stories english short stories with moral value What is the factorial of 100

    ReplyDelete
  37. In the end In the end, solving to the American Express login not working problems is not a challenging task . You can solve this issue fast by following the correct path. Anyone who is experiencing problems with their login at their American Express login page can solve the issue by following the steps we've listed above in this article. We hope that you can resolve your issues you had to face with your American Express card account by reading this article.amex login
    amazon code
    amazon/code
    amazon com code
    google play redeem code

    ReplyDelete
  38. After you've signed-up and signed in, you'll have the ability control the details of your American Express Platinum card account online. You'll be able to pay your card bill, check your statement and monitor account activity and modify account information, such as passwords , automated payments.amazon/mytv
    amazon.com/code
    coinbase login
    amazon/mytv
    amazon/code

    ReplyDelete
  39. After that, American Express will send your details in an email confirmation and ask you to update the information on your account's login.
    hbomax.com/tvsignin
    Mcafee.com/activate
    amazon code

    ReplyDelete
  40. Gift Cards don't come with expiration dates. They have an "valid thru" date indicated on the back of every Gift Card This means that it cannot be used after the date. We'll give you a replacement Gift Card for free when you're "valid-thru" date has passed and you have funds.paypal login
    primevideo/mytv
    amazon co uk code
    amazon.com/code
    primevideo/mytv

    ReplyDelete
  41. Sometimes, you might need to verify the credentials that have been submitted. This could be your email address, phone number or any other information that the website requires. These codes can be sent to you via email or text message along with your submitted information as you check out. The verification codes can be sent to you via text message, voice call or throughamazon com code
    hbomax.com/tvsignin
    amex login
    www itv com hub pair

    ReplyDelete
  42. The world has enjoyed their Prime membership on larger-screens. www.amazon.com/mytv has made it easy. MyTV App registration is your best option for streaming all of the Amazon Prime shows to your Smart TVs. The above article will solve all your registration, login, verification problems.www.uktvplay/activate
    ok google set up my device
    locast.org activate
    amazon com code

    ReplyDelete
  43. We are a top rated MGX3991 Online service here with experts specializing in a wide range of disciplines ensuring you get the assignments that score maximum grades.

    ReplyDelete
  44. We are not Amazon. This website is for information purposes only. For more help, visit amazon code
    amazon.com/code
    amazon.com/us/code
    amazon.com/us/code

    ReplyDelete
  45. your all assignment are really very well.Your all informations are very benificial for us.follow this link [url=https://unlimitedvpn.bigcartel.com/product/vpn-for-pubg-mobile]VPN for PUBG Mobile[/url]
    for take more knowledge about games .

    ReplyDelete
  46. Accounting technologies like these allow virtual bookkeepers to spend less time manually entering data, which improves accuracy by reducing human error-related errors.

    You will also benefit from:

    Improved visibility into your cash flow and business performance through real-time access to your books via a web or mobile app, as well as to read more just click on link

    ReplyDelete
  47. Your post are fantastic. Are you looking for college assignment help services at low cost.? For you, we are the best option. We are well known for providing students with high-quality assignment help services at a low cost. Contact me soon.

    ReplyDelete
  48. Nice blog, I am here to promote my online assignment help website. We are a company that provides CPM Homework Help by experts. So, If you or your friends is facing any issues related to Assignment Help then no worry, just contact our any assignment help from our website.

    ReplyDelete
  49. I am really impressed with this valuable post as I never find such incredible information on this subject matter. So, I cannot forget to browse this link as I have the free time to get the explorative information. After all, I want to stay connect with you through making attachment with Online Assignment Help domain. Do not take the information available on this destination lightly.

    ReplyDelete
  50. Thank for sharing such a good information with us. I really appreciate your work. I am Andrew Robert from No1AssignmentHelp.Com. We provide our Assignment Help services in Australia, the USA, the UK, Singapore, New Zealand, and Gulf Countries (UAE, Qatar, Saudi Arabia, Kuwait, etc.).

    ReplyDelete
  51. Great assignment help offers the best Biotechnology Assignment Help, for those who feel very tired to writing assignment, we are here for you contact us and take our assignments writing service. This helps you to achieve higher grades in your academics.

    ReplyDelete
  52. Architecture is a profession that provides services to the community through the help of its architect. Architects design the city and its structure with a purpose to serve their purpose. Architects make sure that our cities are built according to the standards and norms as well as meet all the modern requirements of the people who live there. It is only professionals who can create architecturally beautiful buildings, we provide architecture dissertation help to you with a step-by-step process for your architecture dissertation project and guide you through our services further.

    ReplyDelete
  53. We at great assignment help offer Nursing Assignment Help services covering a huge list of subjects related to nursing assignment homework. We are affordable and you can get the best value for your money. When you ask us to write nursing assignment, our experts make sure to go through your all needs & the requirements of different universities.

    ReplyDelete
  54. You can seek psychology assignment helpat great assignment help through experts possessing knowledge and an understanding of the disciplines of psychology. In order to excel in this subject and get good grades on the assignments, it is important to have deep knowledge of this area. There is stiff competition in the academic world and later on for employment and, therefore, getting good grades becomes a necessity for the students in their career. We provide authentic and qualified psychology assignment writing help by skilled academic writers who are professionally qualified and have the necessary academic and practical knowledge of this field.

    ReplyDelete
  55. Nice post; I used to be checking constantly to this blog and I am impressed! Its extremely useful info.  Many thanks for sharing. Also visit poly ibadan post utme past question pdf

    ReplyDelete