24 TB to 160 TB of hard drives per server · Amsterdam, Bucharest, Chisinau · no KYC. Pay in crypto: BTC, USDT, USDC, ETH, SOL, LTC
Language: English
Choose a hold

Guide · Backups · macOS to Samba

Can Time Machine back up to a remote Linux server?

What macOS accepts as a network backup disk, the Samba lines that make a Linux share look like one, and how to reach it from home without opening SMB to the internet.

Last updated: · 8 min read

Quick answer

Can Time Machine back up to a remote Linux server?

Yes. Time Machine backs up to a remote Linux server running Samba with vfs_fruit and fruit:time machine = yes; Apple supports SMB destinations and advises against AFP (support page of 14 September 2026). Reach the server through a VPN tunnel, never an open port 445. Basalthold rents storage servers from $110.99 per 30 days, crypto only, no KYC.

What does macOS accept as a network backup disk?

Apple lists three kinds of network destination: another Mac shared as a backup destination, an AirPort Time Capsule, and a NAS that "supports Time Machine over the SMB network protocol". A Linux server with Samba set up for Time Machine counts as the third.

Apple steers away from the old protocol. Its page of 14 September 2026 says Time Machine backups to a NAS over AFP are not recommended. It adds that AFP is not supported in macOS 27 or later.

SMB with Samba's vfs_fruit module is the supported road; AFP and Netatalk are the old one.

On a network destination, Time Machine writes into a disk image called a sparse bundle. Samba only stores that image, so the server's filesystem can be ZFS, XFS or ext4.

Which Samba settings make a share a Time Machine target?

Three settings matter, all from Samba's vfs_fruit manual.

  • vfs objects = catia fruit streams_xattr. The fruit module must be stacked with streams_xattr; catia handles character conversion.
  • fruit:time machine = yes. It advertises Time Machine support to the Mac. The default is no.
  • fruit:time machine max size. It takes a number with K, M, G, T or P, and limits the size the Mac sees. Without it, Time Machine fills the whole volume.

The size cap is approximate: it counts only the sparse bundle. Keep other data off that volume, or give it its own ZFS dataset with a quota.

/etc/samba/smb.conf: a Time Machine share capped at 4 TB
[global]
   server min protocol = SMB3
   vfs objects = catia fruit streams_xattr
   fruit:metadata = stream

[timemachine]
   path = /tank/timemachine
   valid users = tmuser
   read only = no
   fruit:time machine = yes
   fruit:time machine max size = 4T

How do I set it up, step by step?

  1. Make a dataset for the backups

    On a ZFS pool: zfs create -o quota=4T tank/timemachine. A quota backs up the Samba cap.

  2. Install Samba and add the share

    On Debian or Ubuntu: apt install samba, then add the share above to /etc/samba/smb.conf and check it with testparm.

  3. Create the backup account

    adduser --disabled-login tmuser, chown tmuser: /tank/timemachine, then smbpasswd -a tmuser with a long random password.

  4. Put SMB behind a tunnel

    Set up WireGuard, then let port 445 accept connections only from the tunnel's addresses. Restart Samba with systemctl restart smbd.

  5. Connect from the Mac

    With the tunnel up, open Finder, choose Go, then Connect to Server, and enter smb://10.8.0.1/timemachine. Then pick the share in System Settings, General, Time Machine.

  6. Turn on encryption

    Choose Encrypt Backup when you add the disk. Keep the password safe: Apple says it is needed to restore.

Should I open SMB to the internet?

No. Microsoft's guidance on blocking SMB ports says it is unlikely that any SMB traffic coming from the internet is legitimate, and it advises blocking it at the edge. That holds for Samba on Linux too: port 445 is a target, not a door.

A VPN tunnel solves it. WireGuard needs one UDP port on the server and gives the Mac a private address to reach the share. Samba then answers only through the tunnel, and the backup traffic is encrypted twice: by the tunnel, and by Time Machine's own encryption if you turn it on.

The server side can be encrypted as well. You can encrypt every data drive with LUKS or ZFS native encryption; the keys stay with you and nobody on the team ever asks for them. Unlocking such disks after a reboot, without a console, is covered on how to unlock a LUKS-encrypted rented server remotely.

How long does the first backup take over the internet?

The first backup sends the whole Mac; later ones send only changes. Home upload speed is the limit, not the server's port.

Data to sendAt 20 Mbit/s uploadAt 50 Mbit/sAt 100 Mbit/sAt 1 Gbit/s
250 GB27.8 h11.1 h5.6 h33 min
500 GB55.6 h (2.3 days)22.2 h11.1 h67 min
1 TB111.1 h (4.6 days)44.4 h22.2 h2.2 h
2 TB222.2 h (9.3 days)88.9 h44.4 h4.4 h

Calculated at line rate, not measured: bytes × 8 ÷ bits per second, decimal units. Real transfers run slower. Every hold has a 1 Gbit/s port: Every server has a 1 Gbit/s port with a monthly traffic allowance (Hold 24 40 TB, Hold 40 60 TB, Hold 100 120 TB, Hold 160 200 TB), one dedicated IPv4 address and an IPv6 /64; going past the allowance never triggers an automatic bill.

How much space should I give Time Machine?

Enough for the Mac plus the history you want to keep. Apple's support page of 16 October 2026 describes the schedule: hourly backups for the past 24 hours, daily backups for the past month, and weekly backups for all previous months. When the disk is full, the oldest backups are deleted.

So Time Machine always grows into the space it sees. The cap decides how far back your history goes, not whether backups run.

The smallest hold is enough for several Macs. Hold 24 has 2 × 12 TB HDD, mirrored for 12 TB. Of the 23 storage-server sellers Basalthold checked on 2 November 2026, 16 took crypto.

Which hold fits Time Machine backups?

Hold 24 suits a few Macs; the larger holds take Macs and NAS copies side by side. Terms of 3, 6 and 12 months are on the Basalthold pricing page.

Rental length

Hold 24

24 TB raw · 6 cores

$110.99

3 months $299.67 (−10%)6 months $532.75 (−20%)1 year $932.31 (−30%)

  • 2 × 12 TB hard drives: 24 TB raw, $4.62/TB
  • Intel Xeon E-2176G, 6 cores / 12 threads, 32 GB DDR4 ECC
  • 480 GB SSD for the system
  • 1 Gbit/s port, 40 TB of traffic per 30 days
  • Mangohost: $147.99 a month for Intel Xeon E3-1240 v2, 4 cores / 16 GB / 24 TB of hard drives
Rent this hold

Hold 40

40 TB raw · 6 cores

$201.09

3 months $542.94 (−10%)6 months $965.23 (−20%)1 year $1,689.15 (−30%)

  • 4 × 10 TB hard drives: 40 TB raw, $5.02/TB
  • AMD Ryzen 5 3600, 6 cores / 12 threads, 64 GB DDR4
  • 512 GB NVMe for the system
  • 1 Gbit/s port, 60 TB of traffic per 30 days
  • OffshoreDedi: $268.13 a month for Intel Xeon E5-2620 v3, 6 cores / 64 GB / 40 TB of hard drives
Rent this hold

Hold 100

100 TB raw · 10 cores

$377.05

3 months $1,018.03 (−10%)6 months $1,809.84 (−20%)1 year $3,167.22 (−30%)

  • 10 × 10 TB hard drives: 100 TB raw, $3.77/TB
  • Intel Xeon Silver 4210R, 10 cores / 20 threads, 128 GB DDR4 ECC
  • 2 × 480 GB SSD for the system, mirrored
  • 1 Gbit/s port, 120 TB of traffic per 30 days
  • OffshoreDedi: $502.74 a month for Intel Xeon E5-2670 v3, 12 cores / 128 GB / 100 TB of hard drives
Rent this hold

In every plan: Blank data drives · Encryption keys stay yours · Dedicated IPv4 · No logs · No KYC · No setup fee

What else do people ask about Time Machine on Linux?

Can I still use AFP or Netatalk?

Apple does not recommend Time Machine to a NAS over AFP, and says AFP is not supported in macOS 27 or later. Use SMB with Samba's vfs_fruit module.

Why does Time Machine fill the whole share?

It keeps old backups until the disk is full, then deletes the oldest. Set fruit:time machine max size on the share, and a ZFS quota on its dataset, to stop it.

Can several Macs back up to one server?

Yes. Give each Mac its own share and Samba account, each with its own size cap, so one Mac's history cannot crowd out another's.

Is the backup private on a rented server?

Turn on Encrypt Backup in Time Machine, and encrypt the server's data drives too. How encryption before upload works in other tools is on client-side encryption for backups.

Does Basalthold back up my Mac for me?

No. A storage server is not a backup of itself: we keep no copy of your data anywhere else, so a second copy in another place stays your job. You run Samba and Time Machine; the machine and its drives are yours.

A Time Machine target you control

Hold 24: Intel Xeon E-2176G (6 cores / 12 threads), 32 GB DDR4 ECC, 2 × 12 TB hard drives (24 TB raw) plus 480 GB SSD for the system, 1 Gbit/s port with 40 TB of traffic per 30 days, 1 IPv4 and an IPv6 /64, for $110.99/30 days. Crypto, no KYC.

Sources (5)
  1. Backup disks you can use with Time Machine on Mac — Apple (published 2026-09-14, read 2026-11-02)
  2. Back up your Mac with Time Machine — Apple (published 2026-10-16, read 2026-11-02)
  3. vfs_fruit(8): fruit:time machine and fruit:time machine max size — Samba (read 2026-11-02)
  4. Preventing SMB traffic from lateral connections and entering or leaving the network (KB 3185535) — Microsoft (read 2026-11-02)
  5. WireGuard quick start — WireGuard (read 2026-11-02)

24 TB from $110.99/30 days · no KYC

Choose a hold