> 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/server/de/web-interface/administration/database-retention-policies.md).

# Datenbank-Aufbewahrungsrichtlinien

Richten Sie in Devolutions Server Datenbank-Aufbewahrungsrichtlinien ein, um Protokolle nach konfigurierbaren Zeiträumen automatisch zu archivieren und zu löschen oder sie dauerhaft zu bereinigen.

Die Funktion ***Datenbank-Aufbewahrungsrichtlinien*** ermöglicht das Archivieren der in der Datenbank verfügbaren Protokolle, die älter als der ausgewählte Zeitraum sind. Sie kann diese archivierten Protokolle auch anhand des in den Parametern ausgewählten Zeitlimits löschen.

<table><thead><tr><th width="324">Optionen</th><th>Beschreibungen</th></tr></thead><tbody><tr><td><strong>Automatische Bereinigung aktivieren</strong></td><td>Aktivieren Sie die Funktion zur automatischen Bereinigung von Protokollen, um Protokolle automatisch zu archivieren und zu löschen.</td></tr><tr><td><strong>Täglich ausführen um</strong></td><td>Legen Sie die Zeit fest, zu der die Funktion ausgeführt wird.</td></tr><tr><td><strong>Archivierung verwenden</strong></td><td>Wenn aktiviert, archiviert und löscht der Auftrag Protokolle anhand des in den zwei Dropdown-Listen ausgewählten Zeitraums.</td></tr><tr><td><strong>Protokolle archivieren, die älter sind als</strong></td><td><p>Archiviert Protokolle, die älter als der in der Dropdown-Liste ausgewählte Wert sind.</p><ul><li>Benutzerdefiniert</li><li>Ein Monat</li><li>Drei Monate</li><li>Sechs Monate</li><li>Ein Jahr</li></ul></td></tr><tr><td><strong>Archivierte Protokolle löschen, die älter sind als</strong></td><td><p>Löscht alle archivierten Protokolle, die älter als der in der Dropdown-Liste ausgewählte Wert sind.</p><ul><li>Drei Monate</li><li>Sechs Monate</li><li>Ein Jahr</li><li>Zwei Jahre</li></ul></td></tr><tr><td><strong>Archivierung überspringen und dauerhaft löschen</strong></td><td>Wenn aktiviert, werden die Protokolle nicht archiviert, sondern dauerhaft gelöscht.</td></tr><tr><td><strong>Protokolle löschen, die älter sind als</strong></td><td><p>Löscht alle Protokolle dauerhaft, die älter als der in der Dropdown-Liste ausgewählte Wert sind.</p><ul><li>Benutzerdefiniert</li><li>Ein Monat</li><li>Drei Monate</li><li>Sechs Monate</li><li>Ein Jahr</li><li>Zwei Jahre</li></ul></td></tr><tr><td><strong>Erweitert</strong></td><td>Die <a href="/server/de/web-interface/administration/database-retention-policies.md">erweiterte</a> Konfiguration dient zum Einrichten der Archivierungs- und Löschvorgänge für jeden Protokolltyp.</td></tr></tbody></table>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devolutions.net/server/de/web-interface/administration/database-retention-policies.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
