> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/rdm/knowledge-base/how-to-articles/data-migration.md).

# Data migration

{% hint style="warning" %}
For security, usability, and efficiency reasons, multiple workspaces are tagged as \[deprecated]\(<https://docs.devolutions.net/rdm/kb/knowledge-base/deprecated-workspaces/>) in Remote Desktop Manager.
{% endhint %}

Here are the steps to follow when copying data from one workspace to another. The migration is an export of your original workspace followed by an import in the new destination workspace.

If you are using a self-managed RDBMS such as an SQL Server, you can use their management tools to move the database to another server. Please follow [Microsoft's documentation](https://support.microsoft.com/en-us/help/314546/how-to-move-databases-between-computers-that-are-running-sql-server) on how to successfully transfer not only that data, but also the user accounts.

### Export a workspace

1. Select the workspace you wish to export.

   <div data-gb-custom-block data-tag="hint" data-style="warning" class="hint hint-warning"><p>If your workspace contains multiple vaults, you must export each vault separately or use the <em><strong>Export all vaults (.rdx)</strong></em> option in the <em><strong>Administration</strong></em> tab.</p></div>
2. Select ***File*** – ***Export*** – ***Export vault (.rdm)***.
3. For a typical migration, enable the following options:

   * ***Include credentials***: includes the credentials stored in your entries. If disabled, entries will be imported without any credentials.
   * ***Include attachments and documents***: includes all attachments and documents stored in your entries. If disabled, entries will be imported without any attachment or document.
   * ***Encrypt with master key***: adds a layer of security by prompting for a master key when opening the file. Ensure that you do not forget the master key as you will not be able to decrypt the data without it.

   ![](https://cdnweb.devolutions.net/docs/docs_en_kb_KB4541.png)
4. Save the file.

### Import a workspace

1. Validate that your new workspace is created and selected in the ***navigation pane***.
2. Select ***File*** – ***Import*** – ***Import (.rdm)***.
3. Find your previously saved file on your computer, select it, then click ***Open***.
4. In ***Import entries***, select if you wish to ***Import in root***, ***Import in current folder***, or ***Import in specific folder***.

   | Option                    | Description                                                                                                                                                                     |
   | ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
   | Import in root            | Import your entries in the root of your workspace. In other words, the exact same original structure (group, folder, credentials) is kept. It is the recommended import method. |
   | Import in current folder  | Import all your entries under the selected folder of the workspace.                                                                                                             |
   | Import in specific folder | Import all your entries under the specific folder chosen of the workspace.                                                                                                      |

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_kb_KB4543.png" alt=""><figcaption></figcaption></figure>
5. Click ***Ok***.
6. In the next dialog, you are presented with a list of all entries that are in the data file. Select which entry or entries you wish to import or check ***Select all*** to import all of your entries.
7. Press ***Ok*** to complete the process.


---

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

```
GET https://docs.devolutions.net/rdm/knowledge-base/how-to-articles/data-migration.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.
