Duplicati is a free, open source, backup client that securely stores encrypted, incremental, compressed backups on cloud storage services and remote file servers. It works with:
$ docker run -p 8200:8200 -v /some/path:/some/path duplicati/duplicati
```
Then, open [http://localhost:8200](http://localhost:8200) on the host to access the Duplicati web interface and configure backups. Any host directory that you want to back up needs to be mounted into the container using the `-v` option.
### Preserving configuration
All configuration is stored in `/data` inside the container, so you can mount a volume at that path to preserve the configuration:
```console
$ docker run --name=duplicati -v duplicati-data:/data duplicati/duplicati
```
This allows you to delete and recreate the container without losing your configuration:
```console
$ docker rm duplicati
$ docker run --name=duplicati -v duplicati-data:/data duplicati/duplicati
```
### Using Duplicati CLI
Run the `duplicati-cli` command to use the Duplicati command-line interface:
```console
$ docker run --rm duplicati/duplicati duplicati-cli help
See duplicati.commandline.exe help <topic> for more information.