Since installing unraid and replacing an older system I have been scouring the forums to find out how to get Apple TimeMachine working correctly with UnRAID. I have lots of issues with connecting to TimeMachine, errors in the back up or more recently that my Mac's keep telling me my backup disk has a new identity and needs to create a new backup, this taking about 24hours or so for the initial one and needing to redo it a few times a week is painful.
Well from some help via this forum and YouTube I found a working solution to this. Its most definitely using disk shares instead of user shares that's the key.
Here is how it got it working perfectly on my 2 Macs in my home.
First you really should dedicate a single disk for this purpose as we will be using Disk Shares not user shares.
Prep:
_________________________________________________________________________________________________________________________________________________________________
For my purpose I set all shares to exclude disk8 (5TB) to dedicate for my two Mac's (a Mac Mini with 2x1TB SSD's and a Macbook Air with 256GB of SSD space)
I deleted my TimeMachine user share and made sure my disks shares were being exported on the Tower/Main screen. (v6.3.5) ---- Method of Procedure: with array stopped head to Settings-->Global Share Settings and make sure Enable Disk Shares is set to Yes, then start the array.
Next I had about 2.5TB on the Drive so used the docker contain Krusader and ssh via terminal to move the contents to the appropriate folders on other disks.
_________________________________________________________________________________________________________________________________________________________________
Setup:
Once the disk was empty it was time to set Timemachine up. Head over to the Shares tab, click on the disk# you are going to use and not a share name
make sure Export is set to Yes (TimeMachine) and Security is Secure (TimeMachine wont backup to public shares/disks over a network)
make sure to give your user read/write access
Mount the Disk on your Mac with cmd-K then use type afp://username:password@serverIP/disk# and connect (in my case is used disk8)
On your Mac:
Open Preferences and TimeMachine
connect to the disk you just mounted it should also be detected if you didn't mount it but I always mount it to know i can access it.
Start a Backup once Timemachine accepts your disk and is scheduling a backup.
I found my backup started but failed after about 20min or so. but i noticed I have a new Usershare named after my computers name with the .sparsebundle attached
Resolving the Backup Error:
_________________________________________________________________________________________________________________________________________________________________
Click on the new User Share with the .sparsebundle on its name.
Change the Allocation Method to High Water
I chose not to use the Cache drive as i only have 512GB and my initial backup was over 1TB but feel free to use it or turn it on after the initial backup completes.
under the Security Settings leave it all as default
Thats It both my Mac's connect and backup without error now and I couldn't be happier