GatherWriteMetadata didn't finish properly

Holgar     Mar 21 11:37AM 2018 GUI

"Backup operation returned an error: ERROR Shadow copy creation failed: GatherWriteMetadata didn't finish properly"

Any ideas?

I checked the bucket in B2 and nothing was loaded so it failed.

Log:

2:00- Command duplicacy -background -log backup -stats -threads 4 -vss
2:00- Storage set to b2://BUCKET
2:00- No previous backup found
2:00- Creating a shadow copy for DRIVE
2:01- IVssAsync is pending for more than 60 seconds
2:01-
2:01- Shadow copy creation failed: GatherWriteMetadata didn't finish properly

OS is Windows Server 2012 R2. Drive has about 300gb on it (its a 2TB virtual disk [128gb SDD + 2TB pool])


gchen    Mar 21 10:41PM 2018

Can you try this build: https://acrosync.com/duplicacy/duplicacy_installer_win64_2.1.1.exe

For this build you can set the VSS timeout to any value by adding a registry value under HKCU\Software\Duplicacy\Job\ShadowCopyTimeout (where is the index of the backup job). This registry value should be a string.


Holgar    Mar 22 11:09AM 2018

I'm not super literate in services, etc- so stay with me!

I uninstalled the original build that I downloaded from the website (just using the uninstall wizard).

Then I run as admin to install the build you sent me a link to. I click install for all users... and I get an error:

Error opening file for writing:
C:\Program Files (x86)\Duplicacy\DuplicacyGUI64.exe

Click Abort to stop install,
Retry to try again, or
Ignore to skip this file

I'm going to try and see if the service is still running even after the uninstall? But not sure.


Holgar    Mar 22 11:22AM 2018

OK- so i was able to get past that error by stopping the service (I still can't figure out how to uninstall it...) and deleting the Duplicacy folder with the .exe.

When I say install as service, it tells me it's already installed tho...

Anyway, I get the new 2.1.1 Beta 1 GUI to launch.

I don't see where I can modify the ShadowCopyTimeout. Is that in the GUI or some command line?

I really want this solution to work.....!


gchen    Mar 22 8:27PM 2018

You can run sc delete "Duplicacy Cloud Backup" in an administrator DOS window to uninstall the service.

I would suggest you test with the GUI version first to make sure it works before switching to the service.

ShadowCopyTimeout is a registry value you need to create under HKLU\Software\Duplicacy\Job<n>. I When you run the registry editor you can find this path that corresponds to the particular backup job for which you want to change the timeout.