# Fix corrupted index files and malformed database disk image

**URL:** https://forum.duplicati.com/t/fix-corrupted-index-files-and-malformed-database-disk-image/14807
**Category:** Support
**Created:** [August 6, 2022, 9:40am UTC](https://forum.duplicati.com/t/fix-corrupted-index-files-and-malformed-database-disk-image/14807 "2022-08-06T09:40:38Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![StefanBrand](https://forum.duplicati.com/user_avatar/forum.duplicati.com/stefanbrand/32/7359_2.png) [@StefanBrand](https://forum.duplicati.com/u/StefanBrand)
#### Post date: [August 8, 2022, 8:28am UTC](https://forum.duplicati.com/t/fix-corrupted-index-files-and-malformed-database-disk-image/14807/4 "2022-08-08T08:28:54Z")

</div>

First off, thanks for the welcome in the other topic! 🙂

> [@How to restore a single folder via CLI?](https://forum.duplicati.com/t/how-to-restore-a-single-folder-via-cli/14801/5):
>
> Welcome to the forums StefanBrand.

* * *

> [@JimboJones](#):
>
> How and why are you backing up the DB in the first place?

This I was wondering myself. 🤔 The database resides in `HOME/.config/Duplicati` and since I am backing up `HOME`, it slid into the backup unnoticed. Up to now I have never had problems and even did not know that there was a database and where it was stored. Possibly quite ignorant from my side… 😉

So I will now move the database outside of the backed-up directories. 🙂 Thanks for the hint!

---

_[View the full topic](https://forum.duplicati.com/t/fix-corrupted-index-files-and-malformed-database-disk-image/14807)._
