


It did seem to take a long while at first to “locate” the backup disk, even though the share was listed instantly in the list of available disks for backup, it took ages to locate when actually backing up. This just gets that first back-up done, so what follows is incremental. So you use Time Machine’s options dialog to exclude almost everything, then bring them in on subsequent back-ups.

I know there are a few comments from those that had problems, but I found it worked a treat using a big fat disk attached to an O2 Joggler running Ubuntu 12.10, with Time Machine running on Macs using OS X 10.7 Lion and 10.9 Mavericks.įor both my back-ups I made sure that the only thing being backed up on the first round was a small folder. If so, mention them while asking for help via comments or forums. Then try to connect and see if any suspicious or error messages appear. On your Linux server: tail -f /var/log/syslog On your OS X computer, open Console.app, click “Show log list” to open the sidebar and select “All Messages” there. (?) If you’re facing a different problem, try catching possible error messages. Note that if it never appeared in the first place, probably it has a different problem. (3) If avahi-daemon does not start after rebooting the server (so the server doesn’t re-appear in Finder’s sidebar), change AVAHI_DAEMON_DETECT_LOCAL from 1 to 0 in /etc/default/avahi-daemon ( more information in my post on ServerFault). You can check that by running the following command which tries to create a file called test: su danny touch /home/danny/tm/test (2) If you get OSStatus 2 errors, make sure the Time Machine directory (e.g. “/home/danny/tm”) is writable by your Time Machine user (e.g. …and these commands turn it on and open port 548: sudo ufw enable If your firewall is ufw, the following will turn it off: sudo ufw disable If so, turn the firewall back on and try opening port number 548. (1) If you can’t connect to your server at all, try turning off the firewall if any, and see if connection goes through. Restart avahi-daemon: sudo service avahi-daemon restart Open /etc/avahi/services/rvice for editing: sudo nano /etc/avahi/services/rviceģ. Sudo ln -s uams_dhx2_passwd.so uams_dhx2.soīonus! Make your server appear as Xserve in Finder:ġ. If you use Mavericks/Yosemite and you get “Check the server name or IP address, and then try again” error, run the following on your server: cd /usr/lib/netatalk Once again you’ll be asked for the login and password, after that you can disconnect from the share in Finder if you want, because Time Machine will open a new connection. Once connected, open System Preferences > Time Machine, click “Select Disk…” and select your server under “Available Disks”:
#Netatalk ubuntu 17 password#
If all is well you’ll be asked for login and password (the ones you set in step 2). In server address field type afp://IP.of.rver/ then press “Connect”. Connect to your server using Finder on your Mac: in “Go” menu, press “Connect to server…” (or ⌘+K). Restart netatalk: sudo service netatalk restartħ. Otherwise you’ll be getting OSStatus 2 errors later on.Ħ. Important! Make sure you’ve replaced /home/danny/tm with the actual path you chose in step 3. (Finder will show “314GB available” when connected). Then add this line to share a folder with danny: /home/danny/tm "Danny's Time Machine" options:tm volsizelimit:300000 allow:dannyĭo not touch “options:tm”! Obviously “volsizelimit:300000” limits the share to 300000 MiB (~314GB). Paste the following line which sets default settings for all shares: :DEFAULT: options:upriv,usedots Create a new configuration file and open it for editing: sudo nano /etc/netatalk/fault Backup the configuration file: sudo mv /etc/netatalk/fault /etc/netatalk/ĥ. It doesn’t have to be located under /home or called “tm”. Create a folder which will contain the backup. Create a new user for Time Machine, for example, danny: sudo adduser dannyģ.
#Netatalk ubuntu 17 install#
That’s all you need to install: sudo apt-get install netatalk avahi-daemonĢ. If you need to install a new drive, follow the guide on Ubuntu Help.ġ. Update: if you try this in CentOS, replace apt-get with yum where necessary. If you have a problem, you might be able to find a solution in the comments section below the article. Backing up tested on OS X 10.6 Snow Leopard, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, OS X 10.10 Yosemite, OS X 10.11 El Capitan.
#Netatalk ubuntu 17 how to#
How to quickly set up Time Machine server on Ubuntu Server 12.04/14.04/16.04 and Debian without using extra repositories, unnecessary packages and redundant configuration. “This worked much better than more recently published guides.”
