I’m using restic 0.18.0 with backrest, on Windows 11. Backing up from an SSD to a mounted SMB share on my NAS. It’s going very slowly. I have already added restic to the windows defender exclusion list.
Looking at the CPU usage it’s basically non-existent so that’s not the bottleneck. Disk usage seems very…intermittent? What’s going on in between there? Is there anything I could do to speed things up?
Those graphs look a lot like the NAS taking a very long time to actually confirm that files have been safely stored on disk. Restic waits for that confirmation to make sure that no data is lost if a backup is interrupted unexpectedly.
I’d expect that increasing the pack size to the maximum of 128, using --pack-size 128 might help with performance. Note that you’ll have to pass that flag to every invocation of restic. (Or just set the environment variable RESTIC_PACK_SIZE).