Tested on Trixie and Bookworm.
Step 2
required dependencies: smbclient should be added (used in step 7.1)
sudo apt install -y samba samba-common-bin avahi-daemon smbclient
Step 2
smbd -b | grep vfs_fruit shows / should show:
vfs_fruit_init
VFS_MODULE_FRUIT does not exist (also grep is case sensitive by default) The automated installation script fails at this point, will create another issue for that.
Step 3.5
nofail should be added in fstab otherwise boot will fail if disk is not present. Had this happen because I mixed up UUID’s.
UUID=your-uuid-here /mnt/timecapsule ext4 defaults,noatime,nofail 0 2
Step 4.3
in smb.conf eth0 should be stated instead of 192.168.1.0/24. A timeout and error will occur if network 192.x.x.x. is not available
# Network
interfaces = 127.0.0.1 eth0
Step 4.5
Clarification needed:
sudo systemctl restart smbd nmbd # To restart samba now
sudo systemctl enable smbd nmbd # To start samba at boot
Step 5.2
Clarification needed:
sudo systemctl restart avahi-daemon # To restart avahi now
sudo systemctl enable avahi-daemon # To start avahi at boot
Step 7.1
smbclient is not installed by default, this can be done in step 2 see above
Step 8
6. Recent macOS does not ask to remember password in keychain
Step 8.2
Because of an issue with macOS, backups fail on my Sequoia 15.7.5. Read this bug got introduced in 15.7.3(?).
Grabbed my spare laptop on 15.5 and it worked immediately. Also Tahoe (from version 26.4?) has this issue.
error on 15.7.5:

Your guide was very helpful and I learned a lot.
Tested on Trixie and Bookworm.
Step 2
required dependencies: smbclient should be added (used in step 7.1)
sudo apt install -y samba samba-common-bin avahi-daemon smbclientStep 2
smbd -b | grep vfs_fruitshows / should show:vfs_fruit_initVFS_MODULE_FRUIT does not exist (also grep is case sensitive by default) The automated installation script fails at this point, will create another issue for that.
Step 3.5
nofail should be added in fstab otherwise boot will fail if disk is not present. Had this happen because I mixed up UUID’s.
UUID=your-uuid-here /mnt/timecapsule ext4 defaults,noatime,nofail 0 2Step 4.3
in smb.conf eth0 should be stated instead of 192.168.1.0/24. A timeout and error will occur if network 192.x.x.x. is not available
Step 4.5
Clarification needed:
Step 5.2
Clarification needed:
Step 7.1
smbclient is not installed by default, this can be done in step 2 see above
Step 8
6. Recent macOS does not ask to remember password in keychain
Step 8.2
Because of an issue with macOS, backups fail on my Sequoia 15.7.5. Read this bug got introduced in 15.7.3(?).
Grabbed my spare laptop on 15.5 and it worked immediately. Also Tahoe (from version 26.4?) has this issue.
error on 15.7.5:

Your guide was very helpful and I learned a lot.