# How to configure Duplicati backups on Storj

**URL:** <https://forum.storj.io/t/how-to-configure-duplicati-backups-on-storj/18623>\
**Category:** troubleshooting\
**Tags:** docker, duplicati\
**Created:** [June 4, 2022, 10:04pm UTC](https://forum.storj.io/t/how-to-configure-duplicati-backups-on-storj/18623 "2022-06-04T22:04:48Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mr.Y](https://storj.bcdn.literatehosting.com/letter_avatar/mr.y/32/5_5575768a8748004e209b776fc1b2916d.png) [@Mr.Y](https://forum.storj.io/u/Mr.Y)\
**Post date:** [June 4, 2022, 10:04pm UTC](https://forum.storj.io/t/how-to-configure-duplicati-backups-on-storj/18623/1 "2022-06-04T22:04:48Z")

</div>

How to configure Duplicati backups on Storj

I wanted to store some backups made with duplicati on Storj, so I created a bucket in my storj account, then created an access grant for that bucket (propmting the bucket passphrase when he asked for a passphrase) and finally tried to configure Duplicati to use that location for backups, but when I run the connection test I get the following error

```auto
Failed to connect: The type initializer for 'uplink.SWIG.storj_uplinkPINVOKE' threw an exception.

```

This happens both if I choose the `Access Grant` authentication method (which seems the more reasonable one to me) and if I choose the `API Key` one.

What am I doing wrong? and how can I configure it correctly?

---

<div class="post-metadata">

**Author:** ![nerdatwork](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/nerdatwork/32/1135_2.png) [@nerdatwork](https://forum.storj.io/u/nerdatwork)\
**Post date:** [June 5, 2022, 12:23am UTC](https://forum.storj.io/t/how-to-configure-duplicati-backups-on-storj/18623/2 "2022-06-05T00:23:03Z")

</div>

Welcome to the **forum** @Mr.Y !

Have you read the documentation ?

> **[Backup With Duplicati](https://docs.storj.io/dcs/how-tos/backup-with-duplicati/)**
>
> An overview around how to backup with Duplicati

---

<div class="post-metadata">

**Author:** ![Mr.Y](https://storj.bcdn.literatehosting.com/letter_avatar/mr.y/32/5_5575768a8748004e209b776fc1b2916d.png) [@Mr.Y](https://forum.storj.io/u/Mr.Y)\
**Post date:** [June 5, 2022, 7:20am UTC](https://forum.storj.io/t/how-to-configure-duplicati-backups-on-storj/18623/3 "2022-06-05T07:20:49Z")

</div>

Yes but, ad explained in my first post, I followed those steps and I don’t know why I get that errore…

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [June 5, 2022, 11:45am UTC](https://forum.storj.io/t/how-to-configure-duplicati-backups-on-storj/18623/4 "2022-06-05T11:45:49Z")

</div>

What’s version of Duplicati?  
I checked, it works on Duplicati - 2.0.6.3\_beta\_2021-06-17

---

<div class="post-metadata">

**Author:** ![Mr.Y](https://storj.bcdn.literatehosting.com/letter_avatar/mr.y/32/5_5575768a8748004e209b776fc1b2916d.png) [@Mr.Y](https://forum.storj.io/u/Mr.Y)\
**Post date:** [June 5, 2022, 12:50pm UTC](https://forum.storj.io/t/how-to-configure-duplicati-backups-on-storj/18623/5 "2022-06-05T12:50:06Z")

</div>

I was using the `:latest` version from [linuxserver.io](http://linuxserver.io) (which should correspond to the beta one) and now I tried to switch to their `:development ` version (which correspond to the _canary_ one but with the same results ☹

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [June 5, 2022, 2:56pm UTC](https://forum.storj.io/t/how-to-configure-duplicati-backups-on-storj/18623/6 "2022-06-05T14:56:20Z")

</div>

I used this one:

```auto
docker pull duplicati/duplicati
Using default tag: latest
latest: Pulling from duplicati/duplicati
Digest: sha256:22f5231c3a36979750d10bc8df7fbbb7b112c9fca76d85288fa8e90afb6c9635
Status: Image is up to date for duplicati/duplicati:latest
docker.io/duplicati/duplicati:latest

```

Could it be possible, that you have an outbound rules in your firewall? Because native integration uses p2p connections to many nodes across the globe with different IPs and ports. There is no “standard” port or address.  
So, if you have such rules, please either disable them or create another one to allow any outgoing connections from your server to any host and port.

---

<div class="post-metadata">

**Author:** ![Mr.Y](https://storj.bcdn.literatehosting.com/letter_avatar/mr.y/32/5_5575768a8748004e209b776fc1b2916d.png) [@Mr.Y](https://forum.storj.io/u/Mr.Y)\
**Post date:** [June 16, 2022, 11:38pm UTC](https://forum.storj.io/t/how-to-configure-duplicati-backups-on-storj/18623/7 "2022-06-16T23:38:03Z")

</div>

It seems to be a problem with [linuxserver.io](http://linuxserver.io) container image…  
I tried with the official one (that I wasn’t aware of because I was following an older YT tutorial) and it works properly
