> For the complete documentation index, see [llms.txt](https://docs.soraco.co/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.soraco.co/docs/qlm-license-server/how-to-replicate-the-qlm-database-to-a-dr-site.md).

# How to replicate the QLM database to a DR site

When configuring a License Server Site in the QLM Console, you can configure a disaster recovery (DR) site where your data will be replicated. The DR site can take over processing requests should the primary site fail. To configure a DR site, you must:

1. Install the QLM License Server on the DR server. Note that the License Server  on the DR site must have the same CommunicationEncryptionKey and AdminEncryptionKey as the primary site.
2. Install the QLM database on the DR server
3. Edit the web service profile in the QLM Console and add a URL to the QLM DR Site.

* Go to the Manage Keys tab
* Click Sites and select your profile
* In the Disaster Recovery Site field, enter the URL to the DR site.
* Click the Test button to verify that the site is reachable.

Once the web service is setup, setup a backup job as described below:

1. Go to the Backup tab then click on "Create Backup".
2. Enter a name for the backup
3. Select the License Server profile associated to your site.
4. Set the schedule to Run every 1 day, or as often as required.
5. Check the "Auto Restore option"
6. Check the "Always Backup Primary Site" option

Once the above steps are completed, all keys stored on the primary site will be replicated to the DR site.


---

# 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.soraco.co/docs/qlm-license-server/how-to-replicate-the-qlm-database-to-a-dr-site.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.
