Hi. I’ve installed 2.1.0.115_canary_2025-04-14
on vanilla Windows Server 2022 for testing purposes using the MSI
installer.
After this when trying to use VSS snapshot policy
= required
, snapshot creation fails. Sure, it fails with auto
as well, and that’s why I didn’t immediately realize it’s broken, because it “seems” to work.
Based on my understanding of the discussions on this forum. I could probably fix this, by installing the vc_redist
package. But to be honest, that shouldn’t be necessary. The key files needed should be already included in the installer.
Any thoughts about this? - Sure, I’ve run with local administrator and highest possible privileged system accounts, and even that won’t change anything. Also the error message is very confusing, module not found, even though it’s in the directory and obviously readable with the rights / permissions I’ve mentioned earlier.
2025-04-16 10:29:06 +03 - [Error-Duplicati.Library.Main.Operation.BackupHandler-FatalError]: Fatal error
Duplicati.Library.Interface.UserInformationException: Failed to create a snapshot: Could not load file or assembly 'C:\Program Files\Duplicati 2\AlphaVSS.x64.dll'. The specified module could not be found.
---> System.IO.FileNotFoundException: Could not load file or assembly 'C:\Program Files\Duplicati 2\AlphaVSS.x64.dll'. The specified module could not be found.
File name: 'C:\Program Files\Duplicati 2\AlphaVSS.x64.dll'
at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath)
at Alphaleonis.Win32.Vss.VssFactoryProvider.DefaultVssAssemblyResolver.LoadAssembly(AssemblyName assemblyName)
at Alphaleonis.Win32.Vss.VssFactoryProvider.LoadAssembly()
at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
at System.Lazy`1.CreateValue()
at Alphaleonis.Win32.Vss.VssFactoryProvider.GetVssFactory()
at Duplicati.Library.Snapshots.Windows.AlphaVssBackup.CreateVssBackupComponents()
at Duplicati.Library.Snapshots.Windows.AlphaVssBackup.GetVssBackupComponents()
at Duplicati.Library.Snapshots.Windows.AlphaVssBackup.Create()
at Duplicati.Library.Snapshots.Windows.SnapshotManager..ctor(SnapshotProvider provider)
at Duplicati.Library.Snapshots.WindowsSnapshot..ctor(IEnumerable`1 sources, IDictionary`2 options, Boolean followSymlinks)
at Duplicati.Library.Snapshots.SnapshotUtility.CreateWindowsSnapshot(IEnumerable`1 folders, Dictionary`2 options, Boolean followSymlinks)
at Duplicati.Library.Snapshots.SnapshotUtility.CreateSnapshot(IEnumerable`1 paths, Dictionary`2 options, Boolean followSymlinks)
at Duplicati.Library.Main.Operation.BackupHandler.GetFileSnapshotService(IEnumerable`1 sources, Options options)
--- End of inner exception stack trace ---
at Duplicati.Library.Main.Operation.BackupHandler.GetFileSnapshotService(IEnumerable`1 sources, Options options)
at Duplicati.Library.Main.Operation.BackupHandler.GetSourceProviders(IEnumerable`1 sources, Options options, CancellationToken cancellationToken)
at Duplicati.Library.Main.Operation.BackupHandler.GetSourceProvider(IEnumerable`1 sources, Options options, CancellationToken cancellationToken)
at Duplicati.Library.Main.Operation.BackupHandler.RunAsync(String[] sources, IBackendManager backendManager, IFilter filter)
2025-04-16 10:29:07 +03 - [Warning-Duplicati.Library.Main.Backend.BackendManager-BackendManagerShutdown]: Backend manager queue runner did not stop
Should I go and install the vc_redist
? Or should the issue be fixed in the MSI installer?