尝试告诉 Time Machine 使用外部服务器作为备份驱动器时出现 OSStatus-Error

303*_*303 3 samba smb time-machine raspberry-pi macos

我想使用 Raspberry Pi 3 作为我使用 Time Machine 的 Mac 的备份驱动器。因此我

  1. 安装了 Samba 4.8.0,它应该能够被 Time Machine 备份软件根据他们的错误跟踪器连接到。
  2. 通过sudo systemctl enable smbd. sudo systemctl status smbd状态的输出Active: active (running)
  3. 尝试了许多示例配置,/etc/samba/smbd.configthisthisthisthisthis

尝试将 Time Machine 连接到 Samba 共享时,在成功提供我的登录详细信息后,总是出现以下错误消息:

错误信息

它翻译成:

Time Machine 无法连接到备份卷。

操作无法完成。(OSStatus 错误 -1073741275。)

https://www.osstatus.com/不知道 OSStatus 错误,老实说,它看起来更像是错误溢出而不是有效的错误代码。(几乎是 -2^30。)

此错误的原因可能是什么,我该如何解决?

我正在使用:

  • macOS 10.13.5
  • Linux 树莓派 4.9.35-v7+
  • 桑巴 4.8.0

小智 5

您需要打开 samba 日志记录以查看详细错误。对我来说,这个错误意味着我的 avahi 广告名称与我的 samba 共享名称不同。在 smb.conf 中

## Definde your shares here
[TimeMachine Home]
Run Code Online (Sandbox Code Playgroud)

在 avahi 服务定义中:

 <service>
   <type>_adisk._tcp</type>
   <txt-record>sys=waMa=0,adVF=0x100</txt-record>
   <txt-record>dk0=adVN=TimeMachine Home,adVF=0x82</txt-record>
 </service>
Run Code Online (Sandbox Code Playgroud)

上面配置中的“TimeMachine Home”字符串。

配置参考:https : //www.reddit.com/r/homelab/comments/83vkaz/howto_make_time_machine_backups_on_a_samba/