Update 07-other-command-line-utilities.md

Added Duplicati.CommandLine.ConfigurationImporter.exe description.
This commit is contained in:
kees-z 2021-05-03 20:26:11 +02:00 committed by GitHub
parent ff073d7682
commit 16e430c63e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -296,3 +296,15 @@ This command downloads all files to the local folder specified by `<localfolder>
> ![](icon_important.png) Warning: Before recompressing, delete the local database and recreate the local database again after recompressing. Do this before executing any operation on the backup so that Duplicati can read the new file names from remote storage.
*****
## Duplicati.CommandLine.ConfigurationImporter.exe
This adds the ability to import backup configurations from the command-line. This should ease deployments by allowing one to import configurations without starting the web server and interacting with the web interface.
The usage is as follows:
```
ConfigurationImporter.exe <configuration-file> --import-metadata=(true | false) [<advanced-option>]...
```
For example:
```
ConfigurationImporter.exe C:\backup-config.json --import-metadata=false --server-datafolder=<absolute path to folder that contains Duplicati-server.sqlite>
```