September 10, 20223 yr Hi all, my TimeMachine Backup is very slow and I don't know why. I am trying to Backup my MacBook Air (2020 model) to my Unraid Server (details below). I even bought a new 4TB harddrive, have updated to V6.10 and followed SpaceInvaders latest video on this. Still very slow, meaning: Backup of my 1TB MBP-SSD which is 500GB filled to my Unraid Server took 4 days to be up to 50%. I don't think it's my network connection as I have an Omada High-Speed Wifi in my house and the Server is directly connected to the router via Ethernet. My Unraid Server details: Mainboard: Gigabyte F2A88XM-D3H Processor: AMD A8-7600 Radeon R7, 10 Compute Cores 4C+6G @ 3100 MHz Memory: 8GB DDR Any ideas what I could do?
November 5, 20223 yr I will make a separate post but I got to the bottom of my Time Machine issues with 6.11.1. And I have all flavors of MacOS backing up properly but I had to redo everything and start all backups from scratch. The trick is to do one by one, not all at the same time. I am backing up 6 different Macs to the same file share. Edit your /boot/config/smb-fruit.conf and make sure you only have these 6 lines: # global parameters are defined in /etc/samba/smb.conf # current per-share Unraid OS defaults fruit:metadata = stream vfs objects = catia fruit streams_xattr fruit:encoding = native fruit:posix_rename = yes Edited November 5, 20223 yr by johnwhicker
November 5, 20223 yr 48 minutes ago, johnwhicker said: Edit your /boot/config/smb-fruit.conf and make sure you only have these 5 lines: # global parameters are defined in /etc/samba/smb.conf # current per-share Unraid OS defaults vfs objects = catia fruit streams_xattr fruit:encoding = native fruit:posix_rename = yes You realize that lines starting with a hashtag (#) are comments which are totally ignored by the software? Many people leave those lines since it makes it much easier to add/remove settings. Just add or remove the hashtag. Also, I have a few more settings enabled- (maybe just one more😁) # global parameters are defined in /etc/rc.d/rc.samba # current per-share Unraid OS defaults vfs objects = catia fruit streams_xattr #fruit:resource = file fruit:metadata = stream #fruit:locking = none fruit:encoding = native #fruit:veto_appledouble = yes fruit:posix_rename = yes #readdir_attr:aapl_rsize = yes #readdir_attr:aapl_finder_info = yes #readdir_attr:aapl_max_access = yes #fruit:wipe_intentionally_left_blank_rfork = no #fruit:delete_empty_adfiles = no #fruit:zero_file_id = no # these are added automatically if TimeMachine enabled for a share: #fruit:time machine #fruit:time machine max size = SIZE Edited November 5, 20223 yr by wgstarks
November 5, 20223 yr Author Hi guys, Thanks for all your answers. My Mac has the newest MacOS Ventura and Unraid is on 6.10.3. I checked the console but I don’t have a /boot/config/smb-fruit.conf file. There is a /boot/config/smb-extra.conf but it is empty.
November 5, 20223 yr See this thread- https://forums.unraid.net/bug-reports/prereleases/macos-optimization-r2087/
November 5, 20223 yr cp /etc/samba/smb-fruit.conf /boot/config Edit your /boot/config/smb-fruit.conf and make sure you only have these 6 lines: # global parameters are defined in /etc/samba/smb.conf # current per-share Unraid OS defaults fruit:metadata = stream vfs objects = catia fruit streams_xattr fruit:encoding = native fruit:posix_rename = yes samba restart
November 5, 20223 yr Author Thanks for the link. There does not exist a /etc/samba/smb-fruit.conf file on my system. However I have created a /boot/config/smb-extra.conf "by hand" now and have added the famous 6 lines. Will try to restart Samba tomorrow (there is another job running currently).
November 6, 20223 yr Author Today I changed rebooted the system but it didn't work. I have checked my smb.conf but it didn't include the smb-fruit.conf. So I added the magic six lines of code to the "smb-extra.conf" file. Now at least the backup started and is running. Says it needs 6 hours from now. Hope it finishes sucessfully.
November 6, 20223 yr 28 minutes ago, sommersohn said: Today I changed rebooted the system but it didn't work. I have checked my smb.conf but it didn't include the smb-fruit.conf. So I added the magic six lines of code to the "smb-extra.conf" file. Now at least the backup started and is running. Says it needs 6 hours from now. Hope it finishes sucessfully. You should probably create the smb-fruit.conf file as described in the link above once the TM backup completes. Be sure to restart your array to apply the changes. Adding the lines of code to smb-extra.conf may allow them to be overwritten due to the order that settings are applied when smb boots.
November 6, 20223 yr Actually, you’ll need to update unRAID to 6.11.1 or above for smb-fruit.conf to work. The current version is 6.11.2.
November 6, 20223 yr Author Well, the backup slows down again. It is already estimated to be ready in more than one day. Will stop it now and try to update to 6.11.2.
November 7, 20223 yr Author Solution It worked! This is the first time since >12 month of trying that a full TimeMachine backup has been sucessfull! Thanks to @wgstarks and @johnwicker for the good tips! Solution: I updated to 6.11.2 and added these lines to my /etc/samba/smb-fruit.conf: # global parameters are defined in /etc/samba/smb.conf # current per-share Unraid OS defaults fruit:metadata = stream vfs objects = catia fruit streams_xattr fruit:encoding = native fruit:posix_rename = yes Edit for a remark: Even if it did work: The Backup of my ca. 600GB to my Unraid system took approx. 20 hours. Edited November 7, 20223 yr by sommersohn
November 8, 20223 yr On 11/7/2022 at 8:38 AM, sommersohn said: It worked! This is the first time since >12 month of trying that a full TimeMachine backup has been sucessfull! Thanks to @wgstarks and @johnwicker for the good tips! Solution: I updated to 6.11.2 and added these lines to my /etc/samba/smb-fruit.conf: # global parameters are defined in /etc/samba/smb.conf # current per-share Unraid OS defaults fruit:metadata = stream vfs objects = catia fruit streams_xattr fruit:encoding = native fruit:posix_rename = yes Edit for a remark: Even if it did work: The Backup of my ca. 600GB to my Unraid system took approx. 20 hours. Glad it worked. It took a lot of trial and error on my end but it was worth. Lest hope the next major upgrade don't break it I have like 6 or 7 Mac's backing up. Just as an FYI I did a full restore in 2 machines make sure the backups are reliable And they were reliable
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.