# Database & Media

This feature allows you to replace your instance database/media with database/media from another instance. It is useful for setting up testing environments.&#x20;

{% hint style="info" %}
Note that your current database/media on this instance will be removed and the database/media from the selected instance will be fully imported.
{% endhint %}

To access, navigate to the **User Portal → Project → Selected Instance → Application Management → Database & Media**.

![](/files/DsOn6YSOzqiitTa5Zotw)

{% hint style="warning" %}
Be aware that the encryption key will be moved with the database as well. This can affect the security of the source instance.
{% endhint %}

If database schema and data migration versions differ from those that are defined in the code, your Magento 2 instance will experience downtime until those versions are synced.

After the database is replaced, you need to manually replace the base URLs in the destination instance database because they will have the values of the source instance database.


---

# 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://help.readymage.com/application-management/database-and-media.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.
