# Recover a local site DB from unbootable drive

**URL:** <https://community.kinsta.com/t/recover-a-local-site-db-from-unbootable-drive/506>\
**Category:** Application Support\
**Created:** [March 17, 2021, 3:52pm UTC](https://community.kinsta.com/t/recover-a-local-site-db-from-unbootable-drive/506 "2021-03-17T15:52:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tmyruski](https://avatars.discourse-cdn.com/v4/letter/t/b5ac83/32.png) [@tmyruski](https://community.kinsta.com/u/tmyruski)\
**Post date:** [March 17, 2021, 3:52pm UTC](https://community.kinsta.com/t/recover-a-local-site-db-from-unbootable-drive/506/1 "2021-03-17T15:52:37Z")

</div>

I was working on creating a site locally, and I had not deployed it yet. I did a routine update of Windows, and the update failed, resulting in an unbootable drive. I backed up the drive to a separate external drive, reinstalled windows, and I’m trying to recover the database from my site. Where is the database stored on disk, so I can set up a new local server, and import it?

---

<div class="post-metadata">

**Author:** ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)\
**Post date:** [March 17, 2021, 4:17pm UTC](https://community.kinsta.com/t/recover-a-local-site-db-from-unbootable-drive/506/2 "2021-03-17T16:17:50Z")

</div>

Hello @tmyruski. Welcome to DevKinsta and thanks for trying it out! Sorry to hear about what happened with your machine. Do you have Docker installed? Do the containers still exist? If so, you might be able to recover them [using this method here](https://community.kinsta.com/t/turning-on-required-windows-features-windows-subsystem-for-linux-wsl-on-windows-10/381/21). The database would be found within the Docker containers. More information on [how Docker stores the data can be found here](https://docs.docker.com/storage/). I hope that helps!

---

<div class="post-metadata">

**Author:** ![tmyruski](https://avatars.discourse-cdn.com/v4/letter/t/b5ac83/32.png) [@tmyruski](https://community.kinsta.com/u/tmyruski)\
**Post date:** [March 22, 2021, 7:00pm UTC](https://community.kinsta.com/t/recover-a-local-site-db-from-unbootable-drive/506/3 "2021-03-22T19:00:51Z")

</div>

My old system files are on an external drive (G:) and docker would be looking on my C: for the containers, so how could I move the containers from G: to C:?

---

<div class="post-metadata">

**Author:** ![GoldyOnline](https://avatars.discourse-cdn.com/v4/letter/g/f17d59/32.png) [@GoldyOnline](https://community.kinsta.com/u/GoldyOnline)\
**Post date:** [March 24, 2021, 6:16pm UTC](https://community.kinsta.com/t/recover-a-local-site-db-from-unbootable-drive/506/4 "2021-03-24T18:16:46Z")

</div>

\wsl$\docker-desktop-data\version-pack-data\community\docker\volumes\devkinsta\_db\_data  
(paste this path in Windows explorer)

Is the location in Windows 10 where the data of the db container can be found.

See also: [What is the best backup approach? - #7 by GoldyOnline](https://community.kinsta.com/t/what-is-the-best-backup-approach/517/7)

Perhaps the info helps you recovering?

---

<div class="post-metadata">

**Author:** ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)\
**Post date:** [April 30, 2021, 4:15pm UTC](https://community.kinsta.com/t/recover-a-local-site-db-from-unbootable-drive/506/5 "2021-04-30T16:15:36Z")

</div>

We haven’t heard back from you on this topic in a while. However, if you do need further assistance you can simply you can start a new conversation. Let us know if you need further assistance! 👋

---

<div class="post-metadata">

**Author:** ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)\
**Post date:** [April 30, 2021, 4:15pm UTC](https://community.kinsta.com/t/recover-a-local-site-db-from-unbootable-drive/506/6 "2021-04-30T16:15:39Z")

</div>


