# How to use ConfigurationImporter.exe on linux

**URL:** <https://forum.duplicati.com/t/how-to-use-configurationimporter-exe-on-linux/13589>\
**Category:** Uncategorized\
**Created:** [December 15, 2021, 6:02pm UTC](https://forum.duplicati.com/t/how-to-use-configurationimporter-exe-on-linux/13589 "2021-12-15T18:02:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pcranston](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/p/dfb087/32.png) [@pcranston](https://forum.duplicati.com/u/pcranston)\
**Post date:** [December 15, 2021, 6:02pm UTC](https://forum.duplicati.com/t/how-to-use-configurationimporter-exe-on-linux/13589/1 "2021-12-15T18:02:52Z")

</div>

I’m attempting to import a configuration via the command line tools on Ubuntu. The documentation gives instructions on how to run the ConfigurationImporter.exe tool, but the instructions given appear to be for Windows. How would I run the ConfigurationImporter tool on Linux.

Sample command from manual

======  
ConfigurationImporter.exe C:\backup-config.json --import-metadata=false --server-datafolder=

======

---

<div class="post-metadata">

**Author:** ![drwtsn32](https://forum.duplicati.com/user_avatar/forum.duplicati.com/drwtsn32/32/2591_2.png) [@drwtsn32](https://forum.duplicati.com/u/drwtsn32)\
**Post date:** [December 15, 2021, 9:59pm UTC](https://forum.duplicati.com/t/how-to-use-configurationimporter-exe-on-linux/13589/2 "2021-12-15T21:59:56Z")

</div>

On Linux you can run the ‘exe’ files by using mono:

```
$ mono ConfigurationImporter.exe ....

```

---

<div class="post-metadata">

**Author:** ![pcranston](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/p/dfb087/32.png) [@pcranston](https://forum.duplicati.com/u/pcranston)\
**Post date:** [December 16, 2021, 6:21pm UTC](https://forum.duplicati.com/t/how-to-use-configurationimporter-exe-on-linux/13589/3 "2021-12-16T18:21:15Z")

</div>

Tried that and get this error

```
Cannot open assembly 'ConfigurationImporter.exe': No such file or directory.

```

Seems like I need to point it to the path where ConfigurationImporter.exe is located but I can’t seem to locate that.

---

<div class="post-metadata">

**Author:** ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)\
**Post date:** [December 16, 2021, 8:51pm UTC](https://forum.duplicati.com/t/how-to-use-configurationimporter-exe-on-linux/13589/4 "2021-12-16T20:51:34Z")

</div>

> [@pcranston](#):
>
> I can’t seem to locate that.

Try `Duplicati.CommandLine.ConfigurationImporter.exe`

It looks like [Duplicati.CommandLine.ConfigurationImporter.exe](https://duplicati.readthedocs.io/en/latest/07-other-command-line-utilities/#duplicaticommandlineconfigurationimporterexe) manual example gave the short name, probably thrown off by the program itself using the short name, likely due to [nameof](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/operators/nameof) working that way.

> the produced name is not [fully qualified](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/language-specification/basic-concepts#fully-qualified-names).

```plaintext
$ mono Duplicati.CommandLine.ConfigurationImporter.exe
Unhandled Exception:
System.ArgumentException: Incorrect number of input arguments. Usage: ConfigurationImporter.exe <configuration-file> --import-metadata=(true | false) --server-datafolder=<folder containing Duplicati-server.sqlite>
  at Duplicati.CommandLine.ConfigurationImporter.ConfigurationImporter.Main (System.String[] args) [0x0001b] in <d088263afbc744c4b03d1a66813c5da0>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: Incorrect number of input arguments. Usage: ConfigurationImporter.exe <configuration-file> --import-metadata=(true | false) --server-datafolder=<folder containing Duplicati-server.sqlite>
  at Duplicati.CommandLine.ConfigurationImporter.ConfigurationImporter.Main (System.String[] args) [0x0001b] in <d088263afbc744c4b03d1a66813c5da0>:0 
$ 

```

> <https://github.com/duplicati/duplicati/blob/a4a02ff884d59a964a0a9d9cdc3945db0560c8e6/Duplicati/CommandLine/ConfigurationImporter/Program.cs#L23-L27>

Looks to me like this deserves an [Issue](https://github.com/duplicati/duplicati/issues/) about the program mis-identifying itself, regardless of cause.
