使用smb 作为mac 的time machine 磁盘
技术 SMB Time Machine 26

使用smb 作为mac 的time machine 磁盘

samba 配置

配置文件:/etc/samba/samba.conf

  1. 在需要作为网络磁盘的share 部分 增加以下配置
[TimeMachineBackup]
vfs objects = fruit streams_xattr # 如果已在global 部分有了 则可以不要

fruit:time machine = yes
#  fruit:time machine max size = SIZE
  1. 测试配置文件 testparam -s
  2. 重启smbd systemctl restart smbd.service

参考:

Configure Samba to Work Better with Mac OS X
vfs_fruit

macOS 配置

macOS 12
地址:系统偏好设置->共享->文件共享

  1. 打开“文件共享”。
  2. 在“共享文件夹”列表中,添加刚添加的smb 地址

参考:

在 Mac 上使用时间机器备份至共享文件夹

使用smb 作为mac 的time machine 磁盘
https://halo.persipa.site/2023/0305
作者
Persipa
发布于
更新于
许可