My attempt to save C:\Users keeps running into an error. The user with whom I start the backup has administrator rights. In addition, I have granted all rights to C:\Users.
What do I have to change so that restic can back up the folder?
C:\Users\backup>restic --use-fs-snapshot --verbose --iexclude-file "C:\Users\backup\restic\restic_exclude.txt" backup C:\Users
open repository
repository b58d8033 opened successfully, password is correct
lock repository
load index files
using parent snapshot 19660b2c
VSS error: The caller does not have sufficient backup privileges or is not an administrator: E_ACCESSDENIED (0x80070005)
Of course not. But as soon as I used an administrative shell, it worked. Oh man, sometimes you just can’t see the forest for the trees.
Thank you for solving the mystery so quickly, Jim.
Storing restic.exe in System32 is unrelated to running it as Administrator. File system permissions apply based on why runs a program, not based on where that program is stored.