Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Configuration "lost" after Windows 10 Anniversary Update when running as a service #1950
Duplicati Version: 188.8.131.52
After upgrading to Windows 10 (Version 1607), the Duplicati's configuration while running as a service was lost.
Steps to reproduce
Actual result: The Duplicati configuration goes back to what it is after a fresh install
Screenshots would not be applicable.
A debug log would not be applicable.
The configuration when running as a service using the "System" user is stored in:
The folder is moved to:
during the upgrade. If you run an advaced "Disk Clean", the "c:\windows.old" folder is deleted.
An update to the program could change the default data directory to c:\programdata\Duplicati when running in a non-interactive state (like the WindowsService).
For short term workaround, I'm using the environment variable DUPLICATI_HOME and setting it to a folder that I'm including in my standard backups. This can be done by using the command line:
c:> setx DUPLICATI_HOME c:\programdata\Duplicati /m
It will then have the same configuration for all users on the system. If Duplicati is only running as a service, then that should be fine. If there are multiple users running interactively, then this would probably not be the best solution.
referenced this issue
Apr 12, 2017
I doubt that #2222 is sufficient to fix this - Windows updates seem to clear out the
IMO the Windows service should configure the server to store in
I was just hit by this same problem when I upgraded to the Fall Creators Update. The update wiped out all of my Duplicati settings under C:\Windows\System32\config\systemprofile\AppData\Local\Duplicati
I found a backup of them under C:\windows.old and restored from there.
This seems to be a problem in the Windows 10 Upgrade procedure. The upgrade should take care of preserving the contents of the systemprofile folder, but fails in doing so.