-
May I suggest looking at one of my previous posts Restic on Windows: Another user trying to exclude directories - #5 by punchcard for things which could be or should be in an exclude file?
-
On most Windows machines there will be a virus checker. You should tell the virus checker to ignore restic.exe because the virus checker will eat cpu cycles and ram trying to monitor what restic is doing.
-
Depending on your own circumstances, you may want to change the “power” setting. If there is no one at the keyboard actively doing things, the machine may go into sleep, or shut off in the middle of the backup. The first backup will be the longest.
-
My personal experience is that installing / using PowerShell 7 is much much better than .bat files.
-
In PowerShell How to set environment variables I find that I need to use “$global:variable_name” then “$env:variable_name” to ensure that the variable is visible to restic. I am not 100% sure this is necessary but it works.
Hope this helps.