Time Machine Discovery

Plugin from externl

Overview

Makes Unraid shares exported as "Yes (Time Machine)" actually appear in the macOS Time Machine disk picker. Time Machine needs the server to advertise an _adisk._tcp mDNS record alongside _smb._tcp. Unraid publishes only the latter, so a Time Machine share can be fully visible in Finder and completely absent from Time Machine. This plugin reads the running Samba config and publishes the missing record, following share changes automatically and leaving Unraid's own avahi file untouched.

unraid-timemachine-discovery

Makes Unraid shares exported as Yes (Time Machine) appear in macOS Time Machine's disk picker.

Why

Time Machine over SMB needs the server to advertise two mDNS services under one instance name: _smb._tcp, and _adisk._tcp naming the shares that are valid backup destinations. Unraid sets multicast dns register = No and hand-writes its own avahi service file, which emits _smb._tcp but never _adisk._tcp — so a Time Machine share is fully visible in Finder and absent from Time Machine.

This plugin reads the running Samba config, collects every share with fruit:time machine = yes, and writes the missing record to /etc/avahi/services/timemachine.service, leaving Unraid's own file alone. Both use %h, so avahi publishes them under one instance name, which is what the pairing requires. It re-runs on array start and whenever share settings change, reloading avahi only when the content actually changed. If a future Unraid release publishes _adisk._tcp itself, the plugin stands down.

Requirements

  • Unraid 6.12 or newer. Developed and tested on 7.3.2.
  • At least one share exported as Yes (Time Machine).
  • The Mac and the server on the same subnet: mDNS does not cross subnets.

Install

Plugins → Install Plugin:

https://raw.githubusercontent.com/externl/unraid-timemachine-discovery/main/timemachine-discovery.plg

Then Settings → User Utilities → Time Machine Discovery, or:

/usr/local/emhttp/plugins/timemachine-discovery/scripts/rc.timemachine-discovery status

The settings page shows what is being advertised and can turn the advertisement off, which withdraws the record. To check from a Mac, run dns-sd -B _adisk._tcp.

Build

./release.sh "What changed"          # version is today's date
./release.sh -s .1 "Fixed that"      # same-day rerun, numeric suffix

Builds the package, stamps the version and sha256 into the .plg, prepends the changelog and checks they agree. Needs Slackware's makepkg, so run it on the server or anywhere with Docker. Commit the package and the .plg together; pushing to main is what publishes.

The suffix must be numeric — PHP's version_compare reads a trailing a as "alpha" and ranks it older.

Support

Bugs and questions: GitHub issues.

License

MIT

Install Time Machine Discovery on Unraid in a few clicks.

Find Time Machine Discovery in Community Apps on your Unraid server, review the template, and click Install. Unraid handles the Docker app or plugin setup from the published template.

Open the Apps tab on your Unraid server Search Community Apps for Time Machine Discovery Review the template variables and paths Click Install

Categories

Download Statistics

0
Total Downloads
70
This Month
6
Avg / Month

Downloads by Month

Loading chart...

Related apps

Explore more like this

Explore all

Details

Repository
https://raw.githubusercontent.com/externl/unraid-timemachine-discovery/main/timemachine-discovery.plg
Last Updated2026-08-23
First Seen2026-08-23