> For the complete documentation index, see [llms.txt](https://docs.rmhpos.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rmhpos.com/installation/install-store-manager-single-store/installation-sm-create-store-db.md).

# (Optional) Create a new store database

1. In **Store Administrator**, on the **Database** menu, click **Create**.

<div align="left"><img src="/files/1SARK91oJZVnMAr8eAHU" alt=""></div>

2. Click **Next**.

<div align="left"><img src="/files/BT0omEpIlpS2CMYGnygG" alt=""></div>

3. On the **Database Size** screen:
   1. In the **Database name** field, type a name for your store database.
   2. Do not change the **Initial Size (MB)** field. This just sets the initial size of the store database.
   3. Click **Next**.

<div align="left"><img src="/files/IZN7mVfZIW6VSwF8E5DD" alt=""></div>

4. On the **Database Growth** screen, accept the defaults and click **Next**. The store database size will automatically increase as required.

<div align="left"><img src="/files/pAFOsy1LllTunl5q4irQ" alt=""></div>

5. On the **Populate Database** screen:
   1. Click the **Browse** icon.
   2. Select a database backup file.
   3. Click **Open**.
   4. Click **Next**.

{% hint style="info" %}
You can select any Store Manager database backup file, including the **rmhdb.bck** or **rmhsample.bck** databases located under **C:\Program Files (x86)\Retail Hero\RMH Store Manager\DBFiles**.
{% endhint %}

<div align="left"><img src="/files/k1LnO9dBtwA62M9tCLbS" alt=""></div>

6. Click **Finish**.

<div align="left"><img src="/files/cuW0q2gHbZHNv5WLIbeB" alt=""></div>

7. Wait while Store Administrator restores the backup. This may take a few minutes.

<div align="left"><img src="/files/3rhuWCbOh0xgc7vIgglM" alt=""></div>

8. Click **OK** when the restore is complete.

<div align="left"><img src="/files/vJl0LRlBvx393IGLEx6g" alt=""></div>

9. Click **OK** when the database creation is complete.

<div align="left"><img src="/files/y2ue3JgCtuLj6MbBO3r9" alt=""></div>

{% hint style="info" %}
To switch to the new database, click **Configuration**, enter the database name in the **Database** field, click **Test Database Connection**, and if the connection is successful, click **Save And Close**.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.rmhpos.com/installation/install-store-manager-single-store/installation-sm-create-store-db.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
