# Duplicati deadlocks itself

**URL:** <https://forum.duplicati.com/t/duplicati-deadlocks-itself/11318>\
**Category:** Support\
**Tags:** bug\
**Created:** [December 11, 2020, 2:29pm UTC](https://forum.duplicati.com/t/duplicati-deadlocks-itself/11318 "2020-12-11T14:29:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shalmirane](https://forum.duplicati.com/user_avatar/forum.duplicati.com/shalmirane/32/3202_2.png) [@shalmirane](https://forum.duplicati.com/u/shalmirane)\
**Post date:** [December 11, 2020, 2:29pm UTC](https://forum.duplicati.com/t/duplicati-deadlocks-itself/11318/1 "2020-12-11T14:29:45Z")

</div>

Hi, two of my four backups on local Win10 machine with Duplicati 2.0.5.1\_beta\_2020-01-18 fail, because database is in use by another process. However, that another process is duplicati itself. It basically keeps itself deadlocked by trying to access database it already opened.

Restarting service didn’t helped. Other two backup - and only difference is frequency of saving and paths they backup - run correctly. Exporting backup configuration, deleting it and importing it back also helps, but I kinda hope that is not the solution.

 ![image](https://forum.duplicati.com/uploads/default/original/2X/5/56314977477234ca70fcbc901571d24ea674d285.png)

Can duplicati be told to not deadlock itself?

---

<div class="post-metadata">

**Author:** ![shalmirane](https://forum.duplicati.com/user_avatar/forum.duplicati.com/shalmirane/32/3202_2.png) [@shalmirane](https://forum.duplicati.com/u/shalmirane)\
**Post date:** [December 11, 2020, 2:52pm UTC](https://forum.duplicati.com/t/duplicati-deadlocks-itself/11318/2 "2020-12-11T14:52:52Z")

</div>

Repairing the DB’s seems to help too. Is there auto-repair option I haven’t found?

---

<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, 2020, 9:37pm UTC](https://forum.duplicati.com/t/duplicati-deadlocks-itself/11318/3 "2020-12-15T21:37:25Z")

</div>

> [@shalmirane](#):
>
> because database is in use by another process

Strange. Only time I see this myself is if I try to do a restore operation while a backup is running, for example. I also wonder if you accidentally are running more than one instance of Duplicati and they both have jobs trying to use the same database. Can you run this command from a cmd prompt:

```plaintext
netstat -a -n -o | findstr ":82.0.*LISTEN"

```

Paste the output here.
