Skip to content

Instantly share code, notes, and snippets.

@Zahorone
Last active April 3, 2026 14:58
Show Gist options
  • Select an option

  • Save Zahorone/6915be6f5088edb2f64018ce9e4dfe97 to your computer and use it in GitHub Desktop.

Select an option

Save Zahorone/6915be6f5088edb2f64018ce9e4dfe97 to your computer and use it in GitHub Desktop.
Fix for macOS 26 Tahoe Time Machine SMB backup failing with BACKUP_FAILED_DISCONNECTED_DISK_IMAGE error on Synology, QNAP, TrueNAS, UNAS. nsmb.conf configuration guide.
[default]
signing_required=yes
streams=yes
soft=yes
dir_cache_max_cnt=0
protocol_vers_map=6
mc_prefer_wired=yes
@Zahorone
Copy link
Copy Markdown
Author

Zahorone commented Nov 9, 2025

Verified Solutions for macOS Tahoe Time Machine SMB Issues

  1. Modify SMB Configuration on macOS (Most Common Fix)
    Create or edit the file /etc/nsmb.conf:
sudo nano /etc/nsmb.conf

Add the following lines:

[default]
signing_required=yes
streams=yes
soft=yes
dir_cache_max_cnt=0
protocol_vers_map=6
mc_prefer_wired=yes

Save the file (Ctrl+O, Enter, Ctrl+X), restart your Mac (optionally not necessary), and retry your Time Machine backup.

Explanation: macOS Tahoe changed the default from signing_required=no to stricter control. NAS devices with relaxed SMB settings cannot handle this without explicit configuration.

  1. Remove Non-ASCII Characters from Sparsebundle Name
    If your Mac, NAS, or folder name contains non-ASCII characters (e.g., Peťov MacBook), Time Machine in Tahoe will fail:

Open Disk Utility and mount the sparsebundle

Change the name to pure ASCII characters (no accents or special characters)

Time Machine will then work normally

  1. Configure Settings on Synology/NAS (Not applicable on UNAS devices)
    Navigate to Control Panel > File Services > SMB > Advanced and set:

Maximum SMB protocol: SMB3

Enable Opportunistic Locking: Yes

Enable SMB2 Lease: Yes

Enable SMB Durable Handles: Yes

Server signing: No (or "Auto")

Transport encryption: Disabled

  1. Automounter Workaround (If Nothing Else Works)
    Many users have successfully used the Automounter app to keep SMB connections alive and prevent disconnections during backups.

Summary
The root cause is a compatibility issue between macOS Tahoe 26 and network NAS SMB implementations. These fixes address the SMB signing/encryption handling changes Apple introduced in Tahoe. Start with solution #1 (the /etc/nsmb.conf file) as it's the most effective and universally applicable.

@satmandu
Copy link
Copy Markdown

FYI for Ubuntu users, updating to Ubuntu 26.04/resolute gives you a version of Samba (4.23.x) that is patched for this issue.

@Zahorone
Copy link
Copy Markdown
Author

FYI for Ubuntu users, updating to Ubuntu 26.04/resolute gives you a version of Samba (4.23.x) that is patched for this issue.

Thank you for info.

@randydid
Copy link
Copy Markdown

I have a Ubiquiti UNAS Pro that is fully patched, and the above suggestion did not work for me. No odd ASCII characters in the filename. TM backups are still failing.

@Zahorone
Copy link
Copy Markdown
Author

I have a Ubiquiti UNAS Pro that is fully patched, and the above suggestion did not work for me. No odd ASCII characters in the filename. TM backups are still failing.

It is not problem of UNAS pro but MacOS... I have UNAS Pro. Just Check If you have /etc/nsmb.conf exactly as on picture.

or try step 4

Automounter Workaround (If Nothing Else Works)
Many users have successfully used the Automounter app to keep SMB connections alive and prevent disconnections during backups.

Snímka obrazovky 2026-03-30 o 12 15 40 Snímka obrazovky 2026-03-30 o 12 13 26

@randydid
Copy link
Copy Markdown

As I mentioned, I edited the conf file per instructions above, and it did not fix. I understand it is a macOS issue. I was just stating that my setup happens to be a UNAS, just for background information to help troubleshoot.

@randydid
Copy link
Copy Markdown

randydid commented Apr 3, 2026

I just resolved this by deleting my backup instance in Time Machine Settings and then trashing this plist: /Library/Preferences/com.apple.TimeMachine.plist

I saw references to a machine that I no longer own and migrated from last year in that plist. The system recreated a fresh, clean file, and I was able to continue to back up my system by creating a new backup in TM Settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment