# SQL Replication - Best practice

Usual procedure for replication from PRODUCTION to QUALITY/TESTING:

1. Backup User rights from DB QS
2. Full Backup of DB PROD
3. Full Backup of DB QS
4. Overwrite QS DB with data from PROD DB
5. Overwrite User rights on QS DB with previous rights


---

# Agent Instructions: 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:

```
GET https://docs.arkannis.net/database/general-sql/sql-replication-best-practice.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
