# Export all existing configurations

**URL:** <https://forum.duplicati.com/t/export-all-existing-configurations/4228>\
**Category:** Support\
**Created:** [July 28, 2018, 10:28am UTC](https://forum.duplicati.com/t/export-all-existing-configurations/4228 "2018-07-28T10:28:53Z")\
**Posts on this page:** 1\
**Page:** 2

<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:** [January 25, 2025, 9:49pm UTC](https://forum.duplicati.com/t/export-all-existing-configurations/4228/21 "2025-01-25T21:49:41Z")

</div>

Thanks for the updated script! 2.1 adds another method:

> [@Bulk export for all backup configs in 2.0.9?](https://forum.duplicati.com/t/bulk-export-for-all-backup-configs-in-2-0-9/18963/5):
>
> > [@Bulk export for all backup configs in 2.0.9?](https://forum.duplicati.com/t/bulk-export-for-all-backup-configs-in-2-0-9/18963/3):
> >
> > Or if you have a lot configs it would just be nice to save all with a single command.
> 
> I have added an [option to export configs (including bulk) to the server-util command for the next release](https://github.com/duplicati/duplicati/pull/5556).

[ServerUtil](https://docs.duplicati.com/duplicati-programs/command-line-interface-cli-1/serverutil)

```plaintext
C:\Program Files\Duplicati 2>Duplicati.CommandLine.ServerUtil export --help
Description:
  Export a backup configuration

Usage:
  Duplicati.CommandLine.ServerUtil export <backups>... [options]

Arguments:
  <backups> The backup id or name to export, use 'all' to export all backups

Options:
  --encryption-passphrase <encryption-passphrase> The passphrase to use for encrypting the backup configuration []
  --export-passwords Flag toggling the inclusion of sensitive values, such as passwords, defaults to true if a passphrase is supplied []
  --overwrite Flag toggling the overwriting of existing files [default: False]
  --unencrypted Flag toggling unencrypted export of configurations [default: False]
  --destination <destination> The folder where the backup configuration should be exported to [default: C:\Program Files\Duplicati 2]
  --password <password> The password to use for connecting to the server []
  --hosturl <hosturl> The host URL to use [default: http://localhost:8200/]
  --server-datafolder <server-datafolder> The server datafolder to use for locating the database []
  --settings-file <settings-file> The settings file to use []
  --insecure Accepts any TLS/SSL certificate (dangerous) [default: False]
  --settings-encryption-key <settings-encryption-key> The encryption key to use for the settings file. Can also be supplied with environment variable SETTINGS_ENCRYPTION_KEY []
  --secret-provider <secret-provider> The secret provider to use for reading secrets []
  --secret-provider-cache <InMemory|None|Persistent> The secret provider cache to use for reading secrets [default: None]
  --secret-provider-pattern <secret-provider-pattern> The pattern to use for the secret provider [default: $]
  --host-cert <host-cert> The SHA1 hash of the host certificate to accept. Use * for any certificate, same as --insecure (dangerous) []
  -?, -h, --help Show help and usage information

```

[Previous page](https://forum.duplicati.com/t/export-all-existing-configurations/4228.md?page=1)
