Using Duplicati with Windows
This page describes common scenarios for configuring Duplicati with Windows
Last updated
Was this helpful?
This page describes common scenarios for configuring Duplicati with Windows
Last updated
Was this helpful?
Before you can install Duplicati, you need to decide on three different parameters:
The type you want: , , , .
You machine CPU type: x64, Arm64, or x86 (32 bit)
To use Duplicati on Windows, you first need to decide which kind of instance you want: GUI (aka ), , , . The section on has more details on each of the different types.
Finally you need to locate information on what CPU architecture you are using:
x64: 64bit Intel or AMD based CPU. This is the most common CPU at this time.
Arm64: 64bit ARM based CPU. Some laptops, tablets and servers use it.
x86: 32bit Intel or AMD based CPU. Note that Windows 10 was the last version to support 32 bit processors.
If you are in doubt, you can try the x64 version, or use .
Once you have decided the on package you want, you are ready to download the package. The default version shown on the main is the x64 GUI version in .msi
format. The full list of packages can be obtained via the main , and then clicking "Other versions".
When running the TrayIcon in a user context, it will create a folder in your home folder, typically C:\Users\<username>\AppData\Local\Duplicati
where it stores the local databases and the Server database with the backup configurations.
If you want to run Duplicati as a Windows Service, you can use the bundled service tool to install/uninstall the service:
When installing the Service it will automatically start, and likewise, uninstalling it will stop the service. If you need to pass options to the server, you can provide them to the INSTALL command:
Note: When running the Windows Service it will default to use port 8200 and fail it that port is not available. If you are running the TrayIcon, that will run a different instance, usually at port 8300. If you want to connect the TrayIcon to the Windows Service, edit the shortcut to Duplicati:
You can also register the Agent, using the Agent executable:
After the Agent has been registered, restart the service and it will now be available on the Duplicati Console.
Using the CLI is simply a matter of invoking the binary:
If you specify the --dbpath
parameter, it will not use the dbconfig.json
file and it will not store anything in the local datafolder.
For users with a desktop environment and no special requirements, the instance is the recommended way to run Duplicati. If you are using the .msi
package to install Duplicati, you will see an option to automatically start Duplicati, as well as create a shortcut on your desktop and in the start menu. If you need to manually start Duplicati, you can find the executable in:
The is a regular executable and can simply be invoked with:
When invoked as a regular user, it will use the same folder, C:\Users\<username>\AppData\Local\Duplicati
, as the and share the configuration.
You can also use the file to pass settings to the Server when running as a service, which allows you to change the settings without the uninstall/install cycle (you still need to restart the service).
With the there is a minimal setup required, which is to register the machine with the Duplicati Console. The default installation is to install the Agent as a Windows Service, meaning it will run in the LocalService system account, instead of the local user. Due to this, it will not be able to open the browser and start the registration process for you. Instead, you must look into the Windows Event Viewer and extract the registration link from there.
If you have a for registering the machine, and would like to automate the process, you can place a file in C:\ProgramData\Duplicati\preload.json
with content similar to:
Since the CLI also needs a local database for each backup, it will use the same location as above to place databases. In addition to this, it will keep a small file called dbconfig.json
in the storage folder where it maps URLs to databases. The intention of this is to avoid manually specifying the --dbpath
parameter on every invocation.
Each package of Duplicati contains a number of support utilities, such as the . Each of these can be invoked from the commandline with their executable name and all contain built-in help. For example, to invoke , run: