Having followed the instructions to run Duplicati as a service, I find that VSS snapshot is not working.
I’ve tried both Local System Account, and a dedicated service account which is member of the local admins group.
The error is logged as
System.UnauthorizedAccessException: Attempted to perform an unauthorized operation.
at Duplicati.Library.Snapshots.WindowsSnapshot…ctor(String sourcepaths, Dictionary`2 options)
at Duplicati.Library.Snapshots.SnapshotUtility.CreateWindowsSnapshot(String folders, Dictionary`2 options)
at Duplicati.Library.Main.Operation.BackupHandler.GetSnapshot(String sources, Options options, ILogWriter log)
at Duplicati.Library.Main.Operation.BackupHandler.Run(String sources, IFilter filter)_
I had VSS working before by launching Duplicati via Run as Administrator, but that does not work with automatic startup and is not recommended so I want to use the service method.
I am running latest Duplicati 2 under Windows 10.