使用smb 作为mac 的time machine 磁盘
使用smb 作为mac 的time machine 磁盘
samba 配置
配置文件:/etc/samba/samba.conf
- 在需要作为网络磁盘的share 部分 增加以下配置
[TimeMachineBackup]
vfs objects = fruit streams_xattr # 如果已在global 部分有了 则可以不要
fruit:time machine = yes
# fruit:time machine max size = SIZE
- 测试配置文件
testparam -s
- 重启smbd
systemctl restart smbd.service
参考:
macOS 配置
macOS 12
地址:系统偏好设置->共享->文件共享
- 打开“文件共享”。
- 在“共享文件夹”列表中,添加刚添加的smb 地址
参考:
使用smb 作为mac 的time machine 磁盘
https://halo.persipa.site/2023/0305