> 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/store-manager/configure-pos-and-store-manager/offline-database/administrator-configuring-offline-db.md).

# Configure the offline database

1. (Recommended) Install Microsoft SQL Server Express on the same computer as POS.
2. Attach the empty offline database **rmhdb.bck**. The offline database is usually available under **C:\Program Files (x86)\Retail Hero\RMH Store Manager\DBFiles**.
3. Start **Store Administrator** on the computer where POS is installed. The shortcut should be available on the desktop.
4. Click **Configuration**.
5. Click the **Offline** tab.
6. In the **Server Name** field, type the host name of the computer where you installed SQL Server Express, a backwards slash, and the name of the SQL Server instance.

{% hint style="info" %}
If you installed SQL Server Express on the same computer as POS, you can use a period, (local), or localhost for the host name. The SQL Server instance cannot be the same as the SQL Server instance for the store database.
{% endhint %}

7. In the **Database** field, type the name of the empty offline database.

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

8. Select **Use SQL Server Authentication**.
9. Enter the **User name** and **Password**.
10. Click **Test Database Connection**. You should see the message **Database successfully connected**.
11. Click **Save And Close**.
12. Open **POS**.
13. Print the **Z Report** to close the batch at the register. The Z Report synchronizes data from the store database to the offline database, and vice versa.


---

# 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/store-manager/configure-pos-and-store-manager/offline-database/administrator-configuring-offline-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.
