# Creating a Database from a Warehouse Export

**URL:** <https://talk.openmrs.org/t/creating-a-database-from-a-warehouse-export/25969>\
**Category:** Implementing\
**Created:** [December 13, 2019, 6:50pm UTC](https://talk.openmrs.org/t/creating-a-database-from-a-warehouse-export/25969 "2019-12-13T18:50:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![slimz](https://talk.openmrs.org/letter_avatar/slimz/32/5_5575768a8748004e209b776fc1b2916d.png) [@slimz](https://talk.openmrs.org/u/slimz)\
**Post date:** [December 13, 2019, 6:50pm UTC](https://talk.openmrs.org/t/creating-a-database-from-a-warehouse-export/25969/1 "2019-12-13T18:50:46Z")

</div>

Hello guys.

I lost my openmrs database folder. However, I have a recent warehouse export.

Is there a way to create an openmrs database from a warehouse export?

Please help…

Thanks.

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [December 14, 2019, 6:28pm UTC](https://talk.openmrs.org/t/creating-a-database-from-a-warehouse-export/25969/2 "2019-12-14T18:28:46Z")

</div>

Do you mean the MySQL openmrs database folder?

---

<div class="post-metadata">

**Author:** ![slimz](https://talk.openmrs.org/letter_avatar/slimz/32/5_5575768a8748004e209b776fc1b2916d.png) [@slimz](https://talk.openmrs.org/u/slimz)\
**Post date:** [December 14, 2019, 9:11pm UTC](https://talk.openmrs.org/t/creating-a-database-from-a-warehouse-export/25969/3 "2019-12-14T21:11:27Z")

</div>

Hi.

So I just started used openmrs recently. Not sure if all openmrs stuff works the same.

So usually, there is a folder called database, which contains all information about a facility.

Updates made on the portal are stored there.

Now, I lost the folder. However, we do warehouse exports weekly (which containts different xml files - users.xml, demographics.xml, etc.)

I dont know if it is possible to create a new database folder using these files.

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [December 18, 2019, 10:50am UTC](https://talk.openmrs.org/t/creating-a-database-from-a-warehouse-export/25969/4 "2019-12-18T10:50:58Z")

</div>

Are you able to connect to your database instance from any database connection tools like MySQL Query Browser?
