fruit_pwrite_meta_netatalk: ad_pwrite failed - Time Machine backup over SMB

490 Views Asked by At

I'm trying to use SMB for Time Machine backups. I'm currently using macOS 10.15.5, Samba 4.11.6-Ubuntu and Ubuntu 20.04 LTS.

This is my conf:

[timemachine]
   comment = Time Machine
   path = /mnt/HD/Backup/timemachine
   browseable = yes
   writeable = yes
   create mask = 0600
   directory mask = 0700
   spotlight = yes
   vfs objects = catia fruit streams_xattr
   fruit:aapl = yes
   fruit:time machine = yes
   fruit:time machine max size = 750G

I can successfully register the share as time machine disk but when it tries to backup I get this error:

[2020/07/17 05:53:28.442317,  0] ../../source3/modules/vfs_fruit.c:4637(fruit_pwrite_meta_netatalk)
  fruit_pwrite_meta_netatalk: ad_pwrite [071FEBFA-ACF7-5694-9FB6-A02D91AE7861.sparsebundle:AFP_AfpInfo] failed

If I mount the share via Finder I can successfully create file and folder.

Do you have any clue? Thanks

1

There are 1 best solutions below

1
On

I have a similar issue. Looks like it's a bug in samba, and it's fixed in smb 4.17.5.