> 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/powershell/de/devolutions-gateway-powershell/legacy-recording-server-migration-tool.md).

# Migrationswerkzeug für den Legacy-Aufzeichnungsserver

Dieses PowerShell-Skript wandelt Sitzungsaufzeichnungsdateien des alten Devolutions-Aufzeichnungsservers in das Sitzungsaufzeichnungsformat von Devolutions Gateway um, sodass Sie migrieren können, ohne frühere Aufzeichnungen zu verlieren. Nachdem die Dateien in das neue Format konvertiert wurden, müssen sie von Devolutions Server neu indexiert werden, damit sie an ihrem neuen Speicherort für die Wiedergabe über Devolutions Gateway gefunden werden können.

Die Neuindexierung ermöglicht die Erkennung von Aufzeichnungen auf der Seite von Devolutions Gateway, sodass die Dateien manuell übertragen und anschließend neu indexiert werden können. Es ist jedoch nicht möglich, die Dateien einfach per Drag-and-Drop in den Ordner zu ziehen; ein bestimmtes Format muss eingehalten werden.

Laden Sie die Datei [MigrateRecordings.ps1](https://github.com/Devolutions/devolutions-gateway/blob/master/tools/legacy-recording/MigrateRecordings.ps1) herunter und führen Sie sie in einem PowerShell-Terminal mit erhöhten Rechten aus, wobei Sie den Ausgabepfad der alten Aufzeichnungen als Parameter angeben:

```powershell
PS > .\MigrateRecordings.ps1 -LegacyPath "C:\inetpub\recording\output"
Migrating recordings to 'C:\ProgramData\Devolutions\Gateway\recordings'
Migrating 7e05bf2d-c97b-44eb-b256-351b3e2ef1f0 (075503d9-d016-496e-b0aa-cab8b020ce2d)
Migrating 2115ab16-308c-4eb4-a871-73bc8fd69022 (0f366b0e-e09d-4f57-b290-779f46fb68fd)
Migrating 479930c5-705a-4051-9edf-bdc2748452a4 (39a7d0ec-339e-4086-8d73-fbf455e1038a)
Migrating 2e3d219b-48a3-432a-b214-f11b8ddaa32e (b3409164-078b-4013-b4f6-9a4663d3df98)
```

Wenn Devolutions Gateway für die Verwendung eines nicht standardmäßigen Speicherorts konfiguriert ist, kann `-RecordingsPath` verwendet werden, um den Standardzielpfad zu überschreiben. Sie können die Migration auch auf einem Computer durchführen, um die Dateien manuell in den Devolutions Gateway-Aufzeichnungspfad auf einem anderen Computer zu kopieren.

{% hint style="info" %}
Eine [Beispieldatei legacy.zip](https://github.com/Devolutions/devolutions-gateway/blob/master/tools/legacy-recording/legacy.zip) mit alten Aufzeichnungen steht als Referenz und zum Testen dieses Skripts zur Verfügung.
{% endhint %}


---

# 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.devolutions.net/powershell/de/devolutions-gateway-powershell/legacy-recording-server-migration-tool.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.
